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 6925b30c22539d9bb24d931cb81df0ed818e8f28..da6d70f09ef19b4dd480c5d98b4b8b73cc80d1dc 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 21479b4ce8233fc6ad073e97e7593c1c5a9684dc..8c388eb8a08f8618beea5aa5a90fb258329ae5cc 100644 (file)
@@ -43,7 +43,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@60000000 {
                device_type = "memory";
                reg = <0x60000000 0x80000000>;
        };
index cda3d790965ba685d02c3da330eddd904120bbf3..c339771bb22e067d2ef5d132c8330f029b7315c2 100644 (file)
@@ -43,7 +43,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@60000000 {
                device_type = "memory";
                reg = <0x60000000 0x80000000>;
        };
index f86649812b591ef3488589fe5fd47b8abff78f0c..1c72ec8288de4d945164c448937c73e293750e69 100644 (file)
@@ -43,7 +43,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@60000000 {
                device_type = "memory";
                reg = <0x60000000 0x40000000>;
        };
index df60602b054dcf212e63ee3bab3c8b23749104a6..96a021cebd97b1e63005db8c636326d6b93f912d 100644 (file)
@@ -43,7 +43,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@60000000 {
                device_type = "memory";
                reg = <0x60000000 0x80000000>;
        };
index 3893e7af343a0fa2fc7d5c18779f6cf549ff8487..b2c7f21d471e629cc00437feef183b9bb09d8605 100644 (file)
@@ -43,7 +43,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@60000000 {
                device_type = "memory";
                reg = <0x60000000 0x80000000>;
        };
index cf226b02141f0e524141dcc4f1a17f2d76382f2f..a2c9de35ddfbd3e40b07e50ba4d003ffcbdc3cbb 100644 (file)
@@ -43,7 +43,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@60000000 {
                device_type = "memory";
                reg = <0x60000000 0x20000000>;
        };
index 10b3d512bb330f7fd8886b3f815ce1231f03b846..3fcca12d83c2d5df60699956ccc2d5ae3e10f96c 100644 (file)
@@ -42,7 +42,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@60000000 {
                device_type = "memory";
                reg = <0x60000000 0x80000000>;
        };
index e39db14d805e162b9ed9e92e57dfdca5844e0077..edd0f630e02511e17ab5336700db50026b9f1c9b 100644 (file)
@@ -43,7 +43,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@60000000 {
                device_type = "memory";
                reg = <0x60000000 0x80000000>;
        };