treewide: dts: fix dtc compiler warnings
authorMathias Kresin <dev@kresin.me>
Thu, 10 Nov 2016 05:22:50 +0000 (06:22 +0100)
committerMathias Kresin <dev@kresin.me>
Sat, 12 Nov 2016 20:04:15 +0000 (21:04 +0100)
Fixes invalid device tree parameters.

Drop the mvsw61xx node used in mvebu device tree source files. It looks
like some kind of ethernet switch cargo cult. Neither the
marvell,88e6352 nor the marvell,88e6172 compatible strings can be found
in any LEDE file or in the kernel sources.

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/brcm63xx/dts/ct-6373.dts
target/linux/brcm63xx/dts/homehub2a.dts
target/linux/brcm63xx/dts/nb4-fxc-r1.dts
target/linux/brcm63xx/dts/nb4-ser-r0.dts
target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts
target/linux/mvebu/patches-4.4/003-add_switch_nodes.patch [deleted file]
target/linux/ramips/dts/ALL5002.dts
target/linux/ramips/dts/ALL5003.dts

index 2d5d8fa7e4796071364560e106a58c48e56fd6db..f2a5842c690b57c0d47a93e807fcc86e9e53ea5f 100644 (file)
@@ -14,7 +14,7 @@
 
        spi-gpio {
                #address-cells = <1>;
-               #size-cells = <1>;
+               #size-cells = <0>;
                compatible = "spi-gpio";
 
                gpio-mosi = <&gpio0 7 0>;
index 8d0accdb933c0e2b4d6cee0c45cebab86b1e5ee8..af5136c88243f5b21761281aba7e2e1e439dcf99 100644 (file)
@@ -14,7 +14,7 @@
 
        spi-gpio {
                #address-cells = <1>;
-               #size-cells = <1>;
+               #size-cells = <0>;
                compatible = "spi-gpio";
 
                gpio-mosi = <&gpio0 7 0>;
index e1f55fde919917ad88e6a083335e8de8f818a5a0..2e43dd0d2ceb394897a99f93304fef9b510c9c95 100644 (file)
@@ -14,7 +14,7 @@
 
        spi-gpio {
                #address-cells = <1>;
-               #size-cells = <1>;
+               #size-cells = <0>;
                compatible = "spi-gpio";
 
                gpio-mosi = <&gpio0 7 0>;
index 3044516cf82419afee82690dd28a3a6499184d2c..1b9e4bc10310102bf11f89b674a3f7b2f0f0f207 100644 (file)
@@ -14,7 +14,7 @@
 
        spi-gpio {
                #address-cells = <1>;
-               #size-cells = <1>;
+               #size-cells = <0>;
                compatible = "spi-gpio";
 
                gpio-mosi = <&gpio0 7 0>;
index 00461255296e5b9e604510614a80acbdffc872a6..eeb179999f2c83e5c127f8c95c7047db65effe3c 100644 (file)
                        label = "rango:white:sata";
                };
        };
-
-       mvsw61xx {
-               #address-cells = <1>;
-               #size-cells = <0>;
-               compatible = "marvell,88e6352";
-               status = "okay";
-               reg = <0x10>;
-
-               mii-bus = <&mdio>;
-               cpu-port-0 = <5>;
-               cpu-port-1 = <6>;
-       };
-
 };
 
 &pinctrl {
diff --git a/target/linux/mvebu/patches-4.4/003-add_switch_nodes.patch b/target/linux/mvebu/patches-4.4/003-add_switch_nodes.patch
deleted file mode 100644 (file)
index 1502b6b..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
---- a/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
-+++ b/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
-@@ -467,6 +467,16 @@
-                       };
-               };
-       };
-+
-+      mvsw61xx {
-+              compatible = "marvell,88e6172";
-+              status = "okay";
-+              reg = <0x10>;
-+
-+              mii-bus = <&mdio>;
-+              cpu-port-0 = <5>;
-+              cpu-port-1 = <6>;
-+      };
- };
- &pinctrl {
---- a/arch/arm/boot/dts/armada-385-linksys.dtsi
-+++ b/arch/arm/boot/dts/armada-385-linksys.dtsi
-@@ -309,6 +309,18 @@
-                       };
-               };
-       };
-+
-+      mvsw61xx {
-+              #address-cells = <1>;
-+              #size-cells = <0>;
-+              compatible = "marvell,88e6176";
-+              status = "okay";
-+              reg = <0x10>;
-+
-+              mii-bus = <&mdio>;
-+              cpu-port-0 = <5>;
-+              cpu-port-1 = <6>;
-+      };
- };
- &pinctrl {
index 14bbdcdf12246c72c3aba7cd2a2253936a01dc4f..66ed0179a33effe88e60ab05cb8d57bf0bc21145 100644 (file)
@@ -7,6 +7,9 @@
        model = "Allnet ALL5002";
 
        i2c-gpio {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                compatible = "i2c-gpio";
                gpios = <&gpio0 1 0 &gpio0 2 0>;
                i2c-gpio,delay-us = <10>;
index 432dd516ff2f16e7d8f8c269803cb623fb02907a..dfb97e6d9b9362bd12730d8e66185b71aeb232a4 100644 (file)
@@ -7,6 +7,9 @@
        model = "Allnet ALL5003";
 
        i2c-gpio {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                compatible = "i2c-gpio";
                gpios = <&gpio0 1 0 &gpio0 2 0>;
                i2c-gpio,delay-us = <10>;