]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ARM: dts: Configure simple-pm-bus for dra7 l4_cfg
authorTony Lindgren <tony@atomide.com>
Wed, 10 Mar 2021 12:03:49 +0000 (14:03 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 10 Mar 2021 12:04:07 +0000 (14:04 +0200)
We can now probe interconnects with device tree only configuration using
simple-pm-bus and genpd.

Tested-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra7-l4.dtsi

index 64935a09cab46d0b251dd62ee7eddbb309b40d5c..1c50ae7b0e17d0473865c0a9403dec019c656835 100644 (file)
@@ -1,5 +1,8 @@
 &l4_cfg {                                              /* 0x4a000000 */
-       compatible = "ti,dra7-l4-cfg", "simple-bus";
+       compatible = "ti,dra7-l4-cfg", "simple-pm-bus";
+       power-domains = <&prm_coreaon>;
+       clocks = <&l4cfg_clkctrl DRA7_L4CFG_L4_CFG_CLKCTRL 0>;
+       clock-names = "fck";
        reg = <0x4a000000 0x800>,
              <0x4a000800 0x800>,
              <0x4a001000 0x1000>;
@@ -11,7 +14,7 @@
                 <0x00200000 0x4a200000 0x100000>;      /* segment 2 */
 
        segment@0 {                                     /* 0x4a000000 */
-               compatible = "simple-bus";
+               compatible = "simple-pm-bus";
                #address-cells = <1>;
                #size-cells = <1>;
                ranges = <0x00000000 0x00000000 0x000800>,      /* ap 0 */
        };
 
        segment@100000 {                                        /* 0x4a100000 */
-               compatible = "simple-bus";
+               compatible = "simple-pm-bus";
                #address-cells = <1>;
                #size-cells = <1>;
                ranges = <0x00002000 0x00102000 0x001000>,      /* ap 27 */
        };
 
        segment@200000 {                                        /* 0x4a200000 */
-               compatible = "simple-bus";
+               compatible = "simple-pm-bus";
                #address-cells = <1>;
                #size-cells = <1>;
                ranges = <0x00018000 0x00218000 0x001000>,      /* ap 43 */