240a020d3a9a1f292b31fcae9336a3d4e395cd18
[openwrt/openwrt.git] / target / linux / ar71xx / patches-3.14 / 730-MIPS-ath79-add-mr900-support.patch
1 --- a/arch/mips/ath79/Kconfig
2 +++ b/arch/mips/ath79/Kconfig
3 @@ -685,6 +685,16 @@ config ATH79_MACH_CAP4200AG
4 select ATH79_DEV_M25P80
5 select ATH79_DEV_WMAC
6
7 +config ATH79_MACH_MR900
8 + bool "OpenMesh MR900 board support"
9 + select SOC_QCA955X
10 + select ATH79_DEV_AP9X_PCI if PCI
11 + select ATH79_DEV_ETH
12 + select ATH79_DEV_GPIO_BUTTONS
13 + select ATH79_DEV_LEDS_GPIO
14 + select ATH79_DEV_M25P80
15 + select ATH79_DEV_WMAC
16 +
17 config ATH79_MACH_EAP7660D
18 bool "Senao EAP7660D support"
19 select SOC_AR71XX
20 --- a/arch/mips/ath79/Makefile
21 +++ b/arch/mips/ath79/Makefile
22 @@ -75,6 +75,7 @@ obj-$(CONFIG_ATH79_MACH_JA76PF) += mach
23 obj-$(CONFIG_ATH79_MACH_JWAP003) += mach-jwap003.o
24 obj-$(CONFIG_ATH79_MACH_HORNET_UB) += mach-hornet-ub.o
25 obj-$(CONFIG_ATH79_MACH_MR600) += mach-mr600.o
26 +obj-$(CONFIG_ATH79_MACH_MR900) += mach-mr900.o
27 obj-$(CONFIG_ATH79_MACH_MYNET_N600) += mach-mynet-n600.o
28 obj-$(CONFIG_ATH79_MACH_MYNET_N750) += mach-mynet-n750.o
29 obj-$(CONFIG_ATH79_MACH_MYNET_REXT) += mach-mynet-rext.o
30 --- a/arch/mips/ath79/machtypes.h
31 +++ b/arch/mips/ath79/machtypes.h
32 @@ -66,6 +66,7 @@ enum ath79_mach_type {
33 ATH79_MACH_HORNET_UB, /* ALFA Networks Hornet-UB */
34 ATH79_MACH_MR600V2, /* OpenMesh MR600v2 */
35 ATH79_MACH_MR600, /* OpenMesh MR600 */
36 + ATH79_MACH_MR900, /* OpenMesh MR900 */
37 ATH79_MACH_MYNET_N600, /* WD My Net N600 */
38 ATH79_MACH_MYNET_N750, /* WD My Net N750 */
39 ATH79_MACH_MYNET_REXT, /* WD My Net Wi-Fi Range Extender */