ARM: dts: BCM63xx: Fix DTC W=1 warnings
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 28 May 2019 23:01:32 +0000 (16:01 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Sun, 23 Jun 2019 02:28:39 +0000 (19:28 -0700)
Fix the bulk of the unit_address_vs_reg warnings and unnecessary
\#address-cells/#size-cells without "ranges" or child "reg" property

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm63138.dtsi
arch/arm/boot/dts/bcm963138dvt.dts

index e6a41e1..9c0325c 100644 (file)
@@ -41,9 +41,6 @@
        };
 
        clocks {
-               #address-cells = <1>;
-               #size-cells = <0>;
-
                /* UBUS peripheral clock */
                periph_clk: periph_clk {
                        #clock-cells = <0>;
@@ -94,7 +91,7 @@
                        reg = <0x1e000 0x100>;
                };
 
-               gic: interrupt-controller@1e100 {
+               gic: interrupt-controller@1f000 {
                        compatible = "arm,cortex-a9-gic";
                        reg = <0x1f000 0x1000
                                0x1e100 0x100>;
                                                  IRQ_TYPE_LEVEL_HIGH)>;
                };
 
-               armpll: armpll {
+               armpll: armpll@20000 {
                        #clock-cells = <0>;
                        compatible = "brcm,bcm63138-armpll";
                        clocks = <&periph_clk>;
                        #reset-cells = <2>;
                };
 
-               ahci: sata@8000 {
+               ahci: sata@a000 {
                        compatible = "brcm,bcm63138-ahci", "brcm,sata3-ahci";
                        reg-names = "ahci", "top-ctrl";
                        reg = <0xa000 0x9ac>, <0x8040 0x24>;
index 2952568..5b17727 100644 (file)
@@ -16,7 +16,7 @@
                stdout-path = &serial0;
        };
 
-       memory {
+       memory@0 {
                device_type = "memory";
                reg = <0x0 0x08000000>;
        };