diff options
author | Yuan Yao <yao.yuan@freescale.com> | 2015-09-16 08:20:43 (GMT) |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2015-10-19 14:45:17 (GMT) |
commit | 60f0ea12d59ed366547b0a3fd5b3a76fccb56899 (patch) | |
tree | dff0d2df88df868b9400c47e7621137874e9e9a8 | |
parent | 70b5ea97281fb9ee1ed17c9b9c866a6604b843df (diff) | |
download | linux-60f0ea12d59ed366547b0a3fd5b3a76fccb56899.tar.xz |
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>
-rw-r--r-- | arch/arm/boot/dts/ls1021a-twr.dts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ls1021a-twr.dts b/arch/arm/boot/dts/ls1021a-twr.dts index e008f93..fbb89d1 100644 --- a/arch/arm/boot/dts/ls1021a-twr.dts +++ b/arch/arm/boot/dts/ls1021a-twr.dts @@ -144,6 +144,19 @@ &i2c0 { status = "okay"; + + ina220@40 { + compatible = "ti,ina220"; + reg = <0x40>; + shunt-resistor = <1000>; + }; + + ina220@41 { + compatible = "ti,ina220"; + reg = <0x41>; + shunt-resistor = <1000>; + }; + }; &i2c1 { |