101-dt-sun6i-add-missing-serial-aliases.patch 862 B

1234567891011121314151617181920212223242526272829303132
  1. From b6e3460ee25b8af673d00df0435a304f5dbf7c40 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: sun6i: 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/sun6i-a31.dtsi | 10 ++++++++++
  10. 1 file changed, 10 insertions(+)
  11. --- a/arch/arm/boot/dts/sun6i-a31.dtsi
  12. +++ b/arch/arm/boot/dts/sun6i-a31.dtsi
  13. @@ -16,6 +16,16 @@
  14. / {
  15. interrupt-parent = <&gic>;
  16. + aliases {
  17. + serial0 = &uart0;
  18. + serial1 = &uart1;
  19. + serial2 = &uart2;
  20. + serial3 = &uart3;
  21. + serial4 = &uart4;
  22. + serial5 = &uart5;
  23. + };
  24. +
  25. +
  26. cpus {
  27. #address-cells = <1>;
  28. #size-cells = <0>;