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>
This commit is contained in:
Shengzhou Liu 2015-07-07 14:17:40 +08:00 committed by Scott Wood
parent 295ffb4189
commit 4a6b8a4b20
1 changed files with 6 additions and 0 deletions

View File

@ -114,6 +114,12 @@
reg = <0x4c>;
};
current-sensor@40 {
compatible = "ti,ina220";
reg = <0x40>;
shunt-resistor = <1000>;
};
eeprom@50 {
compatible = "atmel,24c256";
reg = <0x50>;