summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/dts
diff options
context:
space:
mode:
authorShengzhou Liu2015-07-07 08:17:41 +0200
committerScott Wood2015-08-08 05:59:32 +0200
commitadd888d6b2db1c52a273093f741e449cf9a28342 (patch)
tree39d00f4eeb7de97db8c693ef8d51702ac8c00d5f /arch/powerpc/boot/dts
parentpowerpc/t1024rdb: add ina220 current sensor node (diff)
downloadkernel-qcow2-linux-add888d6b2db1c52a273093f741e449cf9a28342.tar.gz
kernel-qcow2-linux-add888d6b2db1c52a273093f741e449cf9a28342.tar.xz
kernel-qcow2-linux-add888d6b2db1c52a273093f741e449cf9a28342.zip
powerpc/t1023rdb: add ina220 current sensor node
Add support for INA220 current sensor. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'arch/powerpc/boot/dts')
-rw-r--r--arch/powerpc/boot/dts/t1023rdb.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/t1023rdb.dts b/arch/powerpc/boot/dts/t1023rdb.dts
index 06b090aba066..aa50885b9212 100644
--- a/arch/powerpc/boot/dts/t1023rdb.dts
+++ b/arch/powerpc/boot/dts/t1023rdb.dts
@@ -99,6 +99,17 @@
};
i2c@118100 {
+ current-sensor@40 {
+ compatible = "ti,ina220";
+ reg = <0x40>;
+ shunt-resistor = <1000>;
+ };
+
+ current-sensor@41 {
+ compatible = "ti,ina220";
+ reg = <0x41>;
+ shunt-resistor = <1000>;
+ };
};
};