From add888d6b2db1c52a273093f741e449cf9a28342 Mon Sep 17 00:00:00 2001 From: Shengzhou Liu Date: Tue, 7 Jul 2015 14:17:41 +0800 Subject: powerpc/t1023rdb: add ina220 current sensor node Add support for INA220 current sensor. Signed-off-by: Shengzhou Liu Signed-off-by: Scott Wood --- arch/powerpc/boot/dts/t1023rdb.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'arch/powerpc/boot') diff --git a/arch/powerpc/boot/dts/t1023rdb.dts b/arch/powerpc/boot/dts/t1023rdb.dts index 06b090aba066..aa50885b9212 100644 --- a/arch/powerpc/boot/dts/t1023rdb.dts +++ b/arch/powerpc/boot/dts/t1023rdb.dts @@ -99,6 +99,17 @@ }; i2c@118100 { + current-sensor@40 { + compatible = "ti,ina220"; + reg = <0x40>; + shunt-resistor = <1000>; + }; + + current-sensor@41 { + compatible = "ti,ina220"; + reg = <0x41>; + shunt-resistor = <1000>; + }; }; }; -- cgit v1.2.3-59-g8ed1b