ARM: dts: Add node for ina220 on LS1021ATWR

The INA220 monitors both shunt drop and supply voltage.

Signed-off-by: Yuan Yao <yao.yuan@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Yuan Yao 2015-09-16 16:20:43 +08:00 committed by Shawn Guo
parent 70b5ea9728
commit 60f0ea12d5

View File

@ -144,6 +144,19 @@ &enet2 {
&i2c0 {
status = "okay";
ina220@40 {
compatible = "ti,ina220";
reg = <0x40>;
shunt-resistor = <1000>;
};
ina220@41 {
compatible = "ti,ina220";
reg = <0x41>;
shunt-resistor = <1000>;
};
};
&i2c1 {