mvebu: revert remove of mvsw61xx device tree nodes
authorMathias Kresin <dev@kresin.me>
Sun, 13 Nov 2016 07:57:56 +0000 (08:57 +0100)
committerMathias Kresin <dev@kresin.me>
Sun, 13 Nov 2016 08:03:52 +0000 (09:03 +0100)
The marvell,88e6352 and marvell,88e6172 compatible strings are used in
target/linux/generic/files/drivers/net/phy/mvsw61xx.c. No idea why grep
missed them when I searched for them.

Thanks to Syrone Wong for noticing and reporting my mistake.

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts
target/linux/mvebu/patches-4.4/003-add_switch_nodes.patch [new file with mode: 0644]

index eeb179999f2c83e5c127f8c95c7047db65effe3c..00461255296e5b9e604510614a80acbdffc872a6 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
new file mode 100644 (file)
index 0000000..1502b6b
--- /dev/null
@@ -0,0 +1,40 @@
+--- 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 {