101-dt-sun7i-add-uart3_pins.patch 993 B

12345678910111213141516171819202122232425262728293031
  1. From e37ccbcd4587b7a2b943e23a9943b8917010b336 Mon Sep 17 00:00:00 2001
  2. From: Hans de Goede <hdegoede@redhat.com>
  3. Date: Wed, 1 Oct 2014 08:39:58 +0200
  4. Subject: [PATCH] ARM: dts: sun7i: Add uart3_pins_b pinctrl setting
  5. The uart3_pins_a multiplexes the uart3 pins to port G, add a pinctrl entry
  6. for mapping them to port H (as used on the Bananapi).
  7. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
  8. ---
  9. arch/arm/boot/dts/sun7i-a20.dtsi | 7 +++++++
  10. 1 file changed, 7 insertions(+)
  11. diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
  12. index 4fb8930..cecf32c 100644
  13. --- a/arch/arm/boot/dts/sun7i-a20.dtsi
  14. +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
  15. @@ -677,6 +677,13 @@
  16. allwinner,pull = <0>;
  17. };
  18. + uart3_pins_b: uart3@1 {
  19. + allwinner,pins = "PH0", "PH1";
  20. + allwinner,function = "uart3";
  21. + allwinner,drive = <0>;
  22. + allwinner,pull = <0>;
  23. + };
  24. +
  25. uart4_pins_a: uart4@0 {
  26. allwinner,pins = "PG10", "PG11";
  27. allwinner,function = "uart4";