]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: bcm283x: Move arm-pmu out of soc node
authorStefan Wahren <stefan.wahren@i2se.com>
Sat, 24 Feb 2018 14:15:22 +0000 (15:15 +0100)
committerFlorian Fainelli <f.fainelli@gmail.com>
Wed, 28 Feb 2018 00:42:09 +0000 (16:42 -0800)
The ARM PMU doesn't have a reg address, so fix the following DTC warning
(requires W=1):
Node /soc/arm-pmu missing or empty reg/ranges property

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm2835.dtsi
arch/arm/boot/dts/bcm2836.dtsi

index 0e3d2a5ff2081425bd5ccb0097736ebdef3f99a5..a5c3824c80563cf3222f77af9a6ffe39e22b1e0f 100644 (file)
@@ -18,10 +18,10 @@ cpu@0 {
        soc {
                ranges = <0x7e000000 0x20000000 0x02000000>;
                dma-ranges = <0x40000000 0x00000000 0x20000000>;
+       };
 
-               arm-pmu {
-                       compatible = "arm,arm1176-pmu";
-               };
+       arm-pmu {
+               compatible = "arm,arm1176-pmu";
        };
 };
 
index e47f2e9ccbd09903944ab3888498051e25733120..c933e841388421045d908e0147012d0fca0ae670 100644 (file)
@@ -16,12 +16,12 @@ local_intc: local_intc@40000000 {
                        #interrupt-cells = <2>;
                        interrupt-parent = <&local_intc>;
                };
+       };
 
-               arm-pmu {
-                       compatible = "arm,cortex-a7-pmu";
-                       interrupt-parent = <&local_intc>;
-                       interrupts = <9 IRQ_TYPE_LEVEL_HIGH>;
-               };
+       arm-pmu {
+               compatible = "arm,cortex-a7-pmu";
+               interrupt-parent = <&local_intc>;
+               interrupts = <9 IRQ_TYPE_LEVEL_HIGH>;
        };
 
        timer {