aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-01-01 21:21:13 +0000
committerJohn Crispin <john@openwrt.org>2016-01-01 21:21:13 +0000
commit9242d27b4a91c2cf2e787d3a893de3a95890e717 (patch)
tree953964c0542e940d72efcab4225a701172bf7071 /target/linux/ar71xx/base-files/etc
parente0019b33a4e198ab7b00b103d19d33988fdab4f6 (diff)
downloadupstream-9242d27b4a91c2cf2e787d3a893de3a95890e717.tar.gz
upstream-9242d27b4a91c2cf2e787d3a893de3a95890e717.tar.bz2
upstream-9242d27b4a91c2cf2e787d3a893de3a95890e717.zip
V2 ar71xx : Add Support for the Bitmain Antrouter R1
This patch adds support for the Bitmain Antrouter R1 http://wiki.openwrt.org/toh/bitmain/r1 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 48058
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds5
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh3
3 files changed, 9 insertions, 0 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 576d45b64d..cfb42a590a 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -45,6 +45,11 @@ antminer-s3)
ucidef_set_led_default "lan" "LAN" "antminer-s3:yellow:lan" "0"
;;
+antrouter-r1)
+ ucidef_set_led_wlan "wlan" "WLAN" "antrouter-r1:green:wlan" "phy0tpt"
+ ucidef_set_led_default "btc" "BTC" "antrouter-r1:green:btc" "0"
+ ;;
+
arduino-yun)
ucidef_set_led_wlan "wlan" "WLAN" "arduino:blue:wlan" "phy0tpt"
ucidef_set_led_usbdev "usb" "USB" "arduino:white:usb" "1-1.1"
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 8c57f2b59c..6b6c6a465f 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -317,6 +317,7 @@ dlan-pro-1200-ac)
all0305 |\
antminer-s1 |\
antminer-s3 |\
+antrouter-r1 |\
aw-nr580 |\
bullet-m |\
c-55 |\
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 7e2dac8035..13a0a98d30 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -18,6 +18,9 @@ get_status_led() {
antminer-s3)
status_led="antminer-s3:green:system"
;;
+ antminer-r1)
+ status_led="antminer-r1:green:system"
+ ;;
ap132)
status_led="ap132:green:status"
;;