From c9eed6a9cd92a244b68cab506a623c404d75ccc0 Mon Sep 17 00:00:00 2001 From: blogic Date: Tue, 16 Apr 2013 06:58:18 +0000 Subject: [ramips] fix rt305x gpio https://dev.openwrt.org/ticket/13359 Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36343 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...S-ralink-add-GPIO-mode-to-RT305x-UART-pinmux-grou.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 target/linux/ramips/patches-3.8/0212-MIPS-ralink-add-GPIO-mode-to-RT305x-UART-pinmux-grou.patch (limited to 'target/linux/ramips/patches-3.8') 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 000000000..81c655d11 --- /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} + }; + -- cgit v1.2.3