提交 add888d6 编写于 作者: S Shengzhou Liu 提交者: Scott Wood

powerpc/t1023rdb: add ina220 current sensor node

Add support for INA220 current sensor.
Signed-off-by: NShengzhou Liu <Shengzhou.Liu@freescale.com>
Signed-off-by: NScott Wood <scottwood@freescale.com>
上级 4a6b8a4b
......@@ -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>;
};
};
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册