aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-03-10 19:12:04 +0000
committerJohn Crispin <john@openwrt.org>2016-03-10 19:12:04 +0000
commitbe53e5a154931109dd76a8015583123201c4b602 (patch)
tree095c1a0e5fe884e61ef1cbf3565c24c525997bc2 /target/linux/ramips/base-files
parent96ee39b184a3863bba1cc42efc5bbd34495d20ff (diff)
downloadupstream-be53e5a154931109dd76a8015583123201c4b602.tar.gz
upstream-be53e5a154931109dd76a8015583123201c4b602.tar.bz2
upstream-be53e5a154931109dd76a8015583123201c4b602.zip
ramips: Add support for GL-MT300N
This patch adds support for GL-MT300N. GL-MT300N is powered by MT7620N with 16MB flash, 64MB RAM, 2 LANs, USB, UART, GPIO and PoE support. SVN-Revision: 48993
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
4 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index 536a363d92..132c7cecbb 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -137,7 +137,8 @@ fonera20n)
set_usb_led "$board:orange:usb"
set_wifi_led "$board:orange:wifi"
;;
-gl-mt300a)
+gl-mt300a|\
+gl-mt300n)
set_wifi_led "$board:wlan"
;;
hc5661)
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index 74599adf5d..40c24a9769 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -114,6 +114,7 @@ ramips_setup_interfaces()
f5d8235-v1|\
f5d8235-v2|\
gl-mt300a|\
+ gl-mt300n|\
hg255d|\
mzk-wdpr|\
jhr-n805r|\
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index ba27c1436d..fcc4b9fb08 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -178,6 +178,9 @@ ramips_board_detect() {
*"GL-MT300A")
name="gl-mt300a"
;;
+ *"GL-MT300N")
+ name="gl-mt300n"
+ ;;
*"HC5661")
name="hc5661"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 876416ea81..87278317bb 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -57,6 +57,7 @@ platform_check_image() {
fonera20n|\
freestation5|\
gl-mt300a|\
+ gl-mt300n|\
hc5*61|\
hg255d|\
hlk-rm04|\