8479ea3123c3c46c2fa2716073ac240af0fb91f4
[openwrt.git] / target / linux / ar71xx / patches-3.8 / 611-MIPS-ath79-add-QCA9556-SoC-on-AP132.patch
1 --- a/arch/mips/ath79/Kconfig
2 +++ b/arch/mips/ath79/Kconfig
3 @@ -70,6 +70,18 @@ config ATH79_MACH_AP121
4           Say 'Y' here if you want your kernel to support the
5           Atheros AP121 reference board.
6  
7 +config ATH79_MACH_AP132
8 +       bool "Atheros AP132 reference board"
9 +       select SOC_QCA955X
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 +       help
16 +         Say 'Y' here if you want your kernel to support the
17 +         Atheros AP132 reference boards.
18 +
19  config ATH79_MACH_AP136
20         bool "Atheros AP136/AP135 reference board"
21         select SOC_QCA955X
22 --- a/arch/mips/ath79/machtypes.h
23 +++ b/arch/mips/ath79/machtypes.h
24 @@ -24,6 +24,7 @@ enum ath79_mach_type {
25         ATH79_MACH_AP113,               /* Atheros AP113 reference board */
26         ATH79_MACH_AP121,               /* Atheros AP121 reference board */
27         ATH79_MACH_AP121_MINI,          /* Atheros AP121-MINI reference board */
28 +       ATH79_MACH_AP132,               /* Atheros AP132 reference board */
29         ATH79_MACH_AP135_020,           /* Atheros AP135-020 reference board */
30         ATH79_MACH_AP136_010,           /* Atheros AP136-010 reference board */
31         ATH79_MACH_AP136_020,           /* Atheros AP136-020 reference board */
32 --- a/arch/mips/ath79/Makefile
33 +++ b/arch/mips/ath79/Makefile
34 @@ -44,6 +44,7 @@ obj-$(CONFIG_ATH79_MACH_ALL0258N)     += mac
35  obj-$(CONFIG_ATH79_MACH_ALL0315N)      += mach-all0315n.o
36  obj-$(CONFIG_ATH79_MACH_AP113)         += mach-ap113.o
37  obj-$(CONFIG_ATH79_MACH_AP121)         += mach-ap121.o
38 +obj-$(CONFIG_ATH79_MACH_AP132)         += mach-ap132.o
39  obj-$(CONFIG_ATH79_MACH_AP136)         += mach-ap136.o
40  obj-$(CONFIG_ATH79_MACH_AP81)          += mach-ap81.o
41  obj-$(CONFIG_ATH79_MACH_AP83)          += mach-ap83.o