102-dt-sun7i-add-missing-serial-aliases.patch 839 B

123456789101112131415161718192021222324252627282930
  1. From 1070f51b55d11e8831317d718acf2af46a181311 Mon Sep 17 00:00:00 2001
  2. From: Maxime Ripard <maxime.ripard@free-electrons.com>
  3. Date: Thu, 2 Jan 2014 22:05:04 +0100
  4. Subject: [PATCH] ARM: sun7i: Add missing serial aliases
  5. Some UART aliases have been defined, but not all of them. Add the remaining
  6. ones to be consistent and to ease the parsing of the DT by the bootloaders.
  7. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  8. ---
  9. arch/arm/boot/dts/sun7i-a20.dtsi | 8 ++++++++
  10. 1 file changed, 8 insertions(+)
  11. --- a/arch/arm/boot/dts/sun7i-a20.dtsi
  12. +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
  13. @@ -18,6 +18,14 @@
  14. aliases {
  15. ethernet0 = &emac;
  16. + serial0 = &uart0;
  17. + serial1 = &uart1;
  18. + serial2 = &uart2;
  19. + serial3 = &uart3;
  20. + serial4 = &uart4;
  21. + serial5 = &uart5;
  22. + serial6 = &uart6;
  23. + serial7 = &uart7;
  24. };
  25. cpus {