From aea16084b7cb5e4b7625df0d39dbc7f27ff2f5e9 Mon Sep 17 00:00:00 2001 From: Shengzhou Liu Date: Tue, 19 May 2015 11:01:52 +0800 Subject: board/t1023rdb: add ina220 current sense node Add support for INA220 current sense. Signed-off-by: Shengzhou Liu Change-Id: I8a09e9a41219ce5d31bf8744be1552927cd0b302 Reviewed-on: http://git.am.freescale.net:8181/36538 Tested-by: Review Code-CDREVIEW Reviewed-by: Xiaobo Xie Reviewed-by: Honghua Yin diff --git a/arch/powerpc/boot/dts/t1023rdb.dts b/arch/powerpc/boot/dts/t1023rdb.dts index 0fd8dc8..7db5093 100644 --- a/arch/powerpc/boot/dts/t1023rdb.dts +++ b/arch/powerpc/boot/dts/t1023rdb.dts @@ -107,7 +107,17 @@ }; i2c@118100 { + ina220@40 { + compatible = "ti,ina220"; + reg = <0x40>; + shunt-resistor = <1000>; + }; + ina220@41 { + compatible = "ti,ina220"; + reg = <0x41>; + shunt-resistor = <1000>; + }; }; fman0: fman@400000 { -- cgit v0.10.2