|
|
|
--- a/arch/mips/ath79/machtypes.h
|
|
|
|
+++ b/arch/mips/ath79/machtypes.h
|
|
|
|
@@ -104,6 +104,7 @@ enum ath79_mach_type {
|
|
|
|
ATH79_MACH_RB_SXTLITE2ND, /* Mikrotik RouterBOARD SXT Lite 2nD */
|
|
|
|
ATH79_MACH_RB_SXTLITE5ND, /* Mikrotik RouterBOARD SXT Lite 5nD */
|
|
|
|
ATH79_MACH_RW2458N, /* Redwave RW2458N */
|
|
|
|
+ ATH79_MACH_SMART_300, /* NC-LINK SMART-300 */
|
|
|
|
ATH79_MACH_TEW_632BRP, /* TRENDnet TEW-632BRP */
|
|
|
|
ATH79_MACH_TEW_673GRU, /* TRENDnet TEW-673GRU */
|
|
|
|
ATH79_MACH_TEW_712BR, /* TRENDnet TEW-712BR */
|
|
|
|
--- a/arch/mips/ath79/Kconfig
|
|
|
|
+++ b/arch/mips/ath79/Kconfig
|
|
|
|
@@ -518,6 +518,15 @@ config ATH79_MACH_RBSXTLITE
|
|
|
|
select ATH79_DEV_WMAC
|
|
|
|
select ATH79_ROUTERBOOT
|
|
|
|
|
|
|
|
+config ATH79_MACH_SMART_300
|
|
|
|
+ bool "NC-LINK SMART-300 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_WNDAP360
|
|
|
|
bool "NETGEAR WNDAP360 board support"
|
|
|
|
select SOC_AR71XX
|
|
|
|
--- a/arch/mips/ath79/Makefile
|
|
|
|
+++ b/arch/mips/ath79/Makefile
|
|
|
|
@@ -93,6 +93,7 @@ obj-$(CONFIG_ATH79_MACH_RB95X) += mach-
|
|
|
|
obj-$(CONFIG_ATH79_MACH_RB2011) += mach-rb2011.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_RBSXTLITE) += mach-rbsxtlite.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_RW2458N) += mach-rw2458n.o
|
|
|
|
+obj-$(CONFIG_ATH79_MACH_SMART_300) += mach-smart-300.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TEW_632BRP) += mach-tew-632brp.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TEW_673GRU) += mach-tew-673gru.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TEW_712BR) += mach-tew-712br.o
|