2014-11-23 16:27:19 +00:00
|
|
|
--- a/arch/mips/ath79/Kconfig
|
|
|
|
+++ b/arch/mips/ath79/Kconfig
|
|
|
|
@@ -470,6 +470,16 @@ config ATH79_MACH_WNR2000_V3
|
|
|
|
select ATH79_DEV_M25P80
|
|
|
|
select ATH79_DEV_USB
|
|
|
|
|
|
|
|
+config ATH79_MACH_WNR2000_V4
|
|
|
|
+ bool "NETGEAR WNR2000 V4"
|
|
|
|
+ select SOC_AR934X
|
|
|
|
+ select ATH79_DEV_ETH
|
|
|
|
+ select ATH79_DEV_GPIO_BUTTONS
|
|
|
|
+ select ATH79_DEV_LEDS_GPIO
|
|
|
|
+ select ATH79_DEV_M25P80
|
|
|
|
+ select ATH79_DEV_USB
|
|
|
|
+ select ATH79_DEV_WMAC
|
|
|
|
+
|
|
|
|
config ATH79_MACH_OM2P
|
|
|
|
bool "OpenMesh OM2P board support"
|
|
|
|
select SOC_AR724X
|
|
|
|
--- a/arch/mips/ath79/Makefile
|
|
|
|
+++ b/arch/mips/ath79/Makefile
|
2014-12-08 12:04:25 +00:00
|
|
|
@@ -115,6 +115,7 @@ obj-$(CONFIG_ATH79_MACH_WNDR3700) += mac
|
2014-11-23 16:27:19 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_WNDR4300) += mach-wndr4300.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WNR2000) += mach-wnr2000.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WNR2000_V3) += mach-wnr2000-v3.o
|
|
|
|
+obj-$(CONFIG_ATH79_MACH_WNR2000_V4) += mach-wnr2000-v4.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WNR2200) += mach-wnr2200.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WP543) += mach-wp543.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WPE72) += mach-wpe72.o
|
|
|
|
--- a/arch/mips/ath79/machtypes.h
|
|
|
|
+++ b/arch/mips/ath79/machtypes.h
|
2014-12-08 12:04:25 +00:00
|
|
|
@@ -145,6 +145,7 @@ enum ath79_mach_type {
|
2014-11-23 16:27:19 +00:00
|
|
|
ATH79_MACH_WNDR4300, /* NETGEAR WNDR4300 */
|
|
|
|
ATH79_MACH_WNR2000, /* NETGEAR WNR2000 */
|
|
|
|
ATH79_MACH_WNR2000_V3, /* NETGEAR WNR2000 v3 */
|
|
|
|
+ ATH79_MACH_WNR2000_V4, /* NETGEAR WNR2000 v4 */
|
|
|
|
ATH79_MACH_WNR2200, /* NETGEAR WNR2200 */
|
|
|
|
ATH79_MACH_WNR612_V2, /* NETGEAR WNR612 v2 */
|
|
|
|
ATH79_MACH_WP543, /* Compex WP543 */
|