diff options
author | Tang Yuantian <yuantian.tang@freescale.com> | 2014-01-21 06:31:13 +0400 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-03-20 01:57:25 +0400 |
commit | 5a7c258ef4556c5ba8377b15cf6b58b23b70d44b (patch) | |
tree | 487310fd033d1720e61d89d29fffac59c158bd88 /arch | |
parent | 3cae8016956cc2ddb8217751a7eb538b41a5b5cf (diff) | |
download | linux-5a7c258ef4556c5ba8377b15cf6b58b23b70d44b.tar.xz |
powerpc: T4240: Add ina220 node in dts
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/boot/dts/t4240qds.dts | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/t4240qds.dts b/arch/powerpc/boot/dts/t4240qds.dts index 63e81b010804..97683f6a2936 100644 --- a/arch/powerpc/boot/dts/t4240qds.dts +++ b/arch/powerpc/boot/dts/t4240qds.dts @@ -159,6 +159,48 @@ 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>; + }; + }; }; }; |