diff options
Diffstat (limited to 'target/linux/ar71xx/base-files')
6 files changed, 18 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 5011af6ec9..89d0b5892b 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -142,6 +142,12 @@ dragino2) ucidef_set_led_netdev "lan" "LAN" "$board:red:lan" "eth0" ucidef_set_led_netdev "wan" "WAN" "$board:red:wan" "eth1" ;; +dw33d) + ucidef_set_led_usbdev "mmc" "MMC" "$board:blue:mmc" "1-1" + ucidef_set_led_usbdev "usb" "USB" "$board:blue:usb" "2-1" + ucidef_set_led_netdev "internet" "INTERNET" "$board:blue:internet" "eth0" + ucidef_set_led_wlan "wlan2g" "WLAN-2.4G" "$board:blue:wlan-2g" "phy1tpt" + ;; eap300v2) ucidef_set_led_netdev "lan" "LAN" "engenius:blue:lan" "eth0" ucidef_set_led_wlan "wlan" "WLAN" "engenius:blue:wlan" "phy0tpt" 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 b7b91d0ad8..eaf67180e8 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -305,6 +305,7 @@ ar71xx_setup_interfaces() ucidef_add_switch "switch0" \ "0@eth0" "2:lan" "3:lan" ;; + dw33d|\ f9k1115v2) ucidef_set_interfaces_lan_wan "eth1" "eth0" ucidef_add_switch "switch0" \ diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 7a40f44e4a..e225ddbbb5 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -130,6 +130,9 @@ get_status_led() { oolite) status_led="$board:red:system" ;; + dw33d) + status_led="$board:blue:status" + ;; eap120) status_led="$(ar71xx_board_name):green: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 a0a111b3d1..322998d2cf 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 @@ -50,6 +50,10 @@ case "$FIRMWARE" in dlan-pro-1200-ac) ath10kcal_extract "art" 20480 2116 ;; + dw33d) + ath10kcal_extract "art" 20480 2116 + ath10kcal_patch_mac $(mtd_get_mac_binary art 18) + ;; 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/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 1492b50774..85f5bf27dd 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -566,6 +566,9 @@ ar71xx_board_detect() { *"Domino Pi") name="gl-domino" ;; + *"DW33D") + name="dw33d" + ;; *"EAP120") name="eap120" tplink_pharos_board_detect diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 35e9bb4391..e98c3ce4e1 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -262,6 +262,7 @@ platform_check_image() { bxu2000n-2-a1|\ db120|\ dr344|\ + dw33d|\ f9k1115v2|\ hornet-ub|\ mr12|\ |