uboot-sunxi: update to version 2017.07
[openwrt/staging/chunkeey.git] / package / boot / uboot-sunxi / patches / 100-sun6i-alternate-on-UART2.patch
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
6
7 --- a/arch/arm/include/asm/arch-sunxi/gpio.h
8 +++ b/arch/arm/include/asm/arch-sunxi/gpio.h
9 @@ -186,6 +186,7 @@ enum sunxi_gpio_number {
10 #define SUN6I_GPG_SDC1 2
11 #define SUN8I_GPG_SDC1 2
12 #define SUN6I_GPG_TWI3 2
13 +#define SUN6I_GPG_UART2 2
14 #define SUN5I_GPG_UART1 4
15
16 #define SUN6I_GPH_PWM 2