2014-08-07 20:40:53 +08:00
|
|
|
--- a/arch/mips/ath79/machtypes.h
|
|
|
|
+++ b/arch/mips/ath79/machtypes.h
|
2014-12-08 20:04:25 +08:00
|
|
|
@@ -77,6 +77,7 @@ enum ath79_mach_type {
|
2014-08-07 20:40:53 +08:00
|
|
|
ATH79_MACH_OM2P_LC, /* OpenMesh OM2P-LC */
|
|
|
|
ATH79_MACH_OM2Pv2, /* OpenMesh OM2Pv2 */
|
|
|
|
ATH79_MACH_OM2P, /* OpenMesh OM2P */
|
|
|
|
+ ATH79_MACH_OM5P, /* OpenMesh OM5P */
|
|
|
|
ATH79_MACH_PB42, /* Atheros PB42 */
|
|
|
|
ATH79_MACH_PB92, /* Atheros PB92 */
|
|
|
|
ATH79_MACH_RB_411, /* MikroTik RouterBOARD 411/411A/411AH */
|
|
|
|
--- a/arch/mips/ath79/Kconfig
|
|
|
|
+++ b/arch/mips/ath79/Kconfig
|
2014-11-24 00:27:19 +08:00
|
|
|
@@ -597,6 +597,15 @@ config ATH79_MACH_OM2P
|
2014-08-07 20:40:53 +08:00
|
|
|
select ATH79_DEV_M25P80
|
|
|
|
select ATH79_DEV_WMAC
|
|
|
|
|
|
|
|
+config ATH79_MACH_OM5P
|
|
|
|
+ bool "OpenMesh OM5P board support"
|
|
|
|
+ select SOC_AR934X
|
|
|
|
+ select ATH79_DEV_ETH
|
|
|
|
+ select ATH79_DEV_GPIO_BUTTONS
|
|
|
|
+ select ATH79_DEV_LEDS_GPIO
|
|
|
|
+ select ATH79_DEV_M25P80
|
|
|
|
+ select ATH79_DEV_WMAC
|
|
|
|
+
|
|
|
|
config ATH79_MACH_MR600
|
|
|
|
bool "OpenMesh MR600 board support"
|
|
|
|
select SOC_AR934X
|
|
|
|
--- a/arch/mips/ath79/Makefile
|
|
|
|
+++ b/arch/mips/ath79/Makefile
|
2014-12-08 20:04:25 +08:00
|
|
|
@@ -82,6 +82,7 @@ obj-$(CONFIG_ATH79_MACH_MZK_W04NU) += ma
|
2014-08-07 20:40:53 +08:00
|
|
|
obj-$(CONFIG_ATH79_MACH_MZK_W300NH) += mach-mzk-w300nh.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_NBG460N) += mach-nbg460n.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_OM2P) += mach-om2p.o
|
|
|
|
+obj-$(CONFIG_ATH79_MACH_OM5P) += mach-om5p.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_PB42) += mach-pb42.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_PB44) += mach-pb44.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_PB92) += mach-pb92.o
|