ARM: dts: Move dra7 l3 noc to a separate node
authorTony Lindgren <tony@atomide.com>
Wed, 10 Mar 2021 12:03:46 +0000 (14:03 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 10 Mar 2021 12:04:07 +0000 (14:04 +0200)
In order to prepare for probing l3 with genpd, we need to move l3 noc
into a separate node for l3 interconnect to have it's own regs, and
to avoid it claiming more than it needs for the io regions.

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

index 4906e2f4748630065451e699231386d57d37f28b..dff9262ca6771d926785dd5bc4f2b199bfd27fbe 100644 (file)
         * hierarchy.
         */
        ocp: ocp {
-               compatible = "ti,dra7-l3-noc", "simple-bus";
+               compatible = "simple-bus";
                #address-cells = <1>;
                #size-cells = <1>;
                ranges = <0x0 0x0 0x0 0xc0000000>;
                dma-ranges = <0x80000000 0x0 0x80000000 0x80000000>;
                ti,hwmods = "l3_main_1", "l3_main_2";
-               reg = <0x0 0x44000000 0x0 0x1000000>,
-                     <0x0 0x45000000 0x0 0x1000>;
-               interrupts-extended = <&crossbar_mpu GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
-                                     <&wakeupgen GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
+
+               l3-noc@44000000 {
+                       compatible = "ti,dra7-l3-noc";
+                       reg = <0x44000000 0x1000>,
+                             <0x45000000 0x1000>;
+                       interrupts-extended = <&crossbar_mpu GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
+                                             <&wakeupgen GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
+               };
 
                l4_cfg: interconnect@4a000000 {
                };