From 7df35d1df29c3a96cc5e4138a98d2a37efcc0d26 Mon Sep 17 00:00:00 2001 From: Shengzhou Liu Date: Tue, 19 May 2015 11:51:53 +0800 Subject: t1024rdb/dts: add ina220 current sense node Add support for INA220 current sense. Signed-off-by: Shengzhou Liu Change-Id: I08f12b33f73528abc681bfa34027b28eea9dc45b Reviewed-on: http://git.am.freescale.net:8181/36539 Tested-by: Review Code-CDREVIEW Reviewed-by: Xiaobo Xie Reviewed-by: Honghua Yin diff --git a/arch/powerpc/boot/dts/t1024rdb.dts b/arch/powerpc/boot/dts/t1024rdb.dts index af52aeb..559a422 100644 --- a/arch/powerpc/boot/dts/t1024rdb.dts +++ b/arch/powerpc/boot/dts/t1024rdb.dts @@ -126,6 +126,13 @@ reg = <0x4c>; }; + /* INA220 Current Sense */ + ina220@40 { + compatible = "ti,ina220"; + reg = <0x40>; + shunt-resistor = <1000>; + }; + eeprom@50 { compatible = "at24,24c256"; reg = <0x50>; -- cgit v0.10.2