aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-04-26 11:44:36 +0000
committerJohn Crispin <john@openwrt.org>2016-04-26 11:44:36 +0000
commitee53a240ac902dc83209008a2671e7fdcf55957a (patch)
tree46784099f9e7783611272498ec69702911a65a4c /target/linux/ar71xx/base-files/etc
parentbe1985471e009ac069a61c8e6680067058a6cb82 (diff)
downloadupstream-ee53a240ac902dc83209008a2671e7fdcf55957a.tar.gz
upstream-ee53a240ac902dc83209008a2671e7fdcf55957a.tar.bz2
upstream-ee53a240ac902dc83209008a2671e7fdcf55957a.zip
ar71xx: Add support for the OMYlink OMY-G1reboot
https://wiki.openwrt.org/toh/omylink/omy-g1 http://www.omylink.com/ Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 49258
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds6
-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, 10 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 b2469bf4d8..39b21ca519 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -399,6 +399,12 @@ om5p-ac)
ucidef_set_led_netdev "port2" "port2" "om5pac:blue:wan" "eth1"
;;
+omy-g1)
+ ucidef_set_led_wlan "wlan" "WLAN" "omy:green:wlan" "phy0tpt"
+ ucidef_set_led_netdev "wan" "WAN" "omy:green:wan" "eth0"
+ ucidef_set_led_netdev "lan" "LAN" "omy:green:lan" "eth1"
+ ;;
+
omy-x1)
ucidef_set_led_default "power" "POWER" "omy:green:power" "1"
ucidef_set_led_default "wan" "WAN" "omy:green:wan" "eth0"
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 8fdfa0700e..7724a08a0e 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -220,6 +220,7 @@ tl-wr941nd)
;;
dir-615-i1 |\
+omy-g1 |\
r6100 |\
smart-300 |\
tl-mr3420-v2 |\
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 1f9bd3f706..77fa398a66 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -218,6 +218,9 @@ get_status_led() {
om5p-acv2)
status_led="om5pac:blue:power"
;;
+ omy-g1)
+ status_led="omy:green:wlan"
+ ;;
omy-x1)
status_led="omy:green:power"
;;