From: Shengzhou Liu Date: Tue, 7 Jul 2015 06:17:40 +0000 (+0800) Subject: powerpc/t1024rdb: add ina220 current sensor node X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=4a6b8a4b20e22e0c170ecd785009fadd7d611e0e;p=deliverable%2Flinux.git powerpc/t1024rdb: add ina220 current sensor node Add support for INA220 current sensor. Signed-off-by: Shengzhou Liu Signed-off-by: Scott Wood --- diff --git a/arch/powerpc/boot/dts/t1024rdb.dts b/arch/powerpc/boot/dts/t1024rdb.dts index 733e723ffed6..bf05e324fda2 100644 --- a/arch/powerpc/boot/dts/t1024rdb.dts +++ b/arch/powerpc/boot/dts/t1024rdb.dts @@ -114,6 +114,12 @@ reg = <0x4c>; }; + current-sensor@40 { + compatible = "ti,ina220"; + reg = <0x40>; + shunt-resistor = <1000>; + }; + eeprom@50 { compatible = "atmel,24c256"; reg = <0x50>;