OSDN Git Service

ARM: dts: berlin2cd: move PMU node from soc to root
authorAlexander Monakov <amonakov@ispras.ru>
Sun, 11 Mar 2018 16:00:03 +0000 (19:00 +0300)
committerJisheng Zhang <Jisheng.Zhang@synaptics.com>
Thu, 24 May 2018 06:54:47 +0000 (14:54 +0800)
Cortex-A9 PMU has no associated memory ranges and "make dtbs W=1" warns
about missing reg or ranges property. To avoid the warning, move the PMU
node out of soc subtree to the root.

Signed-off-by: Alexander Monakov <amonakov@ispras.ru>
Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
arch/arm/boot/dts/berlin2cd.dtsi

index 8c8bf31..572e99c 100644 (file)
                };
        };
 
+       pmu {
+               compatible = "arm,cortex-a9-pmu";
+               interrupt-parent = <&gic>;
+               interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
+       };
+
        refclk: oscillator {
                compatible = "fixed-clock";
                #clock-cells = <0>;
 
                ranges = <0 0xf7000000 0x1000000>;
 
-               pmu {
-                       compatible = "arm,cortex-a9-pmu";
-                       interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
-               };
-
                sdhci0: sdhci@ab0000 {
                        compatible = "mrvl,pxav3-mmc";
                        reg = <0xab0000 0x200>;