ar71xx: Add WeIO Board Support
[openwrt/openwrt.git] / target / linux / ar71xx / patches-4.1 / 813-MIPS-ath79-add-ap147-support.patch
1 --- a/arch/mips/ath79/Kconfig
2 +++ b/arch/mips/ath79/Kconfig
3 @@ -138,6 +138,19 @@ config ATH79_MACH_AP143
4 Say 'Y' here if you want your kernel to support the
5 Atheros AP143 reference board.
6
7 +config ATH79_MACH_AP147
8 + bool "Atheros AP147 reference board"
9 + select SOC_QCA953X
10 + select ATH79_DEV_GPIO_BUTTONS
11 + select ATH79_DEV_LEDS_GPIO
12 + select ATH79_DEV_M25P80
13 + select ATH79_DEV_USB
14 + select ATH79_DEV_WMAC
15 + select ATH79_DEV_AP9X_PCI if PCI
16 + help
17 + Say 'Y' here if you want your kernel to support the
18 + QCA AP147 reference boards.
19 +
20 config ATH79_MACH_AP81
21 bool "Atheros AP81 reference board"
22 select SOC_AR913X
23 --- a/arch/mips/ath79/Makefile
24 +++ b/arch/mips/ath79/Makefile
25 @@ -49,6 +49,7 @@ obj-$(CONFIG_ATH79_MACH_AP121) += mach-
26 obj-$(CONFIG_ATH79_MACH_AP132) += mach-ap132.o
27 obj-$(CONFIG_ATH79_MACH_AP136) += mach-ap136.o
28 obj-$(CONFIG_ATH79_MACH_AP143) += mach-ap143.o
29 +obj-$(CONFIG_ATH79_MACH_AP147) += mach-ap147.o
30 obj-$(CONFIG_ATH79_MACH_AP81) += mach-ap81.o
31 obj-$(CONFIG_ATH79_MACH_AP83) += mach-ap83.o
32 obj-$(CONFIG_ATH79_MACH_AP96) += mach-ap96.o
33 --- a/arch/mips/ath79/machtypes.h
34 +++ b/arch/mips/ath79/machtypes.h
35 @@ -31,6 +31,7 @@ enum ath79_mach_type {
36 ATH79_MACH_AP136_010, /* Atheros AP136-010 reference board */
37 ATH79_MACH_AP136_020, /* Atheros AP136-020 reference board */
38 ATH79_MACH_AP143, /* Atheros AP143 reference board */
39 + ATH79_MACH_AP147_010, /* Atheros AP147-010 reference board */
40 ATH79_MACH_AP81, /* Atheros AP81 reference board */
41 ATH79_MACH_AP83, /* Atheros AP83 */
42 ATH79_MACH_AP96, /* Atheros AP96 */