ARM: dts: bcm-mobile: Fix most DTC W=1 warnings
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 28 May 2019 23:01:30 +0000 (16:01 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Sun, 23 Jun 2019 02:28:38 +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/bcm11351.dtsi
arch/arm/boot/dts/bcm21664-garnet.dts
arch/arm/boot/dts/bcm21664.dtsi
arch/arm/boot/dts/bcm23550-sparrow.dts
arch/arm/boot/dts/bcm23550.dtsi
arch/arm/boot/dts/bcm28155-ap.dts

index b99c2e5796228b777353c05215d085613e01f822..6197e7d80e3bc5ff6554dc2aaf06d8e8bc64a9d7 100644 (file)
                reg-io-width = <4>;
        };
 
-       L2: l2-cache {
+       L2: l2-cache@3ff20000 {
                compatible = "brcm,bcm11351-a2-pl310-cache";
                reg = <0x3ff20000 0x1000>;
                cache-unified;
                #size-cells = <1>;
                ranges;
 
-               root_ccu: root_ccu {
+               root_ccu: root_ccu@35001000 {
                        compatible = "brcm,bcm11351-root-ccu";
                        reg = <0x35001000 0x0f00>;
                        #clock-cells = <1>;
                        clock-output-names = "frac_1m";
                };
 
-               hub_ccu: hub_ccu {
+               hub_ccu: hub_ccu@34000000 {
                        compatible = "brcm,bcm11351-hub-ccu";
                        reg = <0x34000000 0x0f00>;
                        #clock-cells = <1>;
                        clock-output-names = "tmon_1m";
                };
 
-               aon_ccu: aon_ccu {
+               aon_ccu: aon_ccu@35002000 {
                        compatible = "brcm,bcm11351-aon-ccu";
                        reg = <0x35002000 0x0f00>;
                        #clock-cells = <1>;
                                             "pmu_bsc_var";
                };
 
-               master_ccu: master_ccu {
+               master_ccu: master_ccu@3f001000 {
                        compatible = "brcm,bcm11351-master-ccu";
                        reg = <0x3f001000 0x0f00>;
                        #clock-cells = <1>;
                                             "hsic2_12m";
                };
 
-               slave_ccu: slave_ccu {
+               slave_ccu: slave_ccu@3e011000 {
                        compatible = "brcm,bcm11351-slave-ccu";
                        reg = <0x3e011000 0x0f00>;
                        #clock-cells = <1>;
index 8b045cfab64b3b7fb7cd773b74331536c14304f3..be468f4adc377a1740b8b98c458da1941a0701d2 100644 (file)
@@ -21,7 +21,7 @@
        model = "BCM21664 Garnet board";
        compatible = "brcm,bcm21664-garnet", "brcm,bcm21664";
 
-       memory {
+       memory@80000000 {
                device_type = "memory";
                reg = <0x80000000 0x40000000>; /* 1 GB */
        };
index 758daa334148352224324b365e8698bacd5bc23c..3cf66faf3b56833d775a813f4e8257ce64890955 100644 (file)
@@ -90,7 +90,7 @@
                reg-io-width = <4>;
        };
 
-       L2: l2-cache {
+       L2: l2-cache@3ff20000 {
                compatible = "arm,pl310-cache";
                reg = <0x3ff20000 0x1000>;
                cache-unified;
                        clock-frequency = <156000000>;
                };
 
-               root_ccu: root_ccu {
+               root_ccu: root_ccu@35001000 {
                        compatible = BCM21664_DT_ROOT_CCU_COMPAT;
                        reg = <0x35001000 0x0f00>;
                        #clock-cells = <1>;
                        clock-output-names = "frac_1m";
                };
 
-               aon_ccu: aon_ccu {
+               aon_ccu: aon_ccu@35002000 {
                        compatible = BCM21664_DT_AON_CCU_COMPAT;
                        reg = <0x35002000 0x0f00>;
                        #clock-cells = <1>;
                        clock-output-names = "hub_timer";
                };
 
-               master_ccu: master_ccu {
+               master_ccu: master_ccu@3f001000 {
                        compatible = BCM21664_DT_MASTER_CCU_COMPAT;
                        reg = <0x3f001000 0x0f00>;
                        #clock-cells = <1>;
                                             "sdio4_sleep";
                };
 
-               slave_ccu: slave_ccu {
+               slave_ccu: slave_ccu@3e011000 {
                        compatible = BCM21664_DT_SLAVE_CCU_COMPAT;
                        reg = <0x3e011000 0x0f00>;
                        #clock-cells = <1>;
index 1c66b15f3013c3f356abc4797774a2389a66df4f..ace77709f468bb543568ea9bd30a3a9f6ebe6b7a 100644 (file)
@@ -45,7 +45,7 @@
                bootargs = "console=ttyS0,115200n8";
        };
 
-       memory {
+       memory@80000000 {
                device_type = "memory";
                reg = <0x80000000 0x20000000>; /* 512 MB */
        };
index 701198f5f498397e0025dfdaa9a707835d590f91..a36c9b1d23c8eb6cc7633df18be6b32fa35838b9 100644 (file)
                        clock-frequency = <156000000>;
                };
 
-               root_ccu: root_ccu {
+               root_ccu: root_ccu@35001000 {
                        compatible = BCM21664_DT_ROOT_CCU_COMPAT;
                        reg = <0x35001000 0x0f00>;
                        #clock-cells = <1>;
                        clock-output-names = "frac_1m";
                };
 
-               aon_ccu: aon_ccu {
+               aon_ccu: aon_ccu@35002000 {
                        compatible = BCM21664_DT_AON_CCU_COMPAT;
                        reg = <0x35002000 0x0f00>;
                        #clock-cells = <1>;
                        clock-output-names = "hub_timer";
                };
 
-               slave_ccu: slave_ccu {
+               slave_ccu: slave_ccu@3e011000 {
                        compatible = BCM21664_DT_SLAVE_CCU_COMPAT;
                        reg = <0x3e011000 0x0f00>;
                        #clock-cells = <1>;
                                             "bsc4";
                };
 
-               master_ccu: master_ccu {
+               master_ccu: master_ccu@3f001000 {
                        compatible = BCM21664_DT_MASTER_CCU_COMPAT;
                        reg = <0x3f001000 0x0f00>;
                        #clock-cells = <1>;
index fbfca83bd28ff080b914049233a52aebb349b5ab..ead6e9804dbf4908cd02bb2a299e4aeb3e9a2453 100644 (file)
@@ -21,7 +21,7 @@
        model = "BCM28155 AP board";
        compatible = "brcm,bcm28155-ap", "brcm,bcm11351";
 
-       memory {
+       memory@80000000 {
                device_type = "memory";
                reg = <0x80000000 0x40000000>; /* 1 GB */
        };