ARM: dts: NSP: Fix the bulk of W=1 DTC warnings
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 28 May 2019 23:01:34 +0000 (16:01 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Sun, 23 Jun 2019 02:28:40 +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/bcm-nsp.dtsi
arch/arm/boot/dts/bcm958522er.dts
arch/arm/boot/dts/bcm958525er.dts
arch/arm/boot/dts/bcm958525xmc.dts
arch/arm/boot/dts/bcm958622hr.dts
arch/arm/boot/dts/bcm958623hr.dts
arch/arm/boot/dts/bcm958625hr.dts
arch/arm/boot/dts/bcm958625k.dts
arch/arm/boot/dts/bcm988312hr.dts

index 6925b30..da6d70f 100644 (file)
@@ -77,7 +77,7 @@
                interrupt-affinity = <&cpu0>, <&cpu1>;
        };
 
-       mpcore {
+       mpcore@19000000 {
                compatible = "simple-bus";
                ranges = <0x00000000 0x19000000 0x00023000>;
                #address-cells = <1>;
                              <0x20100 0x100>;
                };
 
-               L2: l2-cache {
+               L2: l2-cache@22000 {
                        compatible = "arm,pl310-cache";
                        reg = <0x22000 0x1000>;
                        cache-unified;
                };
        };
 
-       axi {
+       axi@18000000 {
                compatible = "simple-bus";
                ranges = <0x00000000 0x18000000 0x0011c40c>;
                #address-cells = <1>;
                                          "imp_sleep_timer_p5",
                                          "imp_sleep_timer_p7",
                                          "imp_sleep_timer_p8";
-                       #address-cells = <1>;
-                       #size-cells = <0>;
-
                        status = "disabled";
 
                        /* ports are defined in board DTS */
index 21479b4..8c388eb 100644 (file)
@@ -43,7 +43,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@60000000 {
                device_type = "memory";
                reg = <0x60000000 0x80000000>;
        };
index cda3d79..c339771 100644 (file)
@@ -43,7 +43,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@60000000 {
                device_type = "memory";
                reg = <0x60000000 0x80000000>;
        };
index f866498..1c72ec8 100644 (file)
@@ -43,7 +43,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@60000000 {
                device_type = "memory";
                reg = <0x60000000 0x40000000>;
        };
index df60602..96a021c 100644 (file)
@@ -43,7 +43,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@60000000 {
                device_type = "memory";
                reg = <0x60000000 0x80000000>;
        };
index 3893e7a..b2c7f21 100644 (file)
@@ -43,7 +43,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@60000000 {
                device_type = "memory";
                reg = <0x60000000 0x80000000>;
        };
index cf226b0..a2c9de3 100644 (file)
@@ -43,7 +43,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@60000000 {
                device_type = "memory";
                reg = <0x60000000 0x20000000>;
        };
index 10b3d51..3fcca12 100644 (file)
@@ -42,7 +42,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@60000000 {
                device_type = "memory";
                reg = <0x60000000 0x80000000>;
        };
index e39db14..edd0f63 100644 (file)
@@ -43,7 +43,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@60000000 {
                device_type = "memory";
                reg = <0x60000000 0x80000000>;
        };