ar71xx: add kernel support for TPLINK WR720N v3
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.8 / 617-MIPS-ath79-TL-WR720N-v3-support.patch
1 --- a/arch/mips/ath79/machtypes.h
2 +++ b/arch/mips/ath79/machtypes.h
3 @@ -94,6 +94,7 @@ enum ath79_mach_type {
4 ATH79_MACH_TL_WR1043ND, /* TP-LINK TL-WR1043ND */
5 ATH79_MACH_TL_WR2543N, /* TP-LINK TL-WR2543N/ND */
6 ATH79_MACH_TL_WR703N, /* TP-LINK TL-WR703N */
7 + ATH79_MACH_TL_WR720N_V3, /* TP-LINK TL-WR720N v3 */
8 ATH79_MACH_TL_WR741ND, /* TP-LINK TL-WR741ND */
9 ATH79_MACH_TL_WR741ND_V4, /* TP-LINK TL-WR741ND v4*/
10 ATH79_MACH_TL_WR841N_V1, /* TP-LINK TL-WR841N v1 */
11 --- a/arch/mips/ath79/Kconfig
12 +++ b/arch/mips/ath79/Kconfig
13 @@ -556,6 +556,16 @@ config ATH79_MACH_TL_WR703N
14 select ATH79_DEV_USB
15 select ATH79_DEV_WMAC
16
17 +config ATH79_MACH_TL_WR720N_V3
18 + bool "TP-LINK TL-WR720N v3 support"
19 + select SOC_AR933X
20 + select ATH79_DEV_ETH
21 + select ATH79_DEV_GPIO_BUTTONS
22 + select ATH79_DEV_LEDS_GPIO
23 + select ATH79_DEV_M25P80
24 + select ATH79_DEV_USB
25 + select ATH79_DEV_WMAC
26 +
27 config ATH79_MACH_TL_WR741ND
28 bool "TP-LINK TL-WR741ND support"
29 select SOC_AR724X
30 --- a/arch/mips/ath79/Makefile
31 +++ b/arch/mips/ath79/Makefile
32 @@ -93,6 +93,7 @@ obj-$(CONFIG_ATH79_MACH_TL_WR1041N_V2) +
33 obj-$(CONFIG_ATH79_MACH_TL_WR1043ND) += mach-tl-wr1043nd.o
34 obj-$(CONFIG_ATH79_MACH_TL_WR2543N) += mach-tl-wr2543n.o
35 obj-$(CONFIG_ATH79_MACH_TL_WR703N) += mach-tl-wr703n.o
36 +obj-$(CONFIG_ATH79_MACH_TL_WR720N_V3) += mach-tl-wr720n-v3.o
37 obj-$(CONFIG_ATH79_MACH_UBNT) += mach-ubnt.o
38 obj-$(CONFIG_ATH79_MACH_UBNT_XM) += mach-ubnt-xm.o
39 obj-$(CONFIG_ATH79_MACH_WHR_HP_G300N) += mach-whr-hp-g300n.o