320-ARM-dts-BCM5301X-Add-serial-to-the-bootargs.patch 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. It's enough to have proper stdout-path for getting serial working but
  7. for some reason LEDE doesn't offer "Please press Enter to activate this
  8. console." unless ttyS0 is specified.
  9. This is a workaround to get serial working in LEDE.
  10. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
  11. ---
  12. --- a/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts
  13. +++ b/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts
  14. @@ -12,7 +12,7 @@
  15. model = "TP-LINK Archer C5 V2";
  16. chosen {
  17. - bootargs = "earlycon";
  18. + bootargs = "console=ttyS0,115200 earlycon";
  19. };
  20. memory {
  21. --- a/arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts
  22. +++ b/arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts
  23. @@ -13,7 +13,7 @@
  24. model = "Luxul ABR-4500 V1";
  25. chosen {
  26. - bootargs = "earlycon";
  27. + bootargs = "console=ttyS0,115200 earlycon";
  28. };
  29. memory {
  30. --- a/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts
  31. +++ b/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts
  32. @@ -13,7 +13,7 @@
  33. model = "Luxul XBR-4500 V1";
  34. chosen {
  35. - bootargs = "earlycon";
  36. + bootargs = "console=ttyS0,115200 earlycon";
  37. };
  38. memory {
  39. --- a/arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts
  40. +++ b/arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts
  41. @@ -13,7 +13,7 @@
  42. model = "Luxul XAP-1440 V1";
  43. chosen {
  44. - bootargs = "earlycon";
  45. + bootargs = "console=ttyS0,115200 earlycon";
  46. };
  47. memory {
  48. --- a/arch/arm/boot/dts/bcm47189-luxul-xap-810.dts
  49. +++ b/arch/arm/boot/dts/bcm47189-luxul-xap-810.dts
  50. @@ -13,7 +13,7 @@
  51. model = "Luxul XAP-810 V1";
  52. chosen {
  53. - bootargs = "earlycon";
  54. + bootargs = "console=ttyS0,115200 earlycon";
  55. };
  56. memory {
  57. --- a/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
  58. +++ b/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
  59. @@ -12,7 +12,7 @@
  60. model = "Luxul XAP-1610 V1";
  61. chosen {
  62. - bootargs = "earlycon";
  63. + bootargs = "console=ttyS0,115200 earlycon";
  64. };
  65. memory {
  66. --- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
  67. +++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
  68. @@ -13,7 +13,7 @@
  69. model = "Luxul XWR-3150 V1";
  70. chosen {
  71. - bootargs = "earlycon";
  72. + bootargs = "console=ttyS0,115200 earlycon";
  73. };
  74. memory {