ARM: dts: Configure interconnect target module for omap5 mpu
authorTony Lindgren <tony@atomide.com>
Wed, 10 Mar 2021 12:04:55 +0000 (14:04 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 10 Mar 2021 12:04:55 +0000 (14:04 +0200)
We can now probe devices with device tree only configuration using
ti-sysc interconnect target module driver.

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

index 823a59aba286178681e2ca74a041e1d424c14fe2..5c7697726e18979ffc77eca136496e2ac4e38e20 100644 (file)
                interrupt-parent = <&gic>;
        };
 
-       /*
-        * The soc node represents the soc top level view. It is used for IPs
-        * that are not memory mapped in the MPU view or for the MPU itself.
-        */
-       soc {
-               compatible = "ti,omap-infra";
-               mpu {
-                       compatible = "ti,omap4-mpu";
-                       ti,hwmods = "mpu";
-                       sram = <&ocmcram>;
-               };
-       };
-
        /*
         * XXX: Use a flat representation of the OMAP3 interconnect.
         * The real OMAP interconnect network is quite complex.
                l4_per: interconnect@48000000 {
                };
 
+               target-module@48210000 {
+                       compatible = "ti,sysc-omap4-simple", "ti,sysc";
+                       power-domains = <&prm_mpu>;
+                       clocks = <&mpu_clkctrl OMAP5_MPU_CLKCTRL 0>;
+                       clock-names = "fck";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       ranges = <0 0x48210000 0x1f0000>;
+
+                       mpu {
+                               compatible = "ti,omap4-mpu";
+                               sram = <&ocmcram>;
+                       };
+               };
+
                l4_abe: interconnect@40100000 {
                };