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

1234567891011121314151617181920212223242526272829
  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. --- a/arch/arm/boot/dts/sun7i-a20.dtsi
  12. +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
  13. @@ -677,6 +677,13 @@
  14. allwinner,pull = <0>;
  15. };
  16. + uart3_pins_b: uart3@1 {
  17. + allwinner,pins = "PH0", "PH1";
  18. + allwinner,function = "uart3";
  19. + allwinner,drive = <0>;
  20. + allwinner,pull = <0>;
  21. + };
  22. +
  23. uart4_pins_a: uart4@0 {
  24. allwinner,pins = "PG10", "PG11";
  25. allwinner,function = "uart4";