104-dt-sun7i-add-pinmuxing-for-uart2.patch 921 B

123456789101112131415161718192021222324252627282930
  1. From 875f2d579db0c3ea113f6367af9ccb32b3dbebcc Mon Sep 17 00:00:00 2001
  2. From: Chen-Yu Tsai <wens@csie.org>
  3. Date: Tue, 14 Jan 2014 22:49:50 +0800
  4. Subject: [PATCH] ARM: dts: sun7i: add pin muxing options for UART2
  5. UART2 is used on CubieTruck to connect to the Bluetooth module.
  6. Add the pin set used in this case.
  7. Signed-off-by: Chen-Yu Tsai <wens@csie.org>
  8. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  9. ---
  10. arch/arm/boot/dts/sun7i-a20.dtsi | 7 +++++++
  11. 1 file changed, 7 insertions(+)
  12. --- a/arch/arm/boot/dts/sun7i-a20.dtsi
  13. +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
  14. @@ -381,6 +381,13 @@
  15. allwinner,pull = <0>;
  16. };
  17. + uart2_pins_a: uart2@0 {
  18. + allwinner,pins = "PI16", "PI17", "PI18", "PI19";
  19. + allwinner,function = "uart2";
  20. + allwinner,drive = <0>;
  21. + allwinner,pull = <0>;
  22. + };
  23. +
  24. uart6_pins_a: uart6@0 {
  25. allwinner,pins = "PI12", "PI13";
  26. allwinner,function = "uart6";