Commit 60f0ea12 authored by Yuan Yao's avatar Yuan Yao Committed by Shawn Guo

ARM: dts: Add node for ina220 on LS1021ATWR

The INA220 monitors both shunt drop and supply voltage.
Signed-off-by: default avatarYuan Yao <yao.yuan@freescale.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 70b5ea97
...@@ -144,6 +144,19 @@ &enet2 { ...@@ -144,6 +144,19 @@ &enet2 {
&i2c0 { &i2c0 {
status = "okay"; status = "okay";
ina220@40 {
compatible = "ti,ina220";
reg = <0x40>;
shunt-resistor = <1000>;
};
ina220@41 {
compatible = "ti,ina220";
reg = <0x41>;
shunt-resistor = <1000>;
};
}; };
&i2c1 { &i2c1 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment