arm64: dts: sc9860: move GIC to soc node
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 1 Apr 2024 14:11:26 +0000 (16:11 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 24 Apr 2024 06:49:05 +0000 (08:49 +0200)
All devices on MMIO bus should be within the "soc" node.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20240401141128.98317-3-krzk@kernel.org
arch/arm64/boot/dts/sprd/sc9860.dtsi

index 48e1b64f87b24767d8868e346290ba4478291806..c5f5481db27bf20a2f521e7f037e9c3ff8111e2f 100644 (file)
                };
        };
 
-       gic: interrupt-controller@12001000 {
-               compatible = "arm,gic-400";
-               reg = <0 0x12001000 0 0x1000>,
-                     <0 0x12002000 0 0x2000>,
-                     <0 0x12004000 0 0x2000>,
-                     <0 0x12006000 0 0x2000>;
-               #interrupt-cells = <3>;
-               interrupt-controller;
-               interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(8)
-                                       | IRQ_TYPE_LEVEL_HIGH)>;
-       };
-
        psci {
                compatible = "arm,psci-0.2";
                method = "smc";
        };
 
        soc {
+               gic: interrupt-controller@12001000 {
+                       compatible = "arm,gic-400";
+                       reg = <0 0x12001000 0 0x1000>,
+                             <0 0x12002000 0 0x2000>,
+                             <0 0x12004000 0 0x2000>,
+                             <0 0x12006000 0 0x2000>;
+                       #interrupt-cells = <3>;
+                       interrupt-controller;
+                       interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(8)
+                                               | IRQ_TYPE_LEVEL_HIGH)>;
+               };
+
                pmu_gate: pmu-gate {
                        compatible = "sprd,sc9860-pmu-gate";
                        sprd,syscon = <&pmu_regs>; /* 0x402b0000 */