100-sun6i-alternate-on-UART2.patch 539 B

12345678910111213141516
  1. From d7311b6e7cdd1fc0e92665188e650934718cb2b1 Mon Sep 17 00:00:00 2001
  2. From: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
  3. Date: Tue, 16 Jun 2015 10:52:01 +0200
  4. Subject: sun6i: define alternate-function for UART2 on GPG
  5. --- a/arch/arm/include/asm/arch-sunxi/gpio.h
  6. +++ b/arch/arm/include/asm/arch-sunxi/gpio.h
  7. @@ -185,6 +185,7 @@ enum sunxi_gpio_number {
  8. #define SUN6I_GPG_SDC1 2
  9. #define SUN8I_GPG_SDC1 2
  10. #define SUN6I_GPG_TWI3 2
  11. +#define SUN6I_GPG_UART2 2
  12. #define SUN5I_GPG_UART1 4
  13. #define SUN6I_GPH_PWM 2