1
0

100-sun6i-alternate-on-UART2.patch 540 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. @@ -180,6 +180,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 SUN4I_GPH_SDC1 5