power: tm2: add power control dts config [1/1]
authorpan.yang <pan.yang@amlogic.com>
Sat, 30 Mar 2019 11:28:52 +0000 (07:28 -0400)
committerJianxiong Pan <jianxiong.pan@amlogic.com>
Thu, 11 Apr 2019 02:58:47 +0000 (10:58 +0800)
PD#SWPL-5648

Problem:
need power control dts

Solution:
add power control dts

Verify:
tm2_skt

Change-Id: Ia677567dec5bb9ca8ea0cf067d8885d3005d32c2
Signed-off-by: pan yang<pan.yang@amlogic.com>
arch/arm/boot/dts/amlogic/mesontm2.dtsi
arch/arm64/boot/dts/amlogic/mesontm2.dtsi

index ae0c9f1..a4ec8e4 100644 (file)
                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>;
index 9921d76..a3dc50a 100644 (file)
                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>;