bcm53xx: add first DTS changes queued for the Linux 5.1
[openwrt/staging/wigyori.git] / target / linux / bcm53xx / patches-4.14 / 320-ARM-dts-BCM5301X-Add-serial-to-the-bootargs.patch
1 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
2 Subject: [PATCH] ARM: dts: BCM5301X: Add serial= to the bootargs
3 MIME-Version: 1.0
4 Content-Type: text/plain; charset=UTF-8
5 Content-Transfer-Encoding: 8bit
6
7 It's enough to have proper stdout-path for getting serial working but
8 for some reason LEDE doesn't offer "Please press Enter to activate this
9 console." unless ttyS0 is specified.
10
11 This is a workaround to get serial working in LEDE.
12
13 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
14 ---
15
16 --- a/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts
17 +++ b/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts
18 @@ -12,7 +12,7 @@
19 model = "TP-LINK Archer C5 V2";
20
21 chosen {
22 - bootargs = "earlycon";
23 + bootargs = "console=ttyS0,115200 earlycon";
24 };
25
26 memory {
27 --- a/arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts
28 +++ b/arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts
29 @@ -13,7 +13,7 @@
30 model = "Luxul ABR-4500 V1";
31
32 chosen {
33 - bootargs = "earlycon";
34 + bootargs = "console=ttyS0,115200 earlycon";
35 };
36
37 memory {
38 --- a/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts
39 +++ b/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts
40 @@ -13,7 +13,7 @@
41 model = "Luxul XBR-4500 V1";
42
43 chosen {
44 - bootargs = "earlycon";
45 + bootargs = "console=ttyS0,115200 earlycon";
46 };
47
48 memory {
49 --- a/arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts
50 +++ b/arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts
51 @@ -12,7 +12,7 @@
52 model = "Luxul XAP-1440 V1";
53
54 chosen {
55 - bootargs = "earlycon";
56 + bootargs = "console=ttyS0,115200 earlycon";
57 };
58
59 memory {
60 --- a/arch/arm/boot/dts/bcm47189-luxul-xap-810.dts
61 +++ b/arch/arm/boot/dts/bcm47189-luxul-xap-810.dts
62 @@ -12,7 +12,7 @@
63 model = "Luxul XAP-810 V1";
64
65 chosen {
66 - bootargs = "earlycon";
67 + bootargs = "console=ttyS0,115200 earlycon";
68 };
69
70 memory {
71 --- a/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
72 +++ b/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
73 @@ -12,7 +12,7 @@
74 model = "Luxul XAP-1610 V1";
75
76 chosen {
77 - bootargs = "earlycon";
78 + bootargs = "console=ttyS0,115200 earlycon";
79 };
80
81 memory {
82 --- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
83 +++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
84 @@ -13,7 +13,7 @@
85 model = "Luxul XWR-3150 V1";
86
87 chosen {
88 - bootargs = "earlycon";
89 + bootargs = "console=ttyS0,115200 earlycon";
90 };
91
92 memory {
93 --- a/arch/arm/boot/dts/bcm47094-phicomm-k3.dts
94 +++ b/arch/arm/boot/dts/bcm47094-phicomm-k3.dts
95 @@ -13,6 +13,10 @@
96 compatible = "phicomm,k3", "brcm,bcm47094", "brcm,bcm4708";
97 model = "Phicomm K3";
98
99 + chosen {
100 + bootargs = "console=ttyS0,115200";
101 + };
102 +
103 memory {
104 reg = <0x00000000 0x08000000
105 0x88000000 0x18000000>;