From eb97f41fc23ffbd6635b402d6e0bbd8e8ef029bb Mon Sep 17 00:00:00 2001
From: Conor O'Gorman <i@conorogorman.net>
Date: Sun, 15 Jan 2017 22:01:03 +0000
Subject: 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>
---
 target/linux/ar71xx/base-files/etc/board.d/01_leds    | 1 +
 target/linux/ar71xx/base-files/etc/board.d/02_network | 1 +
 target/linux/ar71xx/base-files/etc/diag.sh            | 3 ++-
 3 files changed, 4 insertions(+), 1 deletion(-)

(limited to 'target/linux/ar71xx/base-files/etc')

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|\
-- 
cgit v1.2.3