diff options
author | John Crispin <john@openwrt.org> | 2015-07-14 07:37:03 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-07-14 07:37:03 +0000 |
commit | 1eccdb4fd4c96615ed99c78b603f03a2e46a4d14 (patch) | |
tree | ada84c4df7510d4f04e517a5648388b9eaefc88e /target/linux/ar71xx/base-files | |
parent | d0d3ca2a1bc5fc61233351e1f5f5cd462e59407b (diff) | |
download | upstream-1eccdb4fd4c96615ed99c78b603f03a2e46a4d14.tar.gz upstream-1eccdb4fd4c96615ed99c78b603f03a2e46a4d14.tar.bz2 upstream-1eccdb4fd4c96615ed99c78b603f03a2e46a4d14.zip |
ar71xx: add support for the devolo dLAN pro 1200+ WiFi ac
Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
SVN-Revision: 46342
Diffstat (limited to 'target/linux/ar71xx/base-files')
6 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index cb5d963139..f3bd142ff1 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -78,6 +78,9 @@ get_status_led() { dlan-pro-500-wp) status_led="devolo:green:wlan-2g" ;; + dlan-pro-1200-ac) + status_led="devolo:status:wlan" + ;; dragino2) status_led="dragino2:red:system" ;; diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata index 50f7425128..fbbfbd7eea 100644 --- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata +++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata @@ -47,6 +47,9 @@ board=$(ar71xx_board_name) case "$FIRMWARE" in "ath10k/cal-pci-0000:00:00.0.bin") case $board in + dlan-pro-1200-ac) + ath10kcal_extract "art" 20480 2116 + ;; mc-mac1200r) ath10kcal_extract "art" 20480 2116 ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -1) 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 cf5c735032..d6f7d1a9c6 100644 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -180,6 +180,12 @@ dlan-pro-500-wp) ucidef_set_led_wlan "wlan5g" "WLAN 5 GHz" "devolo:blue:wlan-5g" "none" ;; +dlan-pro-1200-ac) + ucidef_set_led_wlan "wlan" "WLAN" "devolo:status:wlan" "phy0radio" + ucidef_set_led_trigger_gpio "plcw" "dLAN" "devolo:status:dlan" "17" "0" + ucidef_set_led_trigger_gpio "plcr" "dLAN" "devolo:error:dlan" "16" "0" + ;; + 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 615dbc4f8a..9a0d0a3514 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -305,6 +305,12 @@ dlan-pro-500-wp) ucidef_set_interface_lan "eth0 eth1" ;; +dlan-pro-1200-ac) + ucidef_set_interface_lan "eth0" + ucidef_add_switch "switch0" "1" "0" + ucidef_add_switch_vlan "switch0" "0" "0 2 3 4" + ;; + 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 f323ec3612..9d3d2cbc29 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -426,6 +426,9 @@ ar71xx_board_detect() { *"dLAN pro 500 Wireless+") name="dlan-pro-500-wp" ;; + *"dLAN pro 1200+ WiFi ac") + name="dlan-pro-1200-ac" + ;; *"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 8b27b6deb5..41e344c129 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -209,6 +209,7 @@ platform_check_image() { dir-825-c1 | \ dir-835-a1 | \ dlan-pro-500-wp | \ + dlan-pro-1200-ac | \ dragino2 | \ epg5000 | \ esr1750 | \ |