From: Yuan Yao Date: Wed, 16 Sep 2015 08:20:43 +0000 (+0800) Subject: ARM: dts: Add node for ina220 on LS1021ATWR X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=60f0ea12d59ed366547b0a3fd5b3a76fccb56899;p=linux-beck.git ARM: dts: Add node for ina220 on LS1021ATWR The INA220 monitors both shunt drop and supply voltage. Signed-off-by: Yuan Yao Signed-off-by: Shawn Guo --- 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 {