Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: BCM5301X: Fix most DTC W=1 warnings

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>

+30 -84
+1 -3
arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
··· 19 19 bootargs = "console=ttyS0,115200"; 20 20 }; 21 21 22 - memory { 22 + memory@0 { 23 23 device_type = "memory"; 24 24 reg = <0x00000000 0x08000000 25 25 0x88000000 0x08000000>; ··· 69 69 70 70 gpio-keys { 71 71 compatible = "gpio-keys"; 72 - #address-cells = <1>; 73 - #size-cells = <0>; 74 72 75 73 rfkill { 76 74 label = "WiFi";
+1 -3
arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
··· 19 19 bootargs = "console=ttyS0,115200"; 20 20 }; 21 21 22 - memory { 22 + memory@0 { 23 23 device_type = "memory"; 24 24 reg = <0x00000000 0x08000000 25 25 0x88000000 0x08000000>; ··· 53 53 54 54 gpio-keys { 55 55 compatible = "gpio-keys"; 56 - #address-cells = <1>; 57 - #size-cells = <0>; 58 56 59 57 brightness { 60 58 label = "Backlight";
+1 -3
arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
··· 19 19 bootargs = "console=ttyS0,115200 earlycon"; 20 20 }; 21 21 22 - memory { 22 + memory@0 { 23 23 device_type = "memory"; 24 24 reg = <0x00000000 0x08000000 25 25 0x88000000 0x18000000>; ··· 99 99 100 100 gpio-keys { 101 101 compatible = "gpio-keys"; 102 - #address-cells = <1>; 103 - #size-cells = <0>; 104 102 105 103 restart { 106 104 label = "Reset";
+1 -3
arch/arm/boot/dts/bcm4708-linksys-ea6300-v1.dts
··· 16 16 bootargs = "console=ttyS0,115200"; 17 17 }; 18 18 19 - memory { 19 + memory@0 { 20 20 device_type = "memory"; 21 21 reg = <0x00000000 0x08000000>; 22 22 }; 23 23 24 24 gpio-keys { 25 25 compatible = "gpio-keys"; 26 - #address-cells = <1>; 27 - #size-cells = <0>; 28 26 29 27 wps { 30 28 label = "WPS";
+1 -3
arch/arm/boot/dts/bcm4708-linksys-ea6500-v2.dts
··· 17 17 bootargs = "console=ttyS0,115200"; 18 18 }; 19 19 20 - memory { 20 + memory@0 { 21 21 device_type = "memory"; 22 22 reg = <0x00000000 0x08000000>; 23 23 }; 24 24 25 25 gpio-keys { 26 26 compatible = "gpio-keys"; 27 - #address-cells = <1>; 28 - #size-cells = <0>; 29 27 30 28 wps { 31 29 label = "WPS";
+1 -3
arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts
··· 15 15 bootargs = "console=ttyS0,115200 earlycon"; 16 16 }; 17 17 18 - memory { 18 + memory@0 { 19 19 device_type = "memory"; 20 20 reg = <0x00000000 0x08000000>; 21 21 }; ··· 44 44 45 45 gpio-keys { 46 46 compatible = "gpio-keys"; 47 - #address-cells = <1>; 48 - #size-cells = <0>; 49 47 50 48 restart { 51 49 label = "Reset";
+1 -3
arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
··· 19 19 bootargs = "console=ttyS0,115200 earlycon"; 20 20 }; 21 21 22 - memory { 22 + memory@0 { 23 23 device_type = "memory"; 24 24 reg = <0x00000000 0x08000000>; 25 25 }; ··· 51 51 52 52 gpio-keys { 53 53 compatible = "gpio-keys"; 54 - #address-cells = <1>; 55 - #size-cells = <0>; 56 54 57 55 restart { 58 56 label = "Reset";
-2
arch/arm/boot/dts/bcm4708-netgear-r6250.dts
··· 62 62 63 63 gpio-keys { 64 64 compatible = "gpio-keys"; 65 - #address-cells = <1>; 66 - #size-cells = <0>; 67 65 68 66 wps { 69 67 label = "WPS";
+1 -3
arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
··· 19 19 bootargs = "console=ttyS0,115200"; 20 20 }; 21 21 22 - memory { 22 + memory@0 { 23 23 device_type = "memory"; 24 24 reg = <0x00000000 0x08000000 25 25 0x88000000 0x08000000>; ··· 58 58 59 59 gpio-keys { 60 60 compatible = "gpio-keys"; 61 - #address-cells = <1>; 62 - #size-cells = <0>; 63 61 64 62 wps { 65 63 label = "WPS";
+1 -3
arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
··· 19 19 bootargs = "console=ttyS0,115200 earlycon"; 20 20 }; 21 21 22 - memory { 22 + memory@0 { 23 23 device_type = "memory"; 24 24 reg = <0x00000000 0x08000000 25 25 0x88000000 0x08000000>; ··· 93 93 94 94 gpio-keys { 95 95 compatible = "gpio-keys"; 96 - #address-cells = <1>; 97 - #size-cells = <0>; 98 96 99 97 rfkill { 100 98 label = "WiFi";
+1 -3
arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
··· 19 19 bootargs = "console=ttyS0,115200"; 20 20 }; 21 21 22 - memory { 22 + memory@0 { 23 23 device_type = "memory"; 24 24 reg = <0x00000000 0x08000000 25 25 0x88000000 0x08000000>; ··· 59 59 60 60 gpio-keys { 61 61 compatible = "gpio-keys"; 62 - #address-cells = <1>; 63 - #size-cells = <0>; 64 62 65 63 restart { 66 64 label = "Reset";
+1 -3
arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
··· 19 19 bootargs = "console=ttyS0,115200 earlycon"; 20 20 }; 21 21 22 - memory { 22 + memory@0 { 23 23 device_type = "memory"; 24 24 reg = <0x00000000 0x08000000 25 25 0x88000000 0x08000000>; ··· 90 90 91 91 gpio-keys { 92 92 compatible = "gpio-keys"; 93 - #address-cells = <1>; 94 - #size-cells = <0>; 95 93 96 94 aoss { 97 95 label = "AOSS";
+1 -3
arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
··· 19 19 bootargs = "console=ttyS0,115200"; 20 20 }; 21 21 22 - memory { 22 + memory@0 { 23 23 device_type = "memory"; 24 24 reg = <0x00000000 0x08000000 25 25 0x88000000 0x08000000>; ··· 95 95 96 96 gpio-keys { 97 97 compatible = "gpio-keys"; 98 - #address-cells = <1>; 99 - #size-cells = <0>; 100 98 101 99 restart { 102 100 label = "Reset";
+1 -3
arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts
··· 15 15 bootargs = "console=ttyS0,115200"; 16 16 }; 17 17 18 - memory { 18 + memory@0 { 19 19 device_type = "memory"; 20 20 reg = <0x00000000 0x08000000>; 21 21 }; ··· 44 44 45 45 gpio-keys { 46 46 compatible = "gpio-keys"; 47 - #address-cells = <1>; 48 - #size-cells = <0>; 49 47 50 48 restart { 51 49 label = "Reset";
+1 -3
arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
··· 16 16 bootargs = "console=ttyS0,115200"; 17 17 }; 18 18 19 - memory { 19 + memory@0 { 20 20 device_type = "memory"; 21 21 reg = <0x00000000 0x08000000>; 22 22 }; ··· 88 88 89 89 gpio-keys { 90 90 compatible = "gpio-keys"; 91 - #address-cells = <1>; 92 - #size-cells = <0>; 93 91 94 92 restart { 95 93 label = "Reset";
+1 -3
arch/arm/boot/dts/bcm47094-linksys-panamera.dts
··· 16 16 bootargs = "console=ttyS0,115200"; 17 17 }; 18 18 19 - memory { 19 + memory@0 { 20 20 device_type = "memory"; 21 21 reg = <0x00000000 0x08000000 22 22 0x88000000 0x08000000>; ··· 24 24 25 25 gpio-keys { 26 26 compatible = "gpio-keys"; 27 - #address-cells = <1>; 28 - #size-cells = <0>; 29 27 30 28 wps { 31 29 label = "WPS";
+1 -3
arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts
··· 16 16 bootargs = "earlycon"; 17 17 }; 18 18 19 - memory { 19 + memory@0 { 20 20 device_type = "memory"; 21 21 reg = <0x00000000 0x08000000 22 22 0x88000000 0x18000000>; ··· 43 43 44 44 gpio-keys { 45 45 compatible = "gpio-keys"; 46 - #address-cells = <1>; 47 - #size-cells = <0>; 48 46 49 47 restart { 50 48 label = "Reset";
+1 -3
arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
··· 15 15 bootargs = "earlycon"; 16 16 }; 17 17 18 - memory { 18 + memory@0 { 19 19 device_type = "memory"; 20 20 reg = <0x00000000 0x08000000>; 21 21 }; ··· 42 42 43 43 gpio-keys { 44 44 compatible = "gpio-keys"; 45 - #address-cells = <1>; 46 - #size-cells = <0>; 47 45 48 46 restart { 49 47 label = "Reset";
+1 -3
arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts
··· 16 16 bootargs = "earlycon"; 17 17 }; 18 18 19 - memory { 19 + memory@0 { 20 20 device_type = "memory"; 21 21 reg = <0x00000000 0x08000000 22 22 0x88000000 0x18000000>; ··· 43 43 44 44 gpio-keys { 45 45 compatible = "gpio-keys"; 46 - #address-cells = <1>; 47 - #size-cells = <0>; 48 46 49 47 restart { 50 48 label = "Reset";
+1 -3
arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
··· 16 16 bootargs = "console=ttyS0,115200 earlycon"; 17 17 }; 18 18 19 - memory { 19 + memory@0 { 20 20 device_type = "memory"; 21 21 reg = <0x00000000 0x08000000 22 22 0x88000000 0x08000000>; ··· 83 83 84 84 gpio-keys { 85 85 compatible = "gpio-keys"; 86 - #address-cells = <1>; 87 - #size-cells = <0>; 88 86 89 87 restart { 90 88 label = "Reset";
+1 -3
arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
··· 16 16 bootargs = "earlycon"; 17 17 }; 18 18 19 - memory { 19 + memory@0 { 20 20 device_type = "memory"; 21 21 reg = <0x00000000 0x08000000 22 22 0x88000000 0x18000000>; ··· 58 58 59 59 gpio-keys { 60 60 compatible = "gpio-keys"; 61 - #address-cells = <1>; 62 - #size-cells = <0>; 63 61 64 62 restart { 65 63 label = "Reset";
+1 -3
arch/arm/boot/dts/bcm47094-netgear-r8500.dts
··· 16 16 bootargs = "console=ttyS0,115200"; 17 17 }; 18 18 19 - memory { 19 + memory@0 { 20 20 device_type = "memory"; 21 21 reg = <0x00000000 0x08000000 22 22 0x88000000 0x18000000>; ··· 64 64 65 65 gpio-keys { 66 66 compatible = "gpio-keys"; 67 - #address-cells = <1>; 68 - #size-cells = <0>; 69 67 70 68 brightness { 71 69 label = "Backlight";
+1 -3
arch/arm/boot/dts/bcm47094-phicomm-k3.dts
··· 13 13 compatible = "phicomm,k3", "brcm,bcm47094", "brcm,bcm4708"; 14 14 model = "Phicomm K3"; 15 15 16 - memory { 16 + memory@0 { 17 17 device_type = "memory"; 18 18 reg = <0x00000000 0x08000000 19 19 0x88000000 0x18000000>; ··· 21 21 22 22 gpio-keys { 23 23 compatible = "gpio-keys"; 24 - #address-cells = <1>; 25 - #size-cells = <0>; 26 24 27 25 restart { 28 26 label = "Reset";
+4 -6
arch/arm/boot/dts/bcm5301x.dtsi
··· 19 19 #size-cells = <1>; 20 20 interrupt-parent = <&gic>; 21 21 22 - chipcommonA { 22 + chipcommonA@18000000 { 23 23 compatible = "simple-bus"; 24 24 ranges = <0x00000000 0x18000000 0x00001000>; 25 25 #address-cells = <1>; ··· 44 44 }; 45 45 }; 46 46 47 - mpcore { 47 + mpcore@19000000 { 48 48 compatible = "simple-bus"; 49 49 ranges = <0x00000000 0x19000000 0x00023000>; 50 50 #address-cells = <1>; ··· 148 148 }; 149 149 }; 150 150 151 - usb2_phy: usb2-phy { 151 + usb2_phy: usb2-phy@1800c000 { 152 152 compatible = "brcm,ns-usb2-phy"; 153 153 reg = <0x1800c000 0x1000>; 154 154 reg-names = "dmu"; ··· 357 357 #address-cells = <0>; 358 358 }; 359 359 360 - mdio-bus-mux { 360 + mdio-bus-mux@18003000 { 361 361 compatible = "mdio-mux-mmioreg"; 362 362 mdio-parent-bus = <&mdio>; 363 363 #address-cells = <1>; ··· 464 464 srab: srab@18007000 { 465 465 compatible = "brcm,bcm5301x-srab"; 466 466 reg = <0x18007000 0x1000>; 467 - #address-cells = <1>; 468 - #size-cells = <0>; 469 467 470 468 status = "disabled"; 471 469
+1 -3
arch/arm/boot/dts/bcm953012er.dts
··· 39 39 model = "NorthStar Enterprise Router (BCM953012ER)"; 40 40 compatible = "brcm,bcm953012er", "brcm,brcm53012", "brcm,bcm4708"; 41 41 42 - memory { 42 + memory@0 { 43 43 device_type = "memory"; 44 44 reg = <0x00000000 0x8000000>; 45 45 }; 46 46 47 47 gpio-keys { 48 48 compatible = "gpio-keys"; 49 - #address-cells = <1>; 50 - #size-cells = <0>; 51 49 52 50 wps { 53 51 label = "WPS";
+1 -1
arch/arm/boot/dts/bcm953012k.dts
··· 43 43 serial1 = &uart1; 44 44 }; 45 45 46 - memory { 46 + memory@80000000 { 47 47 device_type = "memory"; 48 48 reg = <0x80000000 0x10000000>; 49 49 };