From a957a78967caef407c579323e1683785639081bc Mon Sep 17 00:00:00 2001 From: "pan.yang" Date: Sat, 30 Mar 2019 07:28:52 -0400 Subject: [PATCH] power: tm2: add power control dts config [1/1] PD#SWPL-5648 Problem: need power control dts Solution: add power control dts Verify: tm2_skt Change-Id: Ia677567dec5bb9ca8ea0cf067d8885d3005d32c2 Signed-off-by: pan yang --- arch/arm/boot/dts/amlogic/mesontm2.dtsi | 6 ++++++ arch/arm64/boot/dts/amlogic/mesontm2.dtsi | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/amlogic/mesontm2.dtsi b/arch/arm/boot/dts/amlogic/mesontm2.dtsi index ae0c9f1..a4ec8e4 100644 --- a/arch/arm/boot/dts/amlogic/mesontm2.dtsi +++ b/arch/arm/boot/dts/amlogic/mesontm2.dtsi @@ -599,6 +599,12 @@ quality = /bits/ 16 <1000>; }; + power_ctrl: power_ctrl@ff8000e8 { + compatible = "amlogic, sm1-powerctrl"; + reg = <0xff8000e8 0x10>, + <0xff63c100 0x10>; + }; + soc { compatible = "simple-bus"; #address-cells = <1>; diff --git a/arch/arm64/boot/dts/amlogic/mesontm2.dtsi b/arch/arm64/boot/dts/amlogic/mesontm2.dtsi index 9921d76..a3dc50a 100644 --- a/arch/arm64/boot/dts/amlogic/mesontm2.dtsi +++ b/arch/arm64/boot/dts/amlogic/mesontm2.dtsi @@ -580,6 +580,12 @@ quality = /bits/ 16 <1000>; }; + power_ctrl: power_ctrl@ff8000e8 { + compatible = "amlogic, sm1-powerctrl"; + reg = <0x0 0xff8000e8 0x0 0x10>, + <0x0 0xff63c100 0x0 0x10>; + }; + soc { compatible = "simple-bus"; #address-cells = <2>; -- 2.7.4