Commit dfa84bb9 authored by Florian Fainelli's avatar Florian Fainelli

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: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent 875e2f5f
...@@ -19,7 +19,7 @@ chosen { ...@@ -19,7 +19,7 @@ chosen {
bootargs = "console=ttyS0,115200"; bootargs = "console=ttyS0,115200";
}; };
memory { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x08000000 reg = <0x00000000 0x08000000
0x88000000 0x08000000>; 0x88000000 0x08000000>;
...@@ -69,8 +69,6 @@ usb2 { ...@@ -69,8 +69,6 @@ usb2 {
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
rfkill { rfkill {
label = "WiFi"; label = "WiFi";
......
...@@ -19,7 +19,7 @@ chosen { ...@@ -19,7 +19,7 @@ chosen {
bootargs = "console=ttyS0,115200"; bootargs = "console=ttyS0,115200";
}; };
memory { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x08000000 reg = <0x00000000 0x08000000
0x88000000 0x08000000>; 0x88000000 0x08000000>;
...@@ -53,8 +53,6 @@ usb3 { ...@@ -53,8 +53,6 @@ usb3 {
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
brightness { brightness {
label = "Backlight"; label = "Backlight";
......
...@@ -19,7 +19,7 @@ chosen { ...@@ -19,7 +19,7 @@ chosen {
bootargs = "console=ttyS0,115200 earlycon"; bootargs = "console=ttyS0,115200 earlycon";
}; };
memory { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x08000000 reg = <0x00000000 0x08000000
0x88000000 0x18000000>; 0x88000000 0x18000000>;
...@@ -99,8 +99,6 @@ wireless1 { ...@@ -99,8 +99,6 @@ wireless1 {
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
restart { restart {
label = "Reset"; label = "Reset";
......
...@@ -16,15 +16,13 @@ chosen { ...@@ -16,15 +16,13 @@ chosen {
bootargs = "console=ttyS0,115200"; bootargs = "console=ttyS0,115200";
}; };
memory { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000>;
}; };
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
wps { wps {
label = "WPS"; label = "WPS";
......
...@@ -17,15 +17,13 @@ chosen { ...@@ -17,15 +17,13 @@ chosen {
bootargs = "console=ttyS0,115200"; bootargs = "console=ttyS0,115200";
}; };
memory { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000>;
}; };
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
wps { wps {
label = "WPS"; label = "WPS";
......
...@@ -15,7 +15,7 @@ chosen { ...@@ -15,7 +15,7 @@ chosen {
bootargs = "console=ttyS0,115200 earlycon"; bootargs = "console=ttyS0,115200 earlycon";
}; };
memory { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000>;
}; };
...@@ -44,8 +44,6 @@ status { ...@@ -44,8 +44,6 @@ status {
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
restart { restart {
label = "Reset"; label = "Reset";
......
...@@ -19,7 +19,7 @@ chosen { ...@@ -19,7 +19,7 @@ chosen {
bootargs = "console=ttyS0,115200 earlycon"; bootargs = "console=ttyS0,115200 earlycon";
}; };
memory { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000>;
}; };
...@@ -51,8 +51,6 @@ status { ...@@ -51,8 +51,6 @@ status {
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
restart { restart {
label = "Reset"; label = "Reset";
......
...@@ -62,8 +62,6 @@ wireless { ...@@ -62,8 +62,6 @@ wireless {
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
wps { wps {
label = "WPS"; label = "WPS";
......
...@@ -19,7 +19,7 @@ chosen { ...@@ -19,7 +19,7 @@ chosen {
bootargs = "console=ttyS0,115200"; bootargs = "console=ttyS0,115200";
}; };
memory { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x08000000 reg = <0x00000000 0x08000000
0x88000000 0x08000000>; 0x88000000 0x08000000>;
...@@ -58,8 +58,6 @@ wireless { ...@@ -58,8 +58,6 @@ wireless {
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
wps { wps {
label = "WPS"; label = "WPS";
......
...@@ -19,7 +19,7 @@ chosen { ...@@ -19,7 +19,7 @@ chosen {
bootargs = "console=ttyS0,115200 earlycon"; bootargs = "console=ttyS0,115200 earlycon";
}; };
memory { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x08000000 reg = <0x00000000 0x08000000
0x88000000 0x08000000>; 0x88000000 0x08000000>;
...@@ -93,8 +93,6 @@ wan-red { ...@@ -93,8 +93,6 @@ wan-red {
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
rfkill { rfkill {
label = "WiFi"; label = "WiFi";
......
...@@ -19,7 +19,7 @@ chosen { ...@@ -19,7 +19,7 @@ chosen {
bootargs = "console=ttyS0,115200"; bootargs = "console=ttyS0,115200";
}; };
memory { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x08000000 reg = <0x00000000 0x08000000
0x88000000 0x08000000>; 0x88000000 0x08000000>;
...@@ -59,8 +59,6 @@ usb3 { ...@@ -59,8 +59,6 @@ usb3 {
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
restart { restart {
label = "Reset"; label = "Reset";
......
...@@ -19,7 +19,7 @@ chosen { ...@@ -19,7 +19,7 @@ chosen {
bootargs = "console=ttyS0,115200 earlycon"; bootargs = "console=ttyS0,115200 earlycon";
}; };
memory { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x08000000 reg = <0x00000000 0x08000000
0x88000000 0x08000000>; 0x88000000 0x08000000>;
...@@ -90,8 +90,6 @@ wireless1 { ...@@ -90,8 +90,6 @@ wireless1 {
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
aoss { aoss {
label = "AOSS"; label = "AOSS";
......
...@@ -19,7 +19,7 @@ chosen { ...@@ -19,7 +19,7 @@ chosen {
bootargs = "console=ttyS0,115200"; bootargs = "console=ttyS0,115200";
}; };
memory { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x08000000 reg = <0x00000000 0x08000000
0x88000000 0x08000000>; 0x88000000 0x08000000>;
...@@ -95,8 +95,6 @@ wireless1 { ...@@ -95,8 +95,6 @@ wireless1 {
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
restart { restart {
label = "Reset"; label = "Reset";
......
...@@ -15,7 +15,7 @@ chosen { ...@@ -15,7 +15,7 @@ chosen {
bootargs = "console=ttyS0,115200"; bootargs = "console=ttyS0,115200";
}; };
memory { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000>;
}; };
...@@ -44,8 +44,6 @@ status { ...@@ -44,8 +44,6 @@ status {
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
restart { restart {
label = "Reset"; label = "Reset";
......
...@@ -16,7 +16,7 @@ chosen { ...@@ -16,7 +16,7 @@ chosen {
bootargs = "console=ttyS0,115200"; bootargs = "console=ttyS0,115200";
}; };
memory { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000>;
}; };
...@@ -88,8 +88,6 @@ lan1 { ...@@ -88,8 +88,6 @@ lan1 {
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
restart { restart {
label = "Reset"; label = "Reset";
......
...@@ -15,7 +15,7 @@ chosen { ...@@ -15,7 +15,7 @@ chosen {
bootargs = "earlycon"; bootargs = "earlycon";
}; };
memory { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000>;
}; };
...@@ -76,8 +76,6 @@ usb2-port2 { ...@@ -76,8 +76,6 @@ usb2-port2 {
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
rfkill { rfkill {
label = "WiFi"; label = "WiFi";
......
...@@ -19,7 +19,7 @@ chosen { ...@@ -19,7 +19,7 @@ chosen {
bootargs = "console=ttyS0,115200 earlycon"; bootargs = "console=ttyS0,115200 earlycon";
}; };
memory { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x08000000 reg = <0x00000000 0x08000000
0x88000000 0x08000000>; 0x88000000 0x08000000>;
...@@ -85,8 +85,6 @@ usb3-white { ...@@ -85,8 +85,6 @@ usb3-white {
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
wps { wps {
label = "WPS"; label = "WPS";
......
...@@ -16,7 +16,7 @@ chosen { ...@@ -16,7 +16,7 @@ chosen {
bootargs = "console=ttyS0,115200"; bootargs = "console=ttyS0,115200";
}; };
memory { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x08000000 reg = <0x00000000 0x08000000
0x88000000 0x08000000>; 0x88000000 0x08000000>;
...@@ -24,8 +24,6 @@ memory { ...@@ -24,8 +24,6 @@ memory {
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
wps { wps {
label = "WPS"; label = "WPS";
......
...@@ -16,7 +16,7 @@ chosen { ...@@ -16,7 +16,7 @@ chosen {
bootargs = "earlycon"; bootargs = "earlycon";
}; };
memory { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x08000000 reg = <0x00000000 0x08000000
0x88000000 0x18000000>; 0x88000000 0x18000000>;
...@@ -43,8 +43,6 @@ usb3 { ...@@ -43,8 +43,6 @@ usb3 {
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
restart { restart {
label = "Reset"; label = "Reset";
......
...@@ -15,7 +15,7 @@ chosen { ...@@ -15,7 +15,7 @@ chosen {
bootargs = "earlycon"; bootargs = "earlycon";
}; };
memory { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000>;
}; };
...@@ -42,8 +42,6 @@ status { ...@@ -42,8 +42,6 @@ status {
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
restart { restart {
label = "Reset"; label = "Reset";
......
...@@ -16,7 +16,7 @@ chosen { ...@@ -16,7 +16,7 @@ chosen {
bootargs = "earlycon"; bootargs = "earlycon";
}; };
memory { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x08000000 reg = <0x00000000 0x08000000
0x88000000 0x18000000>; 0x88000000 0x18000000>;
...@@ -43,8 +43,6 @@ usb3 { ...@@ -43,8 +43,6 @@ usb3 {
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
restart { restart {
label = "Reset"; label = "Reset";
......
...@@ -16,7 +16,7 @@ chosen { ...@@ -16,7 +16,7 @@ chosen {
bootargs = "console=ttyS0,115200 earlycon"; bootargs = "console=ttyS0,115200 earlycon";
}; };
memory { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x08000000 reg = <0x00000000 0x08000000
0x88000000 0x08000000>; 0x88000000 0x08000000>;
...@@ -83,8 +83,6 @@ status { ...@@ -83,8 +83,6 @@ status {
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
restart { restart {
label = "Reset"; label = "Reset";
......
...@@ -16,7 +16,7 @@ chosen { ...@@ -16,7 +16,7 @@ chosen {
bootargs = "earlycon"; bootargs = "earlycon";
}; };
memory { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x08000000 reg = <0x00000000 0x08000000
0x88000000 0x18000000>; 0x88000000 0x18000000>;
...@@ -58,8 +58,6 @@ status { ...@@ -58,8 +58,6 @@ status {
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
restart { restart {
label = "Reset"; label = "Reset";
......
...@@ -16,7 +16,7 @@ chosen { ...@@ -16,7 +16,7 @@ chosen {
bootargs = "console=ttyS0,115200"; bootargs = "console=ttyS0,115200";
}; };
memory { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x08000000 reg = <0x00000000 0x08000000
0x88000000 0x18000000>; 0x88000000 0x18000000>;
...@@ -64,8 +64,6 @@ usb3 { ...@@ -64,8 +64,6 @@ usb3 {
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
brightness { brightness {
label = "Backlight"; label = "Backlight";
......
...@@ -13,7 +13,7 @@ / { ...@@ -13,7 +13,7 @@ / {
compatible = "phicomm,k3", "brcm,bcm47094", "brcm,bcm4708"; compatible = "phicomm,k3", "brcm,bcm47094", "brcm,bcm4708";
model = "Phicomm K3"; model = "Phicomm K3";
memory { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x08000000 reg = <0x00000000 0x08000000
0x88000000 0x18000000>; 0x88000000 0x18000000>;
...@@ -21,8 +21,6 @@ memory { ...@@ -21,8 +21,6 @@ memory {
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
restart { restart {
label = "Reset"; label = "Reset";
......
...@@ -19,7 +19,7 @@ / { ...@@ -19,7 +19,7 @@ / {
#size-cells = <1>; #size-cells = <1>;
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
chipcommonA { chipcommonA@18000000 {
compatible = "simple-bus"; compatible = "simple-bus";
ranges = <0x00000000 0x18000000 0x00001000>; ranges = <0x00000000 0x18000000 0x00001000>;
#address-cells = <1>; #address-cells = <1>;
...@@ -44,7 +44,7 @@ uart1: serial@400 { ...@@ -44,7 +44,7 @@ uart1: serial@400 {
}; };
}; };
mpcore { mpcore@19000000 {
compatible = "simple-bus"; compatible = "simple-bus";
ranges = <0x00000000 0x19000000 0x00023000>; ranges = <0x00000000 0x19000000 0x00023000>;
#address-cells = <1>; #address-cells = <1>;
...@@ -148,7 +148,7 @@ periph_clk: periph_clk { ...@@ -148,7 +148,7 @@ periph_clk: periph_clk {
}; };
}; };
usb2_phy: usb2-phy { usb2_phy: usb2-phy@1800c000 {
compatible = "brcm,ns-usb2-phy"; compatible = "brcm,ns-usb2-phy";
reg = <0x1800c000 0x1000>; reg = <0x1800c000 0x1000>;
reg-names = "dmu"; reg-names = "dmu";
...@@ -357,7 +357,7 @@ mdio: mdio@18003000 { ...@@ -357,7 +357,7 @@ mdio: mdio@18003000 {
#address-cells = <0>; #address-cells = <0>;
}; };
mdio-bus-mux { mdio-bus-mux@18003000 {
compatible = "mdio-mux-mmioreg"; compatible = "mdio-mux-mmioreg";
mdio-parent-bus = <&mdio>; mdio-parent-bus = <&mdio>;
#address-cells = <1>; #address-cells = <1>;
...@@ -464,8 +464,6 @@ thermal: thermal@1800c2c0 { ...@@ -464,8 +464,6 @@ thermal: thermal@1800c2c0 {
srab: srab@18007000 { srab: srab@18007000 {
compatible = "brcm,bcm5301x-srab"; compatible = "brcm,bcm5301x-srab";
reg = <0x18007000 0x1000>; reg = <0x18007000 0x1000>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled"; status = "disabled";
......
...@@ -39,15 +39,13 @@ / { ...@@ -39,15 +39,13 @@ / {
model = "NorthStar Enterprise Router (BCM953012ER)"; model = "NorthStar Enterprise Router (BCM953012ER)";
compatible = "brcm,bcm953012er", "brcm,brcm53012", "brcm,bcm4708"; compatible = "brcm,bcm953012er", "brcm,brcm53012", "brcm,bcm4708";
memory { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x8000000>; reg = <0x00000000 0x8000000>;
}; };
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
wps { wps {
label = "WPS"; label = "WPS";
......
...@@ -43,7 +43,7 @@ aliases { ...@@ -43,7 +43,7 @@ aliases {
serial1 = &uart1; serial1 = &uart1;
}; };
memory { memory@80000000 {
device_type = "memory"; device_type = "memory";
reg = <0x80000000 0x10000000>; reg = <0x80000000 0x10000000>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment