]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ARM: dts: imx: Remove #address/#size-cells from switch nodes
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 23 Apr 2018 13:46:12 +0000 (10:46 -0300)
committerShawn Guo <shawnguo@kernel.org>
Mon, 14 May 2018 14:07:50 +0000 (22:07 +0800)
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: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx51-zii-rdu1.dts
arch/arm/boot/dts/imx6q-bx50v3.dtsi
arch/arm/boot/dts/imx6qdl-gw5904.dtsi
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
arch/arm/boot/dts/vf610-zii-dev-rev-b.dts
arch/arm/boot/dts/vf610-zii-dev-rev-c.dts

index 0c99ac04ad08b2fb9e95910ab055d8e539f181d7..991fa0725a8fa3a0c3b00fdfea8915161e1993f9 100644 (file)
 
                switch@0 {
                        compatible = "marvell,mv88e6085";
-                       #address-cells = <1>;
-                       #size-cells = <0>;
                        reg = <0>;
                        dsa,member = <0 0>;
 
index 990e411cbca0e7210621929ebfd83960a690f5ce..d0e7dab4d72b8ac8d0fe7037ec650c7c06fd5642 100644 (file)
 
                switch@0 {
                        compatible = "marvell,mv88e6085"; /* 88e6240*/
-                       #address-cells = <1>;
-                       #size-cells = <0>;
                        reg = <0>;
 
                        switch_ports: ports {
index 58124adfd65b55b2f43e18844f1927f131898ef0..3c52bdb453f332cacbd0f7438cc5d799f3a2758b 100644 (file)
 
                switch@0 {
                        compatible = "marvell,mv88e6085";
-                       #address-cells = <1>;
-                       #size-cells = <0>;
                        reg = <0>;
 
                        ports {
index 2696746ed65e6640cfdf7e436b608af6706c4834..19a075aee19eabfb5ac2b127db45199bca2f0d6a 100644 (file)
                        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>;
index 782b69a3acdfaef71b3e035a79c3da1e707c8c20..bd79e00bf6153a5a66c4e63025ed3ee73ec69dae 100644 (file)
@@ -70,8 +70,6 @@
                                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>;
                                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>;
 
                        switch2: switch@0 {
                                compatible = "marvell,mv88e6085";
-                               #address-cells = <1>;
-                               #size-cells = <0>;
                                reg = <0>;
                                dsa,member = <0 2>;
 
index c6f134c78303fa0c733394cf46f6d62de7480a5d..0b1e94c6f25bd0867c9eee3c603cd2bf1da8ec7d 100644 (file)
@@ -69,8 +69,6 @@
                                compatible = "marvell,mv88e6190";
                                pinctrl-0 = <&pinctrl_gpio_switch0>;
                                pinctrl-names = "default";
-                               #address-cells = <1>;
-                               #size-cells = <0>;
                                reg = <0>;
                                dsa,member = <0 0>;
                                eeprom-length = <65536>;
                                compatible = "marvell,mv88e6190";
                                pinctrl-0 = <&pinctrl_gpio_switch1>;
                                pinctrl-names = "default";
-                               #address-cells = <1>;
-                               #size-cells = <0>;
                                reg = <0>;
                                dsa,member = <0 1>;
                                eeprom-length = <65536>;