diff options
author | John Crispin <john@openwrt.org> | 2015-07-14 07:32:33 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-07-14 07:32:33 +0000 |
commit | 02984a6e09416230d929c17e5dc738c09127934c (patch) | |
tree | 92e0b230961c0d997dc6820afb176d652cc3af3b /target/linux/ar71xx/base-files | |
parent | a06c1c810ebd6a89ae04ca4cd4c2229e0ec335a0 (diff) | |
download | upstream-02984a6e09416230d929c17e5dc738c09127934c.tar.gz upstream-02984a6e09416230d929c17e5dc738c09127934c.tar.bz2 upstream-02984a6e09416230d929c17e5dc738c09127934c.zip |
ar71xx: add support for the devolo dLAN pro 500 Wireless+
Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
SVN-Revision: 46338
Diffstat (limited to 'target/linux/ar71xx/base-files')
5 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index ce2b9bad50..cb5d963139 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -75,6 +75,9 @@ get_status_led() { dir-835-a1) status_led="d-link:amber:power" ;; + dlan-pro-500-wp) + status_led="devolo:green:wlan-2g" + ;; dragino2) status_led="dragino2:red:system" ;; diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds index a361b773e7..cf5c735032 100644 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -173,6 +173,13 @@ dir-825-c1) ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "d-link:blue:wlan2g" "phy0tpt" ;; +dlan-pro-500-wp) + ucidef_set_led_default "power" "System Power" "devolo:green:status" "1" + ucidef_set_led_netdev "lan" "Ethernet Activity" "devolo:green:eth" "br-lan" + ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "devolo:green:wlan-2g" "phy0tpt" + ucidef_set_led_wlan "wlan5g" "WLAN 5 GHz" "devolo:blue:wlan-5g" "none" + ;; + gl-inet) ucidef_set_led_netdev "lan" "LAN" "gl-connect:green:lan" "eth1" ucidef_set_led_wlan "wlan" "WLAN" "gl-connect:red:wlan" "phy0tpt" diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network index ec709a002c..615dbc4f8a 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -301,6 +301,10 @@ esr900) [ -n "$mac" ] && ucidef_set_interface_macaddr "wan" "$mac" ;; +dlan-pro-500-wp) + ucidef_set_interface_lan "eth0 eth1" + ;; + all0305 |\ aw-nr580 |\ bullet-m |\ diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index dd13948c40..f323ec3612 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -423,6 +423,9 @@ ar71xx_board_detect() { *"DIR-835 rev. A1") name="dir-835-a1" ;; + *"dLAN pro 500 Wireless+") + name="dlan-pro-500-wp" + ;; *"Dragino v2") name="dragino2" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 73d8b0d7f6..8b27b6deb5 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -208,6 +208,7 @@ platform_check_image() { dir-615-i1 | \ dir-825-c1 | \ dir-835-a1 | \ + dlan-pro-500-wp | \ dragino2 | \ epg5000 | \ esr1750 | \ |