ARM: dts: Use simple-pm-bus for genpd for am3 l4_fast
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:13 +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 9b1ac81..3898141 100644 (file)
 };
 
 &l4_fast {                                     /* 0x4a000000 */
-       compatible = "ti,am33xx-l4-fast", "simple-bus";
+       compatible = "ti,am33xx-l4-fast", "simple-pm-bus";
+       power-domains = <&prm_per>;
+       clocks = <&l4hs_clkctrl AM3_L4HS_L4_HS_CLKCTRL 0>;
+       clock-names = "fck";
        reg = <0x4a000000 0x800>,
              <0x4a000800 0x800>,
              <0x4a001000 0x400>;
        ranges = <0x00000000 0x4a000000 0x1000000>;     /* segment 0 */
 
        segment@0 {                                     /* 0x4a000000 */
-               compatible = "simple-bus";
+               compatible = "simple-pm-bus";
                #address-cells = <1>;
                #size-cells = <1>;
                ranges = <0x00000000 0x00000000 0x000800>,      /* ap 0 */