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/etc | |
parent | d0d3ca2a1bc5fc61233351e1f5f5cd462e59407b (diff) | |
download | mtk-20170518-1eccdb4fd4c96615ed99c78b603f03a2e46a4d14.zip mtk-20170518-1eccdb4fd4c96615ed99c78b603f03a2e46a4d14.tar.gz mtk-20170518-1eccdb4fd4c96615ed99c78b603f03a2e46a4d14.tar.bz2 |
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/etc')
4 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 cb5d963..f3bd142 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 50f7425..fbbfbd7 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 cf5c735..d6f7d1a 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 615dbc4..9a0d0a3 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 |\ |