1955bfaa7bec1e16b6399ad47a7b50e74b273af8
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-4.1 / 814-MIPS-ath79-add-tplink-tl-wdr6500-v2-support.patch
1 --- a/arch/mips/ath79/Kconfig
2 +++ b/arch/mips/ath79/Kconfig
3 @@ -1053,6 +1053,17 @@ config ATH79_MACH_TL_WDR4300
4 select ATH79_DEV_USB
5 select ATH79_DEV_WMAC
6
7 +config ATH79_MACH_TL_WDR6500_V2
8 + bool "TP-LINK TL-WDR6500 v2 board support"
9 + select SOC_QCA956X
10 + select ATH79_DEV_AP9X_PCI if PCI
11 + select ATH79_DEV_ETH
12 + select ATH79_DEV_GPIO_BUTTONS
13 + select ATH79_DEV_LEDS_GPIO
14 + select ATH79_DEV_M25P80
15 + select ATH79_DEV_USB
16 + select ATH79_DEV_WMAC
17 +
18 config ATH79_MACH_TL_WR703N
19 bool "TP-LINK TL-WR703N/TL-WR710N/TL-MR10U support"
20 select SOC_AR933X
21 --- a/arch/mips/ath79/machtypes.h
22 +++ b/arch/mips/ath79/machtypes.h
23 @@ -155,6 +155,7 @@ enum ath79_mach_type {
24 ATH79_MACH_TL_WA901ND_V3, /* TP-LINK TL-WA901ND v3 */
25 ATH79_MACH_TL_WDR3500, /* TP-LINK TL-WDR3500 */
26 ATH79_MACH_TL_WDR4300, /* TP-LINK TL-WDR4300 */
27 + ATH79_MACH_TL_WDR6500_V2, /* TP-LINK TL-WDR6500 v2 */
28 ATH79_MACH_TL_WDR4900_V2, /* TP-LINK TL-WDR4900 v2 */
29 ATH79_MACH_TL_WR1041N_V2, /* TP-LINK TL-WR1041N v2 */
30 ATH79_MACH_TL_WR1043ND, /* TP-LINK TL-WR1043ND */
31 --- a/arch/mips/ath79/Makefile
32 +++ b/arch/mips/ath79/Makefile
33 @@ -131,6 +131,7 @@ obj-$(CONFIG_ATH79_MACH_TL_WA901ND) += m
34 obj-$(CONFIG_ATH79_MACH_TL_WA901ND_V2) += mach-tl-wa901nd-v2.o
35 obj-$(CONFIG_ATH79_MACH_TL_WDR3500) += mach-tl-wdr3500.o
36 obj-$(CONFIG_ATH79_MACH_TL_WDR4300) += mach-tl-wdr4300.o
37 +obj-$(CONFIG_ATH79_MACH_TL_WDR6500_V2) += mach-tl-wdr6500-v2.o
38 obj-$(CONFIG_ATH79_MACH_TL_WR741ND) += mach-tl-wr741nd.o
39 obj-$(CONFIG_ATH79_MACH_TL_WR741ND_V4) += mach-tl-wr741nd-v4.o
40 obj-$(CONFIG_ATH79_MACH_TL_WR841N_V1) += mach-tl-wr841n.o