aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/patches-4.14/003-add_switch_nodes.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2017-12-21 12:13:30 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2018-02-13 22:29:56 +0100
commit4ccad922293a729369712026f647f85266322851 (patch)
tree9eb0ce493cf7610fe4bf2d327fdabb02ffc380e1 /target/linux/mvebu/patches-4.14/003-add_switch_nodes.patch
parent47106f55e0b630ea448ea4e5be67b6791c0d7a93 (diff)
downloadupstream-4ccad922293a729369712026f647f85266322851.tar.gz
upstream-4ccad922293a729369712026f647f85266322851.tar.bz2
upstream-4ccad922293a729369712026f647f85266322851.zip
mvebu: Add support for kernel 4.14
Add support for kernel 4.14 to the mvebu target. This also replaces the old sfp and phylink patches with new versions from Russell's clearfog-4.13 branch http://git.arm.linux.org.uk/cgit/linux-arm.git/log/?h=clearfog-4.13 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/mvebu/patches-4.14/003-add_switch_nodes.patch')
-rw-r--r--target/linux/mvebu/patches-4.14/003-add_switch_nodes.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/target/linux/mvebu/patches-4.14/003-add_switch_nodes.patch b/target/linux/mvebu/patches-4.14/003-add_switch_nodes.patch
new file mode 100644
index 0000000000..5d43d9f0f8
--- /dev/null
+++ b/target/linux/mvebu/patches-4.14/003-add_switch_nodes.patch
@@ -0,0 +1,40 @@
+--- a/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
++++ b/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
+@@ -361,6 +361,16 @@
+ };
+ };
+ };
++
++ mvsw61xx {
++ compatible = "marvell,88e6172";
++ status = "okay";
++ reg = <0x10>;
++
++ mii-bus = <&mdio>;
++ cpu-port-0 = <5>;
++ cpu-port-1 = <6>;
++ };
+ };
+
+ &pciec {
+--- a/arch/arm/boot/dts/armada-385-linksys.dtsi
++++ b/arch/arm/boot/dts/armada-385-linksys.dtsi
+@@ -113,6 +113,18 @@
+ linux,default-trigger = "disk-activity";
+ };
+ };
++
++ 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>;
++ };
+ };
+
+ &ahci0 {