X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Fbase-files%2Fetc%2Fboard.d%2F01_leds;h=ee67899d4f1bf66a0585816fcd1153b1068f803e;hb=56561b9f5198d39604809e5cc10dead3e12c1fdf;hp=7a7329f9653156132d7a8f3b87b28588c7f8c8ff;hpb=261415a660c12a5673fe3d48dabaf677e1d5c32c;p=openwrt%2Fopenwrt.git 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 7a7329f965..ee67899d4f 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -11,6 +11,14 @@ board_config_update board=$(ar71xx_board_name) case "$board" in +a40) + ucidef_set_led_default "status-red" "Status (red)" "a40:red:status" "0" + ucidef_set_led_default "status-blue" "Status (blue)" "a40:blue:status" "0" + ;; +a60) + ucidef_set_led_default "status-red" "Status (red)" "a60:red:status" "0" + ucidef_set_led_default "status-blue" "Status (blue)" "a60:blue:status" "0" + ;; airgateway|\ airgatewaypro) ucidef_set_led_wlan "wlan" "WLAN" "ubnt:blue:wlan" "phy0tpt" @@ -41,6 +49,19 @@ antrouter-r1) ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt" ucidef_set_led_default "btc" "BTC" "$board:green:btc" "0" ;; +archer-c59-v1|\ +archer-c60-v1) + ucidef_set_led_switch "lan" "LAN" "$board:green:lan" "switch0" "0x3C" + ucidef_set_led_switch "wan" "WAN" "$board:green:wan" "switch0" "0x02" + ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan2g" "phy1tpt" + ucidef_set_led_wlan "wlan5g" "WLAN5G" "$board:green:wlan5g" "phy0tpt" + + case "$board" in + archer-c59-v1) + ucidef_set_led_usbdev "usb" "USB" "$board:green:usb" "1-1" + ;; + esac + ;; arduino-yun) ucidef_set_led_wlan "wlan" "WLAN" "arduino:blue:wlan" "phy0tpt" ucidef_set_led_usbdev "usb" "USB" "arduino:white:usb" "1-1.1" @@ -392,9 +413,11 @@ nbg6716) ;; om2p|\ om2pv2|\ +om2pv4|\ om2p-hs|\ om2p-hsv2|\ om2p-hsv3|\ +om2p-hsv4|\ om2p-lc) ucidef_set_led_netdev "port1" "port1" "om2p:blue:wan" "eth0" ucidef_set_led_netdev "port2" "port2" "om2p:blue:lan" "eth1" @@ -551,7 +574,8 @@ 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|\ +tl-wa850re-v2) ucidef_set_led_netdev "lan" "LAN" "tp-link:blue:lan" "eth0" ucidef_set_led_wlan "wlan" "WLAN" "tp-link:blue:wlan" "phy0tpt" ucidef_set_rssimon "wlan0" "200000" "1"