diff options
author | Tang Yuantian <yuantian.tang@freescale.com> | 2014-01-21 02:31:13 (GMT) |
---|---|---|
committer | Jose Rivera <German.Rivera@freescale.com> | 2014-05-12 23:59:32 (GMT) |
commit | 41170d3fac32e139a539af3a5eea643846cda000 (patch) | |
tree | 4b73f6d0d8b2e7cf33fdba16441a56961e155b1a /arch | |
parent | 31b58c5cb5b366ab9db621188c3ae746503de177 (diff) | |
download | linux-fsl-qoriq-41170d3fac32e139a539af3a5eea643846cda000.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>
Change-Id: I2e250ad72ddc0cf226aabff515b9b0e4e72b3ff6
Reviewed-on: http://git.am.freescale.net:8181/12205
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Hongtao Jia <hongtao.jia@freescale.com>
Reviewed-by: Jose Rivera <German.Rivera@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 abaeb82..b0521ff 100644 --- a/arch/powerpc/boot/dts/t4240qds.dts +++ b/arch/powerpc/boot/dts/t4240qds.dts @@ -366,6 +366,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>; + }; + }; }; }; |