From ecba34a3eed3dc747b5e2588dc138dee178ebed2 Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Mon, 11 Aug 2014 11:44:51 +0000 Subject: add support for the NC-LINK SMART-300 Signed-off-by: Imre Kaloz SVN-Revision: 42130 --- .../725-MIPS-ath79-add-smart-300-support.patch | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 target/linux/ar71xx/patches-3.14/725-MIPS-ath79-add-smart-300-support.patch (limited to 'target/linux/ar71xx/patches-3.14') diff --git a/target/linux/ar71xx/patches-3.14/725-MIPS-ath79-add-smart-300-support.patch b/target/linux/ar71xx/patches-3.14/725-MIPS-ath79-add-smart-300-support.patch new file mode 100644 index 0000000000..a96b2a4315 --- /dev/null +++ b/target/linux/ar71xx/patches-3.14/725-MIPS-ath79-add-smart-300-support.patch @@ -0,0 +1,38 @@ +--- a/arch/mips/ath79/machtypes.h ++++ b/arch/mips/ath79/machtypes.h +@@ -103,6 +103,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 +@@ -92,6 +92,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 -- cgit v1.2.3