047-0019-ARM-dts-BCM53573-Specify-serial-console-parameters.patch 895 B

123456789101112131415161718192021222324252627282930313233
  1. From 3a599e0dbc03ffc51568cf3376633d127451632d Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
  3. Date: Wed, 15 Mar 2017 18:03:28 +0100
  4. Subject: [PATCH] ARM: dts: BCM53573: Specify serial console parameters
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. This adds baud rate, parity & number of data bits. It's required to get
  9. serial working correctly.
  10. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
  11. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
  12. ---
  13. arch/arm/boot/dts/bcm53573.dtsi | 6 +++++-
  14. 1 file changed, 5 insertions(+), 1 deletion(-)
  15. --- a/arch/arm/boot/dts/bcm53573.dtsi
  16. +++ b/arch/arm/boot/dts/bcm53573.dtsi
  17. @@ -13,8 +13,12 @@
  18. / {
  19. interrupt-parent = <&gic>;
  20. + aliases {
  21. + serial0 = &uart0;
  22. + };
  23. +
  24. chosen {
  25. - stdout-path = &uart0;
  26. + stdout-path = "serial0:115200n8";
  27. };
  28. cpus {