提交 e1cf3de2 编写于 作者: F Fabio Estevam 提交者: 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: NFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: NShawn Guo <shawnguo@kernel.org>
上级 122e1bac
...@@ -207,8 +207,6 @@ ...@@ -207,8 +207,6 @@
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 @@ ...@@ -107,8 +107,6 @@
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 @@ ...@@ -162,8 +162,6 @@
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 @@ ...@@ -688,8 +688,6 @@
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 @@ ...@@ -70,8 +70,6 @@
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 @@ ...@@ -156,8 +154,6 @@
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 @@ ...@@ -243,8 +239,6 @@
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 @@ ...@@ -69,8 +69,6 @@
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 @@ ...@@ -166,8 +164,6 @@
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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册