summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorShengzhou Liu <Shengzhou.Liu@freescale.com>2015-07-07 14:17:40 +0800
committerScott Wood <scottwood@freescale.com>2015-08-07 22:59:32 -0500
commit4a6b8a4b20e22e0c170ecd785009fadd7d611e0e (patch)
treed46aecdbc933a7edfe256b5bc9b0a34334a4d675 /arch/powerpc
parent295ffb41896f566d4bd6f93fc230f5d411d373cb (diff)
downloadop-kernel-dev-4a6b8a4b20e22e0c170ecd785009fadd7d611e0e.zip
op-kernel-dev-4a6b8a4b20e22e0c170ecd785009fadd7d611e0e.tar.gz
powerpc/t1024rdb: 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')
-rw-r--r--arch/powerpc/boot/dts/t1024rdb.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/t1024rdb.dts b/arch/powerpc/boot/dts/t1024rdb.dts
index 733e723..bf05e32 100644
--- a/arch/powerpc/boot/dts/t1024rdb.dts
+++ b/arch/powerpc/boot/dts/t1024rdb.dts
@@ -114,6 +114,12 @@
reg = <0x4c>;
};
+ current-sensor@40 {
+ compatible = "ti,ina220";
+ reg = <0x40>;
+ shunt-resistor = <1000>;
+ };
+
eeprom@50 {
compatible = "atmel,24c256";
reg = <0x50>;
OpenPOWER on IntegriCloud