diff options
author | John Crispin <john@openwrt.org> | 2013-04-16 06:58:18 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-04-16 06:58:18 +0000 |
commit | 8001e6a6899724ef42ba2b319a94a3412cf5d0ac (patch) | |
tree | 3afb9047df4f029867435a29eab79d3b71de4a0f /target/linux/ramips | |
parent | a6622002056ac20f0bca61a60e8797eac2790bd9 (diff) | |
download | mtk-20170518-8001e6a6899724ef42ba2b319a94a3412cf5d0ac.zip mtk-20170518-8001e6a6899724ef42ba2b319a94a3412cf5d0ac.tar.gz mtk-20170518-8001e6a6899724ef42ba2b319a94a3412cf5d0ac.tar.bz2 |
fix rt305x gpio
https://dev.openwrt.org/ticket/13359
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36343
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.patch | 14 |
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 0000000..81c655d --- /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} + }; + |