ARM: dts: Move omap5 l3-noc to a separate node
authorTony Lindgren <tony@atomide.com>
Wed, 10 Mar 2021 12:04:57 +0000 (14:04 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 10 Mar 2021 12:04:57 +0000 (14:04 +0200)
In preparation for probing l3 with simple-pm-bus and genpd, we must move
l3 noc to a separate node. This is to prevent omap_l3_noc.c driver from
claiming the whole l3 instance before simple-pm-bus has a chance to probe.

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

index 42b5255..dcc4077 100644 (file)
         * hierarchy.
         */
        ocp {
-               compatible = "ti,omap5-l3-noc", "simple-bus";
+               compatible = "simple-bus";
                #address-cells = <1>;
                #size-cells = <1>;
                ranges = <0 0 0 0xc0000000>;
                dma-ranges = <0x80000000 0x0 0x80000000 0x80000000>;
                ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3";
-               reg = <0 0x44000000 0 0x2000>,
-                     <0 0x44800000 0 0x3000>,
-                     <0 0x45000000 0 0x4000>;
-               interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
-                            <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
+
+               l3-noc@44000000 {
+                       compatible = "ti,omap5-l3-noc";
+                       reg = <0x44000000 0x2000>,
+                             <0x44800000 0x3000>,
+                             <0x45000000 0x4000>;
+                       interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
+               };
 
                l4_wkup: interconnect@4ae00000 {
                };