diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-03-11 15:55:20 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-03-11 15:55:20 +0000 |
commit | 902dd273837632007ce15b9a3898e90c4809736e (patch) | |
tree | b5994d0ae8af7f5de2b2681b50a577e45306be88 /target/linux/ar71xx/patches-3.8/616-MIPS-ath79-TL-MR3420-v2-support.patch | |
parent | 5c5e1c0a9da17e834ea3c3337412ef5746ac615a (diff) | |
download | upstream-902dd273837632007ce15b9a3898e90c4809736e.tar.gz upstream-902dd273837632007ce15b9a3898e90c4809736e.tar.bz2 upstream-902dd273837632007ce15b9a3898e90c4809736e.zip |
ar71xx: add kernel support for MR3420v2
[juhosg: use gpio_request_one to enable the USB power]
Patch-by: Dmytro <dioptimizer@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@opewrt.org>
SVN-Revision: 35961
Diffstat (limited to 'target/linux/ar71xx/patches-3.8/616-MIPS-ath79-TL-MR3420-v2-support.patch')
-rw-r--r-- | target/linux/ar71xx/patches-3.8/616-MIPS-ath79-TL-MR3420-v2-support.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-3.8/616-MIPS-ath79-TL-MR3420-v2-support.patch b/target/linux/ar71xx/patches-3.8/616-MIPS-ath79-TL-MR3420-v2-support.patch new file mode 100644 index 0000000000..855bb9614d --- /dev/null +++ b/target/linux/ar71xx/patches-3.8/616-MIPS-ath79-TL-MR3420-v2-support.patch @@ -0,0 +1,27 @@ +--- a/arch/mips/ath79/Kconfig ++++ b/arch/mips/ath79/Kconfig +@@ -585,12 +585,13 @@ config ATH79_MACH_TL_WR841N_V1 + select ATH79_DEV_M25P80 + + config ATH79_MACH_TL_WR841N_V8 +- bool "TP-LINK TL-WR841N/ND v8 support" ++ bool "TP-LINK TL-WR841N/ND v8/TL-MR3420 v2 support" + select SOC_AR934X + select ATH79_DEV_ETH + select ATH79_DEV_GPIO_BUTTONS + select ATH79_DEV_LEDS_GPIO + select ATH79_DEV_M25P80 ++ select ATH79_DEV_USB + select ATH79_DEV_WMAC + + config ATH79_MACH_TL_WR941ND +--- a/arch/mips/ath79/machtypes.h ++++ b/arch/mips/ath79/machtypes.h +@@ -84,6 +84,7 @@ enum ath79_mach_type { + ATH79_MACH_TL_MR3220, /* TP-LINK TL-MR3220 */ + ATH79_MACH_TL_MR3220_V2, /* TP-LINK TL-MR3220 v2 */ + ATH79_MACH_TL_MR3420, /* TP-LINK TL-MR3420 */ ++ ATH79_MACH_TL_MR3420_V2, /* TP-LINK TL-MR3420 v2 */ + ATH79_MACH_TL_WA7510N_V1, /* TP-LINK TL-WA7510N v1*/ + ATH79_MACH_TL_WA901ND, /* TP-LINK TL-WA901ND */ + ATH79_MACH_TL_WA901ND_V2, /* TP-LINK TL-WA901ND v2 */ |