kernel: update 4.1 to 4.1.10
[openwrt.git] / target / linux / ar71xx / patches-4.1 / 815-MIPS-ath79-add-ap152-support.patch
1 --- a/arch/mips/ath79/Kconfig
2 +++ b/arch/mips/ath79/Kconfig
3 @@ -151,6 +151,20 @@ config ATH79_MACH_AP147
4           Say 'Y' here if you want your kernel to support the
5           QCA AP147 reference boards.
6  
7 +config ATH79_MACH_AP152
8 +       bool "Atheros AP152 reference board"
9 +       select SOC_QCA956X
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 AP152 reference boards.
19 +
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 @@ -50,6 +50,7 @@ obj-$(CONFIG_ATH79_MACH_AP132)                += mach-
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_AP152)         += mach-ap152.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 @@ -32,6 +32,7 @@ enum ath79_mach_type {
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_AP152,               /* Atheros AP152 reference board */
41         ATH79_MACH_AP81,                /* Atheros AP81 reference board */
42         ATH79_MACH_AP83,                /* Atheros AP83 */
43         ATH79_MACH_AP96,                /* Atheros AP96 */