]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Add ina226 to zcu104 revC
authorMichal Simek <michal.simek@xilinx.com>
Tue, 29 May 2018 12:45:13 +0000 (14:45 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 31 May 2018 11:50:39 +0000 (13:50 +0200)
Add new ina226 chip present on i2c bus which wasn't on revA.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp-zcu104-revC.dts

index 6e3cf5a97f3e21297a508c8028a7dc5b8c259f85..f3ab99abdc9cacca0c8200803870f9e3f6a09ea5 100644 (file)
                        };
                };
 
-               i2c@4 {
+               i2c@3 {
                        #address-cells = <1>;
                        #size-cells = <0>;
-                       reg = <4>;
+                       reg = <3>;
+                       ina226@40 { /* u183 */
+                               compatible = "ti,ina226";
+                               reg = <0x40>;
+                               shunt-resistor = <5000>;
+                       };
                };
 
                i2c@5 {
                        reg = <7>;
                };
 
-               /* 3, 6 not connected */
+               /* 4, 6 not connected */
        };
 };