Commit e1cf3de2 authored by Fabio Estevam's avatar Fabio Estevam Committed by Shawn Guo

ARM: dts: imx: Remove #address/#size-cells from switch nodes

Remove unnecessary #address-cells/#size-cells from the switch nodes
to fix the following DTC warnings:

arch/arm/boot/dts/imx6q-b450v3.dtb: Warning (avoid_unnecessary_addr_size): /mdio-gpio/switch@0: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
Signed-off-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 122e1bac
...@@ -207,8 +207,6 @@ mdio_gpio: mdio-gpio { ...@@ -207,8 +207,6 @@ mdio_gpio: mdio-gpio {
switch@0 { switch@0 {
compatible = "marvell,mv88e6085"; compatible = "marvell,mv88e6085";
#address-cells = <1>;
#size-cells = <0>;
reg = <0>; reg = <0>;
dsa,member = <0 0>; dsa,member = <0 0>;
......
...@@ -107,8 +107,6 @@ mdio0: mdio-gpio { ...@@ -107,8 +107,6 @@ mdio0: mdio-gpio {
switch@0 { switch@0 {
compatible = "marvell,mv88e6085"; /* 88e6240*/ compatible = "marvell,mv88e6085"; /* 88e6240*/
#address-cells = <1>;
#size-cells = <0>;
reg = <0>; reg = <0>;
switch_ports: ports { switch_ports: ports {
......
...@@ -162,8 +162,6 @@ mdio { ...@@ -162,8 +162,6 @@ mdio {
switch@0 { switch@0 {
compatible = "marvell,mv88e6085"; compatible = "marvell,mv88e6085";
#address-cells = <1>;
#size-cells = <0>;
reg = <0>; reg = <0>;
ports { ports {
......
...@@ -688,8 +688,6 @@ switch: switch@0 { ...@@ -688,8 +688,6 @@ switch: switch@0 {
compatible = "marvell,mv88e6085"; compatible = "marvell,mv88e6085";
pinctrl-0 = <&pinctrl_switch_irq>; pinctrl-0 = <&pinctrl_switch_irq>;
pinctrl-names = "default"; pinctrl-names = "default";
#address-cells = <1>;
#size-cells = <0>;
reg = <0>; reg = <0>;
dsa,member = <0 0>; dsa,member = <0 0>;
eeprom-length = <512>; eeprom-length = <512>;
......
...@@ -70,8 +70,6 @@ switch0: switch@0 { ...@@ -70,8 +70,6 @@ switch0: switch@0 {
compatible = "marvell,mv88e6085"; compatible = "marvell,mv88e6085";
pinctrl-0 = <&pinctrl_gpio_switch0>; pinctrl-0 = <&pinctrl_gpio_switch0>;
pinctrl-names = "default"; pinctrl-names = "default";
#address-cells = <1>;
#size-cells = <0>;
reg = <0>; reg = <0>;
dsa,member = <0 0>; dsa,member = <0 0>;
interrupt-parent = <&gpio0>; interrupt-parent = <&gpio0>;
...@@ -156,8 +154,6 @@ switch1: switch@0 { ...@@ -156,8 +154,6 @@ switch1: switch@0 {
compatible = "marvell,mv88e6085"; compatible = "marvell,mv88e6085";
pinctrl-0 = <&pinctrl_gpio_switch1>; pinctrl-0 = <&pinctrl_gpio_switch1>;
pinctrl-names = "default"; pinctrl-names = "default";
#address-cells = <1>;
#size-cells = <0>;
reg = <0>; reg = <0>;
dsa,member = <0 1>; dsa,member = <0 1>;
interrupt-parent = <&gpio0>; interrupt-parent = <&gpio0>;
...@@ -243,8 +239,6 @@ mdio_mux_4: mdio@4 { ...@@ -243,8 +239,6 @@ mdio_mux_4: mdio@4 {
switch2: switch@0 { switch2: switch@0 {
compatible = "marvell,mv88e6085"; compatible = "marvell,mv88e6085";
#address-cells = <1>;
#size-cells = <0>;
reg = <0>; reg = <0>;
dsa,member = <0 2>; dsa,member = <0 2>;
......
...@@ -69,8 +69,6 @@ switch0: switch@0 { ...@@ -69,8 +69,6 @@ switch0: switch@0 {
compatible = "marvell,mv88e6190"; compatible = "marvell,mv88e6190";
pinctrl-0 = <&pinctrl_gpio_switch0>; pinctrl-0 = <&pinctrl_gpio_switch0>;
pinctrl-names = "default"; pinctrl-names = "default";
#address-cells = <1>;
#size-cells = <0>;
reg = <0>; reg = <0>;
dsa,member = <0 0>; dsa,member = <0 0>;
eeprom-length = <65536>; eeprom-length = <65536>;
...@@ -166,8 +164,6 @@ switch1: switch@0 { ...@@ -166,8 +164,6 @@ switch1: switch@0 {
compatible = "marvell,mv88e6190"; compatible = "marvell,mv88e6190";
pinctrl-0 = <&pinctrl_gpio_switch1>; pinctrl-0 = <&pinctrl_gpio_switch1>;
pinctrl-names = "default"; pinctrl-names = "default";
#address-cells = <1>;
#size-cells = <0>;
reg = <0>; reg = <0>;
dsa,member = <0 1>; dsa,member = <0 1>;
eeprom-length = <65536>; eeprom-length = <65536>;
......
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