2
0
forked from Ivasoft/openwrt

ar71xx: add support for TP-Link Archer C25 v1

The TP-Link Archer C25 is a low-cost dual-band router.

Specification:

- CPU: Atheros QCA9561 775 MHz
- RAM: 64 MB
- Flash: 8 MB
- Wifi: 3x3 2.4 GHz (integrated), 1x1 5 GHz QCA9887
- NET: 5x 10/100 Mbps Ethernet

Some LEDs are controlled by an additional 74HC595 chip.

Signed-off-by: Ludwig Thomeczek <ledesrc@wxorx.net>
[minor code style fixes, boards alphabetical order fixes,
reworked commit message]
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
This commit is contained in:
Ludwig Thomeczek
2017-04-22 18:21:47 +02:00
committed by Piotr Dymacz
parent b7cc661615
commit b4711dbad3
14 changed files with 274 additions and 0 deletions

View File

@@ -54,6 +54,15 @@ sc1750|\
sc450)
ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt"
;;
archer-c25-v1)
ucidef_set_led_netdev "wan" "WAN" "$board:green:wan" "eth0"
ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan2g" "phy1tpt"
ucidef_set_led_wlan "wlan5g" "WLAN5G" "$board:green:wlan5g" "phy0tpt"
ucidef_set_led_switch "lan1" "LAN1" "$board:green:lan1" "switch0" "0x10"
ucidef_set_led_switch "lan2" "LAN2" "$board:green:lan2" "switch0" "0x08"
ucidef_set_led_switch "lan3" "LAN3" "$board:green:lan3" "switch0" "0x04"
ucidef_set_led_switch "lan4" "LAN4" "$board:green:lan4" "switch0" "0x02"
;;
archer-c59-v1|\
archer-c60-v1)
ucidef_set_led_switch "lan" "LAN" "$board:green:lan" "switch0" "0x1E"

View File

@@ -133,6 +133,7 @@ ar71xx_setup_interfaces()
a60|\
alfa-ap96|\
alfa-nx|\
archer-c25-v1|\
dr344|\
gl-ar150|\
gl-ar300m|\

View File

@@ -51,6 +51,7 @@ get_status_led() {
ap135-020)
status_led="ap135:green:status"
;;
archer-c25-v1|\
archer-c59-v1|\
archer-c60-v1|\
mr12|\

View File

@@ -92,6 +92,7 @@ case "$FIRMWARE" in
ath10kcal_extract "art" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) -2)
;;
archer-c25-v1|\
archer-c59-v1|\
archer-c60-v1|\
tl-wdr6500-v2)