mediatek: add new dts files for mt7622 to v4.14
[oweals/openwrt.git] / target / linux / gemini / patches-4.14 / 0033-ARM-dts-Fix-bootargs-for-Gemini-D-Link-devices.patch
1 From 5813b729eb9fe91fcf895a5c2f30bf34fbd46379 Mon Sep 17 00:00:00 2001
2 From: Linus Walleij <linus.walleij@linaro.org>
3 Date: Wed, 2 May 2018 09:17:25 +0200
4 Subject: [PATCH] ARM: dts: Fix bootargs for Gemini D-Link devices
5
6 These machines need to be booted from very specific harddisk
7 partitions (as the D-Link DNS-313 boots specifically from
8 partition 4). Add the proper bootargs so that everything works
9 smoothly.
10
11 Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
12 ---
13  arch/arm/boot/dts/gemini-dlink-dir-685.dts | 3 ++-
14  arch/arm/boot/dts/gemini-dlink-dns-313.dts | 1 +
15  2 files changed, 3 insertions(+), 1 deletion(-)
16
17 --- a/arch/arm/boot/dts/gemini-dlink-dir-685.dts
18 +++ b/arch/arm/boot/dts/gemini-dlink-dir-685.dts
19 @@ -20,7 +20,8 @@
20         };
21  
22         chosen {
23 -               stdout-path = "uart0:115200n8";
24 +               bootargs = "console=ttyS0,19200n8 root=/dev/sda1 rw rootwait";
25 +               stdout-path = "uart0:19200n8";
26         };
27  
28         gpio_keys {
29 --- a/arch/arm/boot/dts/gemini-dlink-dns-313.dts
30 +++ b/arch/arm/boot/dts/gemini-dlink-dns-313.dts
31 @@ -26,6 +26,7 @@
32         };
33  
34         chosen {
35 +               bootargs = "console=ttyS0,19200n8 root=/dev/sda4 rw rootwait";
36                 stdout-path = "uart0:19200n8";
37         };
38