aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/patches-4.14/109-pogoplug_v4.patch
diff options
context:
space:
mode:
authorPaul Wassi <p.wassi@gmx.at>2018-03-12 20:50:48 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2018-03-20 21:45:27 +0100
commit1447784a8c33145dd22dbe5f0c7bab56ab9b7d6f (patch)
treec372de1ef07b49a48c51b36d4262b48483266078 /target/linux/kirkwood/patches-4.14/109-pogoplug_v4.patch
parentf21cd9640052a733e1759519e3d7ca0f9453653b (diff)
downloadupstream-1447784a8c33145dd22dbe5f0c7bab56ab9b7d6f.tar.gz
upstream-1447784a8c33145dd22dbe5f0c7bab56ab9b7d6f.tar.bz2
upstream-1447784a8c33145dd22dbe5f0c7bab56ab9b7d6f.zip
kirkwood: add kernel 4.14 support
Add patches for 4.14, undoing upstream changes for Linksys devices regarding DSA. Instead, the switchdev driver marvell,88e6171 is used. Tested-by: Daniel Engberg <daniel.engberg.lists@pyret.net> Tested-by: Alberto Bursi <alberto.bursi@outlook.it> Signed-off-by: Paul Wassi <p.wassi@gmx.at>
Diffstat (limited to 'target/linux/kirkwood/patches-4.14/109-pogoplug_v4.patch')
-rw-r--r--target/linux/kirkwood/patches-4.14/109-pogoplug_v4.patch59
1 files changed, 59 insertions, 0 deletions
diff --git a/target/linux/kirkwood/patches-4.14/109-pogoplug_v4.patch b/target/linux/kirkwood/patches-4.14/109-pogoplug_v4.patch
new file mode 100644
index 0000000000..b4e53cd659
--- /dev/null
+++ b/target/linux/kirkwood/patches-4.14/109-pogoplug_v4.patch
@@ -0,0 +1,59 @@
+--- a/arch/arm/boot/dts/kirkwood-pogoplug-series-4.dts
++++ b/arch/arm/boot/dts/kirkwood-pogoplug-series-4.dts
+@@ -24,6 +24,7 @@
+ };
+
+ chosen {
++ bootargs = "console=ttyS0,115200";
+ stdout-path = "uart0:115200n8";
+ };
+
+@@ -37,8 +38,8 @@
+ eject {
+ debounce_interval = <50>;
+ wakeup-source;
+- linux,code = <KEY_EJECTCD>;
+- label = "Eject Button";
++ linux,code = <KEY_RESTART>;
++ label = "Reset";
+ gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
+ };
+ };
+@@ -137,29 +138,19 @@
+ #size-cells = <1>;
+
+ partition@0 {
+- label = "u-boot";
+- reg = <0x00000000 0x200000>;
++ label = "uboot";
++ reg = <0x00000000 0x1c0000>;
+ read-only;
+ };
+
+- partition@200000 {
+- label = "uImage";
+- reg = <0x00200000 0x300000>;
+- };
+-
+- partition@500000 {
+- label = "uImage2";
+- reg = <0x00500000 0x300000>;
++ partition@1c0000 {
++ label = "uboot_env";
++ reg = <0x001c0000 0x40000>;
+ };
+
+- partition@800000 {
+- label = "failsafe";
+- reg = <0x00800000 0x800000>;
+- };
+-
+- partition@1000000 {
+- label = "root";
+- reg = <0x01000000 0x7000000>;
++ partition@200000 {
++ label = "ubi";
++ reg = <0x00200000 0x7e00000>;
+ };
+ };
+ };