diff options
author | Ludwig Thomeczek <ledesrc@wxorx.net> | 2017-04-22 18:21:47 +0200 |
---|---|---|
committer | Piotr Dymacz <pepe2k@gmail.com> | 2017-06-11 21:32:18 +0200 |
commit | b4711dbad362cca08258152952e11585c109ff45 (patch) | |
tree | 93a9997b8a8f7d193ce64a904bf183c1881d582f /target/linux/ar71xx/base-files/etc/board.d | |
parent | b7cc6616152a12b3f68c5f36e9ef052da5de889e (diff) | |
download | upstream-b4711dbad362cca08258152952e11585c109ff45.tar.gz upstream-b4711dbad362cca08258152952e11585c109ff45.tar.bz2 upstream-b4711dbad362cca08258152952e11585c109ff45.zip |
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>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/board.d')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/01_leds | 9 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/02_network | 1 |
2 files changed, 10 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 be6dfcc968..87f99ea9d8 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -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" 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 b805487977..80355d6160 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -133,6 +133,7 @@ ar71xx_setup_interfaces() a60|\ alfa-ap96|\ alfa-nx|\ + archer-c25-v1|\ dr344|\ gl-ar150|\ gl-ar300m|\ |