aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-04-16 06:58:18 +0000
committerJohn Crispin <blogic@openwrt.org>2013-04-16 06:58:18 +0000
commit270bb2883cc0f6fe6a38edbb7139e090349073df (patch)
tree25be58272782f8201d5207b1b5861448aaf69e12 /target/linux/ramips
parent58a4084d28b09ef1ab19d48af30c5fb22aea1537 (diff)
downloadupstream-270bb2883cc0f6fe6a38edbb7139e090349073df.tar.gz
upstream-270bb2883cc0f6fe6a38edbb7139e090349073df.tar.bz2
upstream-270bb2883cc0f6fe6a38edbb7139e090349073df.zip
[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
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/patches-3.8/0212-MIPS-ralink-add-GPIO-mode-to-RT305x-UART-pinmux-grou.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-3.8/0212-MIPS-ralink-add-GPIO-mode-to-RT305x-UART-pinmux-grou.patch b/target/linux/ramips/patches-3.8/0212-MIPS-ralink-add-GPIO-mode-to-RT305x-UART-pinmux-grou.patch
new file mode 100644
index 0000000000..81c655d110
--- /dev/null
+++ b/target/linux/ramips/patches-3.8/0212-MIPS-ralink-add-GPIO-mode-to-RT305x-UART-pinmux-grou.patch
@@ -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}
+ };
+