aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuantian Tang <andy.tang@nxp.com>2017-12-25 02:57:23 -0500
committerShawn Guo <shawnguo@kernel.org>2017-12-26 04:14:13 -0500
commit1e33300782235ae6fdc891d9c3ba04ba59da6f3d (patch)
tree53db64997031aa9a287fb67877fcf014a8ce8002
parentdf063a1fad47a247db351aeee5a18c0aae228299 (diff)
arm64: dts: ls208xa: add power monitor chip node
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>
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi
index 9a1d0d2ab1c3..5498c705ae6a 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi
@@ -95,6 +95,18 @@
95 }; 95 };
96 }; 96 };
97 97
98 i2c@2 {
99 #address-cells = <1>;
100 #size-cells = <0>;
101 reg = <0x02>;
102
103 ina220@40 {
104 compatible = "ti,ina220";
105 reg = <0x40>;
106 shunt-resistor = <500>;
107 };
108 };
109
98 i2c@3 { 110 i2c@3 {
99 #address-cells = <1>; 111 #address-cells = <1>;
100 #size-cells = <0>; 112 #size-cells = <0>;