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 b99c2e5..6197e7d 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 8b045cf..be468f4 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 758daa3..3cf66fa 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 1c66b15..ace7770 100644 (file)
@@ -45,7 +45,7 @@
                bootargs = "console=ttyS0,115200n8";
        };
 
-       memory {
+       memory@80000000 {
                device_type = "memory";
                reg = <0x80000000 0x20000000>; /* 512 MB */
        };
index 701198f..a36c9b1 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 fbfca83..ead6e98 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 */
        };