[ramips] fix rt305x gpio

https://dev.openwrt.org/ticket/13359

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36343 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
John Crispin 2013-04-16 06:58:18 +00:00
parent 58a4084d28
commit 270bb2883c
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
--- a/arch/mips/ralink/rt305x.c
+++ b/arch/mips/ralink/rt305x.c
@@ -97,6 +97,11 @@ struct ralink_pinmux_grp uart_mux[] = {
.mask = RT305X_GPIO_MODE_GPIO_I2S,
.gpio_first = RT305X_GPIO_7,
.gpio_last = RT305X_GPIO_14,
+ }, {
+ .name = "gpio",
+ .mask = RT305X_GPIO_MODE_GPIO,
+ .gpio_first = RT305X_GPIO_7,
+ .gpio_last = RT305X_GPIO_14,
}, {0}
};