summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorShengzhou Liu <Shengzhou.Liu@freescale.com>2015-05-19 03:01:52 (GMT)
committerHonghua Yin <Hong-Hua.Yin@freescale.com>2015-05-21 03:18:32 (GMT)
commitaea16084b7cb5e4b7625df0d39dbc7f27ff2f5e9 (patch)
tree6e11fb4a592dd8b9e59d8538b954193dbe566e1c /arch
parent7191bc627c7038611663f90c7dd053733bc5586b (diff)
downloadlinux-fsl-qoriq-aea16084b7cb5e4b7625df0d39dbc7f27ff2f5e9.tar.xz
board/t1023rdb: add ina220 current sense node
Add support for INA220 current sense. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Change-Id: I8a09e9a41219ce5d31bf8744be1552927cd0b302 Reviewed-on: http://git.am.freescale.net:8181/36538 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/t1023rdb.dts10
1 files changed, 10 insertions, 0 deletions
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 {