diff options
author | Yuan Yao <yao.yuan@freescale.com> | 2015-09-16 10:20:43 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2015-10-19 16:45:17 +0200 |
commit | 60f0ea12d59ed366547b0a3fd5b3a76fccb56899 (patch) | |
tree | dff0d2df88df868b9400c47e7621137874e9e9a8 /arch/arm/boot/dts/ls1021a-twr.dts | |
parent | ARM: ls1021a: Add dma-coherent property for eTSEC nodes (diff) | |
download | linux-60f0ea12d59ed366547b0a3fd5b3a76fccb56899.tar.xz linux-60f0ea12d59ed366547b0a3fd5b3a76fccb56899.zip |
ARM: dts: Add node for ina220 on LS1021ATWR
The INA220 monitors both shunt drop and supply voltage.
Signed-off-by: Yuan Yao <yao.yuan@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/ls1021a-twr.dts')
-rw-r--r-- | arch/arm/boot/dts/ls1021a-twr.dts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ls1021a-twr.dts b/arch/arm/boot/dts/ls1021a-twr.dts index e008f9367510..fbb89d13401e 100644 --- a/arch/arm/boot/dts/ls1021a-twr.dts +++ b/arch/arm/boot/dts/ls1021a-twr.dts @@ -144,6 +144,19 @@ &i2c0 { status = "okay"; + + ina220@40 { + compatible = "ti,ina220"; + reg = <0x40>; + shunt-resistor = <1000>; + }; + + ina220@41 { + compatible = "ti,ina220"; + reg = <0x41>; + shunt-resistor = <1000>; + }; + }; &i2c1 { |