title: How to configure multiple I/O Expander PCF8574a in a device tree?
body: <p>I am currently adding an I/O Expander PCF8574a in my device tree am335x-boneblack.dts. I have two I/O expander, one at 0x38 and another at 0x39. </p>
  
  <p>The code below works fine for a single expander but if I add PCF8574a with address 0x39 in the similar manner, it shows an error.</p>
  
  <pre><code>&amp;i2c1 {
      pinctrl-names = "default";
      pinctrl-0 = &lt;&amp;i2c1_pins_default&gt;;
      status = "okay";
      clock-frequency = &lt;400000&gt;;
  
  pcf8574a: pcf8574a@38 {
      compatible = "nxp,pcf8574a";
      reg = &lt;0x38&gt;;
      gpio-controller;            
      #gpio-cells = &lt;2&gt;;
  };
  </code></pre>
  
  <p>};</p>
  
  <p>Error log :</p>
  
  <blockquote>
    <p>"Duplicate label 'pcf8574a' on /ocp/i2c@4802a000/pcf8574a@39 and /ocp/i2c@4802a000/pcf8574a@38" 
    which I completely understand.</p>
  </blockquote>
  
  <p>But I dont know how to add another node or say sub node to make this work. Any suggestions?</p>