kernel: refresh patches
[openwrt/openwrt.git] / target / linux / ar71xx / patches-3.14 / 723-MIPS-ath79-add-om5p-support.patch
1 --- a/arch/mips/ath79/machtypes.h
2 +++ b/arch/mips/ath79/machtypes.h
3 @@ -77,6 +77,7 @@ enum ath79_mach_type {
4 ATH79_MACH_OM2P_LC, /* OpenMesh OM2P-LC */
5 ATH79_MACH_OM2Pv2, /* OpenMesh OM2Pv2 */
6 ATH79_MACH_OM2P, /* OpenMesh OM2P */
7 + ATH79_MACH_OM5P, /* OpenMesh OM5P */
8 ATH79_MACH_PB42, /* Atheros PB42 */
9 ATH79_MACH_PB92, /* Atheros PB92 */
10 ATH79_MACH_RB_411, /* MikroTik RouterBOARD 411/411A/411AH */
11 --- a/arch/mips/ath79/Kconfig
12 +++ b/arch/mips/ath79/Kconfig
13 @@ -597,6 +597,15 @@ config ATH79_MACH_OM2P
14 select ATH79_DEV_M25P80
15 select ATH79_DEV_WMAC
16
17 +config ATH79_MACH_OM5P
18 + bool "OpenMesh OM5P board support"
19 + select SOC_AR934X
20 + select ATH79_DEV_ETH
21 + select ATH79_DEV_GPIO_BUTTONS
22 + select ATH79_DEV_LEDS_GPIO
23 + select ATH79_DEV_M25P80
24 + select ATH79_DEV_WMAC
25 +
26 config ATH79_MACH_MR600
27 bool "OpenMesh MR600 board support"
28 select SOC_AR934X
29 --- a/arch/mips/ath79/Makefile
30 +++ b/arch/mips/ath79/Makefile
31 @@ -82,6 +82,7 @@ obj-$(CONFIG_ATH79_MACH_MZK_W04NU) += ma
32 obj-$(CONFIG_ATH79_MACH_MZK_W300NH) += mach-mzk-w300nh.o
33 obj-$(CONFIG_ATH79_MACH_NBG460N) += mach-nbg460n.o
34 obj-$(CONFIG_ATH79_MACH_OM2P) += mach-om2p.o
35 +obj-$(CONFIG_ATH79_MACH_OM5P) += mach-om5p.o
36 obj-$(CONFIG_ATH79_MACH_PB42) += mach-pb42.o
37 obj-$(CONFIG_ATH79_MACH_PB44) += mach-pb44.o
38 obj-$(CONFIG_ATH79_MACH_PB92) += mach-pb92.o