treewide: dts: fix dtc compiler warnings
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>
This commit is contained in:
parent
b9f609161d
commit
de40d45363
8 changed files with 10 additions and 57 deletions
|
@ -14,7 +14,7 @@
|
|||
|
||||
spi-gpio {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "spi-gpio";
|
||||
|
||||
gpio-mosi = <&gpio0 7 0>;
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
spi-gpio {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "spi-gpio";
|
||||
|
||||
gpio-mosi = <&gpio0 7 0>;
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
spi-gpio {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "spi-gpio";
|
||||
|
||||
gpio-mosi = <&gpio0 7 0>;
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
spi-gpio {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "spi-gpio";
|
||||
|
||||
gpio-mosi = <&gpio0 7 0>;
|
||||
|
|
|
@ -408,19 +408,6 @@
|
|||
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 {
|
||||
|
|
|
@ -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 {
|
|
@ -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>;
|
||||
|
|
|
@ -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>;
|
||||
|
|
Loading…
Reference in a new issue