ar71xx: add kernel support for the OpenMesh MR600 board
[openwrt.git] / target / linux / ar71xx / patches-3.6 / 614-MIPS-ath79-MR600-support.patch
1 --- a/arch/mips/ath79/Kconfig
2 +++ b/arch/mips/ath79/Kconfig
3 @@ -374,6 +374,16 @@ config ATH79_MACH_OM2P
4         select ATH79_DEV_M25P80
5         select ATH79_DEV_WMAC
6  
7 +config ATH79_MACH_MR600
8 +       bool "OpenMesh MR600 board support"
9 +       select SOC_AR934X
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_MZK_W04NU
18         bool "Planex MZK-W04NU board support"
19         select SOC_AR913X
20 --- a/arch/mips/ath79/machtypes.h
21 +++ b/arch/mips/ath79/machtypes.h
22 @@ -43,6 +43,7 @@ enum ath79_mach_type {
23         ATH79_MACH_JA76PF2,             /* jjPlus JA76PF2 */
24         ATH79_MACH_JWAP003,             /* jjPlus JWAP003 */
25         ATH79_MACH_HORNET_UB,           /* ALFA Networks Hornet-UB */
26 +       ATH79_MACH_MR600,               /* OpenMesh MR600 */
27         ATH79_MACH_MZK_W04NU,           /* Planex MZK-W04NU */
28         ATH79_MACH_MZK_W300NH,          /* Planex MZK-W300NH */
29         ATH79_MACH_NBG460N,             /* Zyxel NBG460N/550N/550NH */
30 --- a/arch/mips/ath79/Makefile
31 +++ b/arch/mips/ath79/Makefile
32 @@ -59,6 +59,7 @@ obj-$(CONFIG_ATH79_MACH_EAP7660D)     += mac
33  obj-$(CONFIG_ATH79_MACH_JA76PF)                += mach-ja76pf.o
34  obj-$(CONFIG_ATH79_MACH_JWAP003)       += mach-jwap003.o
35  obj-$(CONFIG_ATH79_MACH_HORNET_UB)     += mach-hornet-ub.o
36 +obj-$(CONFIG_ATH79_MACH_MR600)         += mach-mr600.o
37  obj-$(CONFIG_ATH79_MACH_MZK_W04NU)     += mach-mzk-w04nu.o
38  obj-$(CONFIG_ATH79_MACH_MZK_W300NH)    += mach-mzk-w300nh.o
39  obj-$(CONFIG_ATH79_MACH_NBG460N)       += mach-nbg460n.o