ARM: dts: Use simple-pm-bus for genpd for am3 l4_per
authorTony Lindgren <tony@atomide.com>
Mon, 16 Nov 2020 10:57:13 +0000 (12:57 +0200)
committerTony Lindgren <tony@atomide.com>
Mon, 16 Nov 2020 10:58:15 +0000 (12:58 +0200)
We can now enable simple-pm-bus to use genpd.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am33xx-l4.dtsi

index 38981411dc1b35669696b02662696b1fcac8216e..78b5e88f869dd3614be1fa5faa10ff3f9a79f521 100644 (file)
@@ -851,7 +851,10 @@ target-module@3000 {                       /* 0x4b143000, ap 6 04.0 */
 };
 
 &l4_per {                                              /* 0x48000000 */
-       compatible = "ti,am33xx-l4-per", "simple-bus";
+       compatible = "ti,am33xx-l4-per", "simple-pm-bus";
+       power-domains = <&prm_per>;
+       clocks = <&l4ls_clkctrl AM3_L4LS_L4_LS_CLKCTRL 0>;
+       clock-names = "fck";
        reg = <0x48000000 0x800>,
              <0x48000800 0x800>,
              <0x48001000 0x400>,
@@ -869,7 +872,7 @@ &l4_per {                                           /* 0x48000000 */
                 <0x46400000 0x46400000 0x400000>;      /* l3 data port */
 
        segment@0 {                                     /* 0x48000000 */
-               compatible = "simple-bus";
+               compatible = "simple-pm-bus";
                #address-cells = <1>;
                #size-cells = <1>;
                ranges = <0x00000000 0x00000000 0x000800>,      /* ap 0 */
@@ -1480,7 +1483,7 @@ target-module@cc000 {                     /* 0x480cc000, ap 89 0e.0 */
        };
 
        segment@100000 {                                        /* 0x48100000 */
-               compatible = "simple-bus";
+               compatible = "simple-pm-bus";
                #address-cells = <1>;
                #size-cells = <1>;
                ranges = <0x0008c000 0x0018c000 0x001000>,      /* ap 42 */
@@ -1864,7 +1867,7 @@ mmc2: mmc@0 {
        };
 
        segment@200000 {                                        /* 0x48200000 */
-               compatible = "simple-bus";
+               compatible = "simple-pm-bus";
                #address-cells = <1>;
                #size-cells = <1>;
                ranges = <0x00000000 0x00200000 0x010000>;
@@ -1888,7 +1891,7 @@ mpu@0 {
        };
 
        segment@300000 {                                        /* 0x48300000 */
-               compatible = "simple-bus";
+               compatible = "simple-pm-bus";
                #address-cells = <1>;
                #size-cells = <1>;
                ranges = <0x00000000 0x00300000 0x001000>,      /* ap 66 */