7034d72192f73f212d2a2a5eea2312b5e109efa2
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.18 / 812-MIPS-ath79-add-ap143-support.patch
1 --- a/arch/mips/ath79/Kconfig
2 +++ b/arch/mips/ath79/Kconfig
3 @@ -114,6 +114,20 @@ config ATH79_MACH_AP136
4 Say 'Y' here if you want your kernel to support the
5 Atheros AP136 or AP135 reference boards.
6
7 +config ATH79_MACH_AP143
8 + bool "Atheros AP143 reference board"
9 + select SOC_QCA953X
10 + select ATH79_DEV_GPIO_BUTTONS
11 + select ATH79_DEV_LEDS_GPIO
12 + select ATH79_DEV_SPI
13 + select ATH79_DEV_USB
14 + select ATH79_DEV_WMAC
15 + select ATH79_DEV_ETH
16 + select ATH79_DEV_M25P80
17 + help
18 + Say 'Y' here if you want your kernel to support the
19 + Atheros AP143 reference board.
20 +
21 config ATH79_MACH_AP81
22 bool "Atheros AP81 reference board"
23 select SOC_AR913X
24 --- a/arch/mips/ath79/Makefile
25 +++ b/arch/mips/ath79/Makefile
26 @@ -47,6 +47,7 @@ obj-$(CONFIG_ATH79_MACH_AP113) += mach-ap113.o
27 obj-$(CONFIG_ATH79_MACH_AP121) += mach-ap121.o
28 obj-$(CONFIG_ATH79_MACH_AP132) += mach-ap132.o
29 obj-$(CONFIG_ATH79_MACH_AP136) += mach-ap136.o
30 +obj-$(CONFIG_ATH79_MACH_AP143) += mach-ap143.o
31 obj-$(CONFIG_ATH79_MACH_AP81) += mach-ap81.o
32 obj-$(CONFIG_ATH79_MACH_AP83) += mach-ap83.o
33 obj-$(CONFIG_ATH79_MACH_AP96) += mach-ap96.o
34 --- a/arch/mips/ath79/machtypes.h
35 +++ b/arch/mips/ath79/machtypes.h
36 @@ -29,6 +29,7 @@ enum ath79_mach_type {
37 ATH79_MACH_AP135_020, /* Atheros AP135-020 reference board */
38 ATH79_MACH_AP136_010, /* Atheros AP136-010 reference board */
39 ATH79_MACH_AP136_020, /* Atheros AP136-020 reference board */
40 + ATH79_MACH_AP143, /* Atheros AP143 reference board */
41 ATH79_MACH_AP81, /* Atheros AP81 reference board */
42 ATH79_MACH_AP83, /* Atheros AP83 */
43 ATH79_MACH_AP96, /* Atheros AP96 */