Skip to content

Commit

Permalink
ARM: dts: BCM5301X: Fix most DTC W=1 warnings
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ffainelli committed Jun 23, 2019
1 parent 875e2f5 commit dfa84bb
Show file tree
Hide file tree
Showing 28 changed files with 30 additions and 84 deletions.
4 changes: 1 addition & 3 deletions arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
bootargs = "console=ttyS0,115200";
};

memory {
memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
Expand Down Expand Up @@ -69,8 +69,6 @@

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

rfkill {
label = "WiFi";
Expand Down
4 changes: 1 addition & 3 deletions arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
bootargs = "console=ttyS0,115200";
};

memory {
memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
Expand Down Expand Up @@ -53,8 +53,6 @@

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

brightness {
label = "Backlight";
Expand Down
4 changes: 1 addition & 3 deletions arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
bootargs = "console=ttyS0,115200 earlycon";
};

memory {
memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000
0x88000000 0x18000000>;
Expand Down Expand Up @@ -99,8 +99,6 @@

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

restart {
label = "Reset";
Expand Down
4 changes: 1 addition & 3 deletions arch/arm/boot/dts/bcm4708-linksys-ea6300-v1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,13 @@
bootargs = "console=ttyS0,115200";
};

memory {
memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000>;
};

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

wps {
label = "WPS";
Expand Down
4 changes: 1 addition & 3 deletions arch/arm/boot/dts/bcm4708-linksys-ea6500-v2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,13 @@
bootargs = "console=ttyS0,115200";
};

memory {
memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000>;
};

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

wps {
label = "WPS";
Expand Down
4 changes: 1 addition & 3 deletions arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
bootargs = "console=ttyS0,115200 earlycon";
};

memory {
memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000>;
};
Expand Down Expand Up @@ -44,8 +44,6 @@

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

restart {
label = "Reset";
Expand Down
4 changes: 1 addition & 3 deletions arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
bootargs = "console=ttyS0,115200 earlycon";
};

memory {
memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000>;
};
Expand Down Expand Up @@ -51,8 +51,6 @@

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

restart {
label = "Reset";
Expand Down
2 changes: 0 additions & 2 deletions arch/arm/boot/dts/bcm4708-netgear-r6250.dts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

wps {
label = "WPS";
Expand Down
4 changes: 1 addition & 3 deletions arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
bootargs = "console=ttyS0,115200";
};

memory {
memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
Expand Down Expand Up @@ -58,8 +58,6 @@

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

wps {
label = "WPS";
Expand Down
4 changes: 1 addition & 3 deletions arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
bootargs = "console=ttyS0,115200 earlycon";
};

memory {
memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
Expand Down Expand Up @@ -93,8 +93,6 @@

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

rfkill {
label = "WiFi";
Expand Down
4 changes: 1 addition & 3 deletions arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
bootargs = "console=ttyS0,115200";
};

memory {
memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
Expand Down Expand Up @@ -59,8 +59,6 @@

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

restart {
label = "Reset";
Expand Down
4 changes: 1 addition & 3 deletions arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
bootargs = "console=ttyS0,115200 earlycon";
};

memory {
memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
Expand Down Expand Up @@ -90,8 +90,6 @@

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

aoss {
label = "AOSS";
Expand Down
4 changes: 1 addition & 3 deletions arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
bootargs = "console=ttyS0,115200";
};

memory {
memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
Expand Down Expand Up @@ -95,8 +95,6 @@

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

restart {
label = "Reset";
Expand Down
4 changes: 1 addition & 3 deletions arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
bootargs = "console=ttyS0,115200";
};

memory {
memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000>;
};
Expand Down Expand Up @@ -44,8 +44,6 @@

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

restart {
label = "Reset";
Expand Down
4 changes: 1 addition & 3 deletions arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
bootargs = "console=ttyS0,115200";
};

memory {
memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000>;
};
Expand Down Expand Up @@ -88,8 +88,6 @@

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

restart {
label = "Reset";
Expand Down
4 changes: 1 addition & 3 deletions arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
bootargs = "earlycon";
};

memory {
memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000>;
};
Expand Down Expand Up @@ -76,8 +76,6 @@

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

rfkill {
label = "WiFi";
Expand Down
4 changes: 1 addition & 3 deletions arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
bootargs = "console=ttyS0,115200 earlycon";
};

memory {
memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
Expand Down Expand Up @@ -85,8 +85,6 @@

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

wps {
label = "WPS";
Expand Down
4 changes: 1 addition & 3 deletions arch/arm/boot/dts/bcm47094-linksys-panamera.dts
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,14 @@
bootargs = "console=ttyS0,115200";
};

memory {
memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
};

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

wps {
label = "WPS";
Expand Down
4 changes: 1 addition & 3 deletions arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
bootargs = "earlycon";
};

memory {
memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000
0x88000000 0x18000000>;
Expand All @@ -43,8 +43,6 @@

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

restart {
label = "Reset";
Expand Down
4 changes: 1 addition & 3 deletions arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
bootargs = "earlycon";
};

memory {
memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000>;
};
Expand All @@ -42,8 +42,6 @@

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

restart {
label = "Reset";
Expand Down
4 changes: 1 addition & 3 deletions arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
bootargs = "earlycon";
};

memory {
memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000
0x88000000 0x18000000>;
Expand All @@ -43,8 +43,6 @@

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

restart {
label = "Reset";
Expand Down
4 changes: 1 addition & 3 deletions arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
bootargs = "console=ttyS0,115200 earlycon";
};

memory {
memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
Expand Down Expand Up @@ -83,8 +83,6 @@

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

restart {
label = "Reset";
Expand Down
Loading

0 comments on commit dfa84bb

Please sign in to comment.