aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/patches-4.9/105-ea4500.patch
diff options
context:
space:
mode:
authorPaul Wassi <p.wassi@gmx.at>2017-03-10 19:10:29 +0100
committerMathias Kresin <dev@kresin.me>2017-07-04 16:29:07 +0200
commit9808b9ae0248f0e2b525493f10752b2b9fc9fde4 (patch)
tree49c36ed203fd79d89e06a5e1cf833e469d2a236c /target/linux/kirkwood/patches-4.9/105-ea4500.patch
parent08c499f865a1a42ed50e70c8ff68b9916a5033f1 (diff)
downloadupstream-9808b9ae0248f0e2b525493f10752b2b9fc9fde4.tar.gz
upstream-9808b9ae0248f0e2b525493f10752b2b9fc9fde4.tar.bz2
upstream-9808b9ae0248f0e2b525493f10752b2b9fc9fde4.zip
kirkwood: switch to kernel 4.9
Add patches-4.9, some of them (heavily) rewritten: - ea4500 is upstream available, keep only LEDE changes in dts - ea3500 is changed to match the structure of the upstream ea4500 dts - nsa310s rewritten to include the common dtsi - nsa325 is dropped, since already upstream Signed-off-by: Paul Wassi <p.wassi@gmx.at> Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it> [refresh kernel config, add on100, use the switchdev based mv88e6171 driver for the linksys boards, keep lede specific rootfs/kernel partition names for linksys boards, reorder patches] Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/kirkwood/patches-4.9/105-ea4500.patch')
-rw-r--r--target/linux/kirkwood/patches-4.9/105-ea4500.patch64
1 files changed, 64 insertions, 0 deletions
diff --git a/target/linux/kirkwood/patches-4.9/105-ea4500.patch b/target/linux/kirkwood/patches-4.9/105-ea4500.patch
new file mode 100644
index 0000000000..d76cdace51
--- /dev/null
+++ b/target/linux/kirkwood/patches-4.9/105-ea4500.patch
@@ -0,0 +1,64 @@
+--- a/arch/arm/boot/dts/kirkwood-linksys-viper.dts
++++ b/arch/arm/boot/dts/kirkwood-linksys-viper.dts
+@@ -69,6 +69,17 @@
+ };
+ };
+
++ mvsw61xx {
++ compatible = "marvell,88e6171";
++ status = "okay";
++ reg = <0x10>;
++
++ mii-bus = <&mdio>;
++ cpu-port-0 = <5>;
++ cpu-port-1 = <6>;
++ is-indirect;
++ };
++
+ dsa {
+ compatible = "marvell,dsa";
+ #address-cells = <2>;
+@@ -161,22 +172,22 @@
+ };
+
+ partition@200000 {
+- label = "kernel";
++ label = "kernel1";
+ reg = <0x200000 0x2A0000>;
+ };
+
+ partition@4A0000 {
+- label = "rootfs";
++ label = "rootfs1";
+ reg = <0x4A0000 0x1760000>;
+ };
+
+ partition@1C00000 {
+- label = "alt_kernel";
++ label = "kernel2";
+ reg = <0x1C00000 0x2A0000>;
+ };
+
+ partition@1EA0000 {
+- label = "alt_rootfs";
++ label = "rootfs2";
+ reg = <0x1EA0000 0x1760000>;
+ };
+
+@@ -225,10 +236,14 @@
+ };
+
+ /* eth1 is connected to the switch at port 6. However DSA only supports a
+- * single CPU port. So leave this port disabled to avoid confusion.
++ * single CPU port. Upstream uses DSA so they disable this port to avoid confusion.
+ */
+ &eth1 {
+- status = "disabled";
++ status = "okay";
++ ethernet1-port@0 {
++ speed = <1000>;
++ duplex = <1>;
++ };
+ };
+
+ /* There is no battery on the board, so the RTC does not keep