aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-03-10 19:11:57 +0000
committerJohn Crispin <john@openwrt.org>2016-03-10 19:11:57 +0000
commit96ee39b184a3863bba1cc42efc5bbd34495d20ff (patch)
treee508c929f6adce21d280ac6599c091c4a21a39e0 /target/linux/ramips/base-files
parent70a5c062f10a63087bd3225454145c3b528a7818 (diff)
downloadupstream-96ee39b184a3863bba1cc42efc5bbd34495d20ff.tar.gz
upstream-96ee39b184a3863bba1cc42efc5bbd34495d20ff.tar.bz2
upstream-96ee39b184a3863bba1cc42efc5bbd34495d20ff.zip
ramips: Add support for GL-MT300A
This patches adds support for GL-MT300A. GL-MT300A is powered by MT7620A. It has 16MB flash, 128MB RAM, Two LANs, USB, UART and MMC daughter board. SVN-Revision: 48992
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, 8 insertions, 0 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 8fd50fedc7..536a363d92 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -137,6 +137,9 @@ fonera20n)
set_usb_led "$board:orange:usb"
set_wifi_led "$board:orange:wifi"
;;
+gl-mt300a)
+ set_wifi_led "$board:wlan"
+ ;;
hc5661)
ucidef_set_led_default "system" "system" "$board:blue:system" "1"
ucidef_set_led_netdev "internet" "internet" "$board:blue:internet" "eth0.2"
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 ac5a312d84..74599adf5d 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -113,6 +113,7 @@ ramips_setup_interfaces()
dir-860l-b1|\
f5d8235-v1|\
f5d8235-v2|\
+ gl-mt300a|\
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 3fdb5627e3..ba27c1436d 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -175,6 +175,9 @@ ramips_board_detect() {
*"FreeStation5")
name="freestation5"
;;
+ *"GL-MT300A")
+ name="gl-mt300a"
+ ;;
*"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 e01f9ce7f6..876416ea81 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -56,6 +56,7 @@ platform_check_image() {
firewrt|\
fonera20n|\
freestation5|\
+ gl-mt300a|\
hc5*61|\
hg255d|\
hlk-rm04|\