mirror of https://github.com/hak5/openwrt.git
25 lines
718 B
Diff
25 lines
718 B
Diff
From 79a01992e15216544dcfdc0be9f2f7695952d047 Mon Sep 17 00:00:00 2001
|
|
From: Gabor Juhos <juhosg@openwrt.org>
|
|
Date: Wed, 27 Mar 2013 20:59:26 +0100
|
|
Subject: [PATCH 5/5] MIPS: ralink: add GPIO mode to RT3883 UART pinmux group
|
|
|
|
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
|
|
---
|
|
arch/mips/ralink/rt3883.c | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
--- a/arch/mips/ralink/rt3883.c
|
|
+++ b/arch/mips/ralink/rt3883.c
|
|
@@ -110,6 +110,11 @@ struct ralink_pinmux_grp uart_mux[] = {
|
|
.mask = RT3883_GPIO_MODE_GPIO_I2S,
|
|
.gpio_first = RT3883_GPIO_7,
|
|
.gpio_last = RT3883_GPIO_14,
|
|
+ }, {
|
|
+ .name = "gpio",
|
|
+ .mask = RT3883_GPIO_MODE_GPIO,
|
|
+ .gpio_first = RT3883_GPIO_7,
|
|
+ .gpio_last = RT3883_GPIO_14,
|
|
}, {0}
|
|
};
|
|
|