summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuan Yao <yao.yuan@freescale.com>2015-07-03 07:49:50 (GMT)
committerZhengxiong Jin <Jason.Jin@freescale.com>2015-07-03 08:21:00 (GMT)
commiteec616d163a4d795d40d7a85fcb0150dcfc3c955 (patch)
tree17638cfed3511f05db21c4c50e3b184aaac6072d
parent3915d655d439f9401faaab8d8213117d9fdf57a3 (diff)
downloadlinux-fsl-qoriq-eec616d163a4d795d40d7a85fcb0150dcfc3c955.tar.xz
arm/dts: Add node for ina220 on LS1021ATWR-Rev
Signed-off-by: Yuan Yao <yao.yuan@freescale.com> Change-Id: Iae6ec5f13ae85e26c2bf50efe55e81d91eba3d8d Reviewed-on: http://git.am.freescale.net:8181/39246 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
-rwxr-xr-xarch/arm/boot/dts/ls1021a-twr.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ls1021a-twr.dts b/arch/arm/boot/dts/ls1021a-twr.dts
index f69e745..845a6fb 100755
--- a/arch/arm/boot/dts/ls1021a-twr.dts
+++ b/arch/arm/boot/dts/ls1021a-twr.dts
@@ -134,6 +134,18 @@
&i2c0 {
status = "okay";
+
+ ina220@40 {
+ compatible = "ti,ina220";
+ reg = <0x40>;
+ shunt-resistor = <1000>;
+ };
+
+ ina220@41 {
+ compatible = "ti,ina220";
+ reg = <0x41>;
+ shunt-resistor = <1000>;
+ };
};
&i2c1 {