aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-sunxi/patches/100-sun6i-alternate-on-UART2.patch
blob: bf5dc66e1a3b95215580f5df094804e2c5c13b3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
From d7311b6e7cdd1fc0e92665188e650934718cb2b1 Mon Sep 17 00:00:00 2001
From: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Date: Tue, 16 Jun 2015 10:52:01 +0200
Subject: sun6i: define alternate-function for UART2 on GPG


--- a/arch/arm/include/asm/arch-sunxi/gpio.h
+++ b/arch/arm/include/asm/arch-sunxi/gpio.h
@@ -180,6 +180,7 @@ enum sunxi_gpio_number {
 #define SUN6I_GPG_SDC1		2
 #define SUN8I_GPG_SDC1		2
 #define SUN6I_GPG_TWI3		2
+#define SUN6I_GPG_UART2         2
 #define SUN5I_GPG_UART1		4
 
 #define SUN4I_GPH_SDC1		5