From 1e33300782235ae6fdc891d9c3ba04ba59da6f3d Mon Sep 17 00:00:00 2001 From: Yuantian Tang Date: Mon, 25 Dec 2017 15:57:23 +0800 Subject: 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 Signed-off-by: Shawn Guo --- arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi') 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 @@ }; }; + 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>; -- cgit v1.2.3