ar71xx: add linux 3.14 support
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.14 / 719-MIPS-ath79-add-ESR900-support.patch
1 --- a/arch/mips/ath79/machtypes.h
2 +++ b/arch/mips/ath79/machtypes.h
3 @@ -47,6 +47,7 @@ enum ath79_mach_type {
4 ATH79_MACH_DIR_825_C1, /* D-Link DIR-825 rev. C1 */
5 ATH79_MACH_DIR_835_A1, /* D-Link DIR-835 rev. A1 */
6 ATH79_MACH_DRAGINO2, /* Dragino Version 2 */
7 + ATH79_MACH_ESR900, /* EnGenius ESR900 */
8 ATH79_MACH_EW_DORIN, /* embedded wireless Dorin Platform */
9 ATH79_MACH_EW_DORIN_ROUTER, /* embedded wireless Dorin Router Platform */
10 ATH79_MACH_EAP7660D, /* Senao EAP7660D */
11 --- a/arch/mips/ath79/Kconfig
12 +++ b/arch/mips/ath79/Kconfig
13 @@ -335,6 +335,16 @@ config ATH79_MACH_DRAGINO2
14 select ATH79_DEV_ETH
15 select ATH79_DEV_USB
16
17 +config ATH79_MACH_ESR900
18 + bool "EnGenius ESR900 board support"
19 + select SOC_QCA955X
20 + select ATH79_DEV_ETH
21 + select ATH79_DEV_GPIO_BUTTONS
22 + select ATH79_DEV_LEDS_GPIO
23 + select ATH79_DEV_SPI
24 + select ATH79_DEV_USB
25 + select ATH79_DEV_WMAC
26 +
27 config ATH79_MACH_EW_DORIN
28 bool "embedded wireless Dorin Platform support"
29 select SOC_AR933X
30 --- a/arch/mips/ath79/Makefile
31 +++ b/arch/mips/ath79/Makefile
32 @@ -60,6 +60,7 @@ obj-$(CONFIG_ATH79_MACH_DIR_615_C1) += m
33 obj-$(CONFIG_ATH79_MACH_DIR_825_B1) += mach-dir-825-b1.o
34 obj-$(CONFIG_ATH79_MACH_DIR_825_C1) += mach-dir-825-c1.o
35 obj-$(CONFIG_ATH79_MACH_DRAGINO2) += mach-dragino2.o
36 +obj-$(CONFIG_ATH79_MACH_ESR900) += mach-esr900.o
37 obj-$(CONFIG_ATH79_MACH_EW_DORIN) += mach-ew-dorin.o
38 obj-$(CONFIG_ATH79_MACH_EAP7660D) += mach-eap7660d.o
39 obj-$(CONFIG_ATH79_MACH_EL_M150) += mach-el-m150.o