OSDN Git Service

arm64: dts: ls208xa: add power monitor chip node
authorYuantian Tang <andy.tang@nxp.com>
Mon, 25 Dec 2017 07:57:23 +0000 (15:57 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 26 Dec 2017 09:14:13 +0000 (17:14 +0800)
Ina220 chip was used on ls208xardb platform to monitor power
comsumption. So add ina220 chip node in dts to enable power
consumption monitor feature.

Signed-off-by: Tang Yuantian <andy.tang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi

index 9a1d0d2..5498c70 100644 (file)
                        };
                };
 
+               i2c@2 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0x02>;
+
+                       ina220@40 {
+                               compatible = "ti,ina220";
+                               reg = <0x40>;
+                               shunt-resistor = <500>;
+                       };
+               };
+
                i2c@3 {
                        #address-cells = <1>;
                        #size-cells = <0>;