summaryrefslogtreecommitdiff
path: root/target/linux/ramips/patches-3.8/0405-MIPS-ralink-add-GPIO-mode-to-RT3883-UART-pinmux-grou.patch
blob: 7b2f48b3904f9a021ef3707373b098153ee6a331 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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}
 };