mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
4ccad92229
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>
41 lines
711 B
Diff
41 lines
711 B
Diff
--- 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 {
|