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
4 Content-Type: text/plain; charset=UTF-8
5 Content-Transfer-Encoding: 8bit
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.
11 This is a workaround to get serial working in LEDE.
13 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
16 Index: linux-5.4.11/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts
17 ===================================================================
18 --- linux-5.4.11.orig/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts
19 +++ linux-5.4.11/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts
21 model = "TP-LINK Archer C5 V2";
24 - bootargs = "earlycon";
25 + bootargs = "console=ttyS0,115200 earlycon";
29 Index: linux-5.4.11/arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts
30 ===================================================================
31 --- linux-5.4.11.orig/arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts
32 +++ linux-5.4.11/arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts
34 model = "Luxul ABR-4500 V1";
37 - bootargs = "earlycon";
38 + bootargs = "console=ttyS0,115200 earlycon";
42 Index: linux-5.4.11/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts
43 ===================================================================
44 --- linux-5.4.11.orig/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts
45 +++ linux-5.4.11/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts
47 model = "Luxul XBR-4500 V1";
50 - bootargs = "earlycon";
51 + bootargs = "console=ttyS0,115200 earlycon";
55 Index: linux-5.4.11/arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts
56 ===================================================================
57 --- linux-5.4.11.orig/arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts
58 +++ linux-5.4.11/arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts
60 model = "Luxul XAP-1440 V1";
63 - bootargs = "earlycon";
64 + bootargs = "console=ttyS0,115200 earlycon";
68 Index: linux-5.4.11/arch/arm/boot/dts/bcm47189-luxul-xap-810.dts
69 ===================================================================
70 --- linux-5.4.11.orig/arch/arm/boot/dts/bcm47189-luxul-xap-810.dts
71 +++ linux-5.4.11/arch/arm/boot/dts/bcm47189-luxul-xap-810.dts
73 model = "Luxul XAP-810 V1";
76 - bootargs = "earlycon";
77 + bootargs = "console=ttyS0,115200 earlycon";
81 Index: linux-5.4.11/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
82 ===================================================================
83 --- linux-5.4.11.orig/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
84 +++ linux-5.4.11/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
86 model = "Luxul XAP-1610 V1";
89 - bootargs = "earlycon";
90 + bootargs = "console=ttyS0,115200 earlycon";
94 Index: linux-5.4.11/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
95 ===================================================================
96 --- linux-5.4.11.orig/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
97 +++ linux-5.4.11/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
99 model = "Luxul XWR-3150 V1";
102 - bootargs = "earlycon";
103 + bootargs = "console=ttyS0,115200 earlycon";
107 Index: linux-5.4.11/arch/arm/boot/dts/bcm47094-phicomm-k3.dts
108 ===================================================================
109 --- linux-5.4.11.orig/arch/arm/boot/dts/bcm47094-phicomm-k3.dts
110 +++ linux-5.4.11/arch/arm/boot/dts/bcm47094-phicomm-k3.dts
112 compatible = "phicomm,k3", "brcm,bcm47094", "brcm,bcm4708";
113 model = "Phicomm K3";
116 + bootargs = "console=ttyS0,115200";
120 device_type = "memory";
121 reg = <0x00000000 0x08000000
122 Index: linux-5.4.11/arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts
123 ===================================================================
124 --- linux-5.4.11.orig/arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts
125 +++ linux-5.4.11/arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts
127 model = "Luxul XWC-2000 V1";
130 - bootargs = "earlycon";
131 + bootargs = "console=ttyS0,115200 earlycon";