From 96ee39b184a3863bba1cc42efc5bbd34495d20ff Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 10 Mar 2016 19:11:57 +0000 Subject: 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 --- target/linux/ramips/base-files/etc/board.d/01_leds | 3 +++ target/linux/ramips/base-files/etc/board.d/02_network | 1 + target/linux/ramips/base-files/lib/ramips.sh | 3 +++ target/linux/ramips/base-files/lib/upgrade/platform.sh | 1 + 4 files changed, 8 insertions(+) (limited to 'target/linux/ramips/base-files') 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|\ -- cgit v1.2.3