103-dt-sun5i-add-missing-serial-aliases.patch 776 B

123456789101112131415161718192021222324252627
  1. From 0ffac463caf4b0022cf0d917552d51b3ec82849a Mon Sep 17 00:00:00 2001
  2. From: Maxime Ripard <maxime.ripard@free-electrons.com>
  3. Date: Mon, 13 Jan 2014 11:08:47 +0100
  4. Subject: [PATCH] ARM: sun5i: a13: 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/sun5i-a13.dtsi | 5 +++++
  10. 1 file changed, 5 insertions(+)
  11. --- a/arch/arm/boot/dts/sun5i-a13.dtsi
  12. +++ b/arch/arm/boot/dts/sun5i-a13.dtsi
  13. @@ -16,6 +16,11 @@
  14. / {
  15. interrupt-parent = <&intc>;
  16. + aliases {
  17. + serial0 = &uart1;
  18. + serial1 = &uart3;
  19. + };
  20. +
  21. cpus {
  22. #address-cells = <1>;
  23. #size-cells = <0>;