summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorShengzhou Liu <Shengzhou.Liu@freescale.com>2015-05-19 03:51:53 (GMT)
committerHonghua Yin <Hong-Hua.Yin@freescale.com>2015-05-21 03:18:43 (GMT)
commit7df35d1df29c3a96cc5e4138a98d2a37efcc0d26 (patch)
tree760c525b434a5a85e3132f3734567be58f1ecafd /arch
parentaea16084b7cb5e4b7625df0d39dbc7f27ff2f5e9 (diff)
downloadlinux-fsl-qoriq-7df35d1df29c3a96cc5e4138a98d2a37efcc0d26.tar.xz
t1024rdb/dts: add ina220 current sense node
Add support for INA220 current sense. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Change-Id: I08f12b33f73528abc681bfa34027b28eea9dc45b Reviewed-on: http://git.am.freescale.net:8181/36539 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Xiaobo Xie <X.Xie@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/boot/dts/t1024rdb.dts7
1 files changed, 7 insertions, 0 deletions
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>;