From 60f0ea12d59ed366547b0a3fd5b3a76fccb56899 Mon Sep 17 00:00:00 2001 From: Yuan Yao Date: Wed, 16 Sep 2015 16:20:43 +0800 Subject: [PATCH] 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 --- arch/arm/boot/dts/ls1021a-twr.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 { -- 2.30.2