2016-03-29 11:42:14 +00:00
|
|
|
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
|
2020-03-16 13:47:07 +00:00
|
|
|
@@ -190,6 +190,7 @@ enum sunxi_gpio_number {
|
2016-03-29 11:42:14 +00:00
|
|
|
#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
|
|
|
|
|
2017-07-15 16:41:57 +00:00
|
|
|
#define SUN6I_GPH_PWM 2
|