aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorConor O'Gorman <i@conorogorman.net>2017-01-15 22:01:03 +0000
committerJohn Crispin <john@phrozen.org>2017-01-20 00:40:27 +0100
commiteb97f41fc23ffbd6635b402d6e0bbd8e8ef029bb (patch)
tree34642053bba77125bc7bdb8224c7fe279a07f2e1 /target/linux/ar71xx/base-files
parent07a02efd07ad7b13aae6d58d55a53fcecbe691d5 (diff)
downloadupstream-eb97f41fc23ffbd6635b402d6e0bbd8e8ef029bb.tar.gz
upstream-eb97f41fc23ffbd6635b402d6e0bbd8e8ef029bb.tar.bz2
upstream-eb97f41fc23ffbd6635b402d6e0bbd8e8ef029bb.zip
ar71xx: add Abicom SC300M support
Support Abicom International Scorpion SC300M Module QCA9550 700MHz Extended Temperature Range 256MB DDR2 256MB Nand Flash 16MB SPI Flash 802.11a/na/b/g/ng GPIO x 22, USB x2, PCIe x2 10/100/1000 Ethernet 23dBm, Optional Onboard Antenna DC Input, 8-20V DC 85 x 55 mm Signed-off-by: Conor O'Gorman <i@conorogorman.net>
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds1
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
5 files changed, 8 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds
index 84cfb1e616..57925c5aae 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -282,6 +282,7 @@ gl-mifi)
esac
;;
gl-domino|\
+sc300m|\
wrt160nl)
ucidef_set_led_wlan "wlan" "WLAN" "$board:blue:wlan" "phy0tpt"
;;
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index c916462fc6..987a8e4f12 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -94,6 +94,7 @@ ar71xx_setup_interfaces()
rb-sxt5n|\
re450|\
rocket-m-xw|\
+ sc300m |\
tl-mr10u|\
tl-mr11u|\
tl-mr12u|\
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 75c6c9acba..551088b060 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -295,7 +295,8 @@ get_status_led() {
rb-sxt5n)
status_led="rb:green:power"
;;
- re450)
+ re450|\
+ sc300m)
status_led="$board:blue:power"
;;
routerstation|\
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 7f27f45635..fb8997fe89 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -884,6 +884,9 @@ ar71xx_board_detect() {
*RW2458N)
name="rw2458n"
;;
+ *SC300M)
+ name="sc300m"
+ ;;
*"SMART-300")
name="smart-300"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 80da9131c7..d98f2733f5 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -254,6 +254,7 @@ platform_check_image() {
rocket-m-xw|\
rocket-m|\
rw2458n|\
+ sc300m|\
sr3200|\
tew-632brp|\
tew-712br|\