powerpc: T4240: Add ina220 node in dts
authorTang Yuantian <yuantian.tang@freescale.com>
Tue, 21 Jan 2014 02:31:13 +0000 (10:31 +0800)
committerScott Wood <scottwood@freescale.com>
Wed, 19 Mar 2014 21:57:25 +0000 (16:57 -0500)
Add power sensor chip ina220 node in dts to support
power monitor

Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/boot/dts/t4240qds.dts

index 63e81b010804f4e552dc14da69632211f2769403..97683f6a29361639f5b6e88efd11a0c69d5480dc 100644 (file)
                                                interrupts = <0x1 0x1 0 0>;
                                        };
                                };
+
+                               i2c@2 {
+                                       #address-cells = <1>;
+                                       #size-cells = <0>;
+                                       reg = <0x2>;
+
+                                       ina220@40 {
+                                               compatible = "ti,ina220";
+                                               reg = <0x40>;
+                                               shunt-resistor = <1000>;
+                                       };
+
+                                       ina220@41 {
+                                               compatible = "ti,ina220";
+                                               reg = <0x41>;
+                                               shunt-resistor = <1000>;
+                                       };
+
+                                       ina220@44 {
+                                               compatible = "ti,ina220";
+                                               reg = <0x44>;
+                                               shunt-resistor = <1000>;
+                                       };
+
+                                       ina220@45 {
+                                               compatible = "ti,ina220";
+                                               reg = <0x45>;
+                                               shunt-resistor = <1000>;
+                                       };
+
+                                       ina220@46 {
+                                               compatible = "ti,ina220";
+                                               reg = <0x46>;
+                                               shunt-resistor = <1000>;
+                                       };
+
+                                       ina220@47 {
+                                               compatible = "ti,ina220";
+                                               reg = <0x47>;
+                                               shunt-resistor = <1000>;
+                                       };
+                               };
                        };
                };