mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
ar71xx: fix LEDs and sysupgrade support for TL-WA801ND v3
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
This commit is contained in:
parent
a245772291
commit
9c5af2489a
@ -525,6 +525,10 @@ tl-wa750re)
|
|||||||
ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "tp-link:orange:signal4" "wlan0" "60" "100" "-59" "13"
|
ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "tp-link:orange:signal4" "wlan0" "60" "100" "-59" "13"
|
||||||
ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "tp-link:orange:signal5" "wlan0" "80" "100" "-79" "13"
|
ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "tp-link:orange:signal5" "wlan0" "80" "100" "-79" "13"
|
||||||
;;
|
;;
|
||||||
|
tl-wa801nd-v3)
|
||||||
|
ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth1"
|
||||||
|
ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
|
||||||
|
;;
|
||||||
tl-wa850re)
|
tl-wa850re)
|
||||||
ucidef_set_led_netdev "lan" "LAN" "tp-link:blue:lan" "eth0"
|
ucidef_set_led_netdev "lan" "LAN" "tp-link:blue:lan" "eth0"
|
||||||
ucidef_set_led_wlan "wlan" "WLAN" "tp-link:blue:wlan" "phy0tpt"
|
ucidef_set_led_wlan "wlan" "WLAN" "tp-link:blue:wlan" "phy0tpt"
|
||||||
|
@ -348,6 +348,7 @@ get_status_led() {
|
|||||||
tl-wr1043nd-v2|\
|
tl-wr1043nd-v2|\
|
||||||
tl-wr741nd|\
|
tl-wr741nd|\
|
||||||
tl-wr741nd-v4|\
|
tl-wr741nd-v4|\
|
||||||
|
tl-wa801nd-v3|\
|
||||||
tl-wr841n-v1|\
|
tl-wr841n-v1|\
|
||||||
tl-wr841n-v7|\
|
tl-wr841n-v7|\
|
||||||
tl-wr841n-v8|\
|
tl-wr841n-v8|\
|
||||||
|
@ -363,6 +363,7 @@ platform_check_image() {
|
|||||||
tl-wa750re|\
|
tl-wa750re|\
|
||||||
tl-wa7510n|\
|
tl-wa7510n|\
|
||||||
tl-wa801nd-v2|\
|
tl-wa801nd-v2|\
|
||||||
|
tl-wa801nd-v3|\
|
||||||
tl-wa830re-v2|\
|
tl-wa830re-v2|\
|
||||||
tl-wa850re|\
|
tl-wa850re|\
|
||||||
tl-wa860re|\
|
tl-wa860re|\
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
#include "machtypes.h"
|
#include "machtypes.h"
|
||||||
|
|
||||||
#define TL_WA801NDV3_GPIO_LED_WLAN 12
|
#define TL_WA801NDV3_GPIO_LED_WLAN 12
|
||||||
#define TL_WA801NDV3_GPIO_LED_QSS 13
|
#define TL_WA801NDV3_GPIO_LED_SYSTEM 13
|
||||||
#define TL_WA801NDV3_GPIO_LED_SECURITY_RED 11
|
#define TL_WA801NDV3_GPIO_LED_SECURITY_RED 11
|
||||||
#define TL_WA801NDV3_GPIO_LED_SECURITY_GREEN 15
|
#define TL_WA801NDV3_GPIO_LED_SECURITY_GREEN 15
|
||||||
#define TL_WA801NDV3_GPIO_LED_LAN 3
|
#define TL_WA801NDV3_GPIO_LED_LAN 3
|
||||||
@ -46,8 +46,8 @@ static struct flash_platform_data tl_wa801n_v3_flash_data = {
|
|||||||
|
|
||||||
static struct gpio_led tl_wa801n_v3_leds_gpio[] __initdata = {
|
static struct gpio_led tl_wa801n_v3_leds_gpio[] __initdata = {
|
||||||
{
|
{
|
||||||
.name = "tp-link:green:qss",
|
.name = "tp-link:green:system",
|
||||||
.gpio = TL_WA801NDV3_GPIO_LED_QSS,
|
.gpio = TL_WA801NDV3_GPIO_LED_SYSTEM,
|
||||||
.active_low = 1,
|
.active_low = 1,
|
||||||
}, {
|
}, {
|
||||||
.name = "tp-link:green:lan",
|
.name = "tp-link:green:lan",
|
||||||
|
Loading…
Reference in New Issue
Block a user