ARM: dts: Use simple-pm-bus for genpd for am4 l4_wkup
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 11:11:17 +0000 (13:11 +0200)
We can now enable simple-pm-bus to use genpd.

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

index 30c029a7b839407cc74f94c3c232d733f87ebc25..f07a7adfeea9765acab11d9866030d36bd680a03 100644 (file)
@@ -1,5 +1,8 @@
 &l4_wkup {                                             /* 0x44c00000 */
-       compatible = "ti,am4-l4-wkup", "simple-bus";
+       compatible = "ti,am4-l4-wkup", "simple-pm-bus";
+       power-domains = <&prm_wkup>;
+       clocks = <&l4_wkup_clkctrl AM4_L4_WKUP_L4_WKUP_CLKCTRL 0>;
+       clock-names = "fck";
        reg = <0x44c00000 0x800>,
              <0x44c00800 0x800>,
              <0x44c01000 0x400>,
@@ -12,7 +15,7 @@
                 <0x00200000 0x44e00000 0x100000>;      /* segment 2 */
 
        segment@0 {                                     /* 0x44c00000 */
-               compatible = "simple-bus";
+               compatible = "simple-pm-bus";
                #address-cells = <1>;
                #size-cells = <1>;
                ranges = <0x00000000 0x00000000 0x000800>,      /* ap 0 */
@@ -22,7 +25,7 @@
        };
 
        segment@100000 {                                        /* 0x44d00000 */
-               compatible = "simple-bus";
+               compatible = "simple-pm-bus";
                #address-cells = <1>;
                #size-cells = <1>;
                ranges = <0x00000000 0x00100000 0x004000>,      /* ap 4 */
@@ -81,7 +84,7 @@
        };
 
        segment@200000 {                                        /* 0x44e00000 */
-               compatible = "simple-bus";
+               compatible = "simple-pm-bus";
                #address-cells = <1>;
                #size-cells = <1>;
                ranges = <0x00000000 0x00200000 0x001000>,      /* ap 9 */