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

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -207,8 +207,6 @@ mdio_gpio: mdio-gpio {

		switch@0 {
			compatible = "marvell,mv88e6085";
			#address-cells = <1>;
			#size-cells = <0>;
			reg = <0>;
			dsa,member = <0 0>;

+0 −2
Original line number Diff line number Diff line
@@ -107,8 +107,6 @@ mdio0: mdio-gpio {

		switch@0 {
			compatible = "marvell,mv88e6085"; /* 88e6240*/
			#address-cells = <1>;
			#size-cells = <0>;
			reg = <0>;

			switch_ports: ports {
+0 −2
Original line number Diff line number Diff line
@@ -162,8 +162,6 @@ mdio {

		switch@0 {
			compatible = "marvell,mv88e6085";
			#address-cells = <1>;
			#size-cells = <0>;
			reg = <0>;

			ports {
+0 −2
Original line number Diff line number Diff line
@@ -688,8 +688,6 @@ switch: switch@0 {
			compatible = "marvell,mv88e6085";
			pinctrl-0 = <&pinctrl_switch_irq>;
			pinctrl-names = "default";
			#address-cells = <1>;
			#size-cells = <0>;
			reg = <0>;
			dsa,member = <0 0>;
			eeprom-length = <512>;
+0 −6
Original line number Diff line number Diff line
@@ -70,8 +70,6 @@ switch0: switch@0 {
				compatible = "marvell,mv88e6085";
				pinctrl-0 = <&pinctrl_gpio_switch0>;
				pinctrl-names = "default";
				#address-cells = <1>;
				#size-cells = <0>;
				reg = <0>;
				dsa,member = <0 0>;
				interrupt-parent = <&gpio0>;
@@ -156,8 +154,6 @@ switch1: switch@0 {
				compatible = "marvell,mv88e6085";
				pinctrl-0 = <&pinctrl_gpio_switch1>;
				pinctrl-names = "default";
				#address-cells = <1>;
				#size-cells = <0>;
				reg = <0>;
				dsa,member = <0 1>;
				interrupt-parent = <&gpio0>;
@@ -243,8 +239,6 @@ mdio_mux_4: mdio@4 {

			switch2: switch@0 {
				compatible = "marvell,mv88e6085";
				#address-cells = <1>;
				#size-cells = <0>;
				reg = <0>;
				dsa,member = <0 2>;

Loading