ath79: add support for ASUS PL-AC56
[openwrt/staging/ansuel.git] / target / linux / ath79 / generic / base-files / etc / board.d / 01_leds
index 18904f8528318094fbf8d10b99e68bbc9150f030..0802b8345f792921a17ebe48d48b5a9ea2b7457d 100644 (file)
@@ -48,6 +48,19 @@ alfa-network,r36a)
        ucidef_set_led_netdev "lan" "LAN" "blue:lan" "eth0"
        ucidef_set_led_switch "wan" "WAN" "blue:wan" "switch0" "0x10"
        ;;
+alfa-network,tube-2hq)
+       ucidef_set_led_netdev "lan" "LAN" "blue:lan" "eth0"
+       ucidef_set_rssimon "wlan0" "200000" "1"
+       ucidef_set_led_rssi "signal1" "SIGNAL1" "red:signal1" "wlan0" "1" "100"
+       ucidef_set_led_rssi "signal2" "SIGNAL2" "orange:signal2" "wlan0" "25" "100"
+       ucidef_set_led_rssi "signal3" "SIGNAL3" "green:signal3" "wlan0" "50" "100"
+       ucidef_set_led_rssi "signal4" "SIGNAL4" "green:signal4" "wlan0" "75" "100"
+       ;;
+asus,pl-ac56)
+       ucidef_set_led_switch "lan" "LAN" "green:lan" "switch0" "0x3e"
+       ucidef_set_led_netdev "wlan2g" "WLAN2G" "green:wlan2g" "wlan1" "link"
+       ucidef_set_led_netdev "wlan5g" "WLAN5G" "green:wlan5g" "wlan0" "link"
+       ;;
 asus,rp-ac66)
        ucidef_set_rssimon "wlan0" "200000" "1"
        ucidef_set_rssimon "wlan1" "200000" "1"
@@ -238,9 +251,14 @@ glinet,gl-x750)
 hak5,lan-turtle)
        ucidef_set_led_netdev "wan" "WAN" "orange:system" "eth1"
        ;;
-joyit,jt-or750i)
+joyit,jt-or750i|\
+yuncore,xd3200)
        ucidef_set_led_default "ath10k" "ath10k-disable" "ath10k-phy0" "0"
        ;;
+hiwifi,hc6361)
+       ucidef_set_led_netdev "wan" "WAN" "blue:wan" "eth1"
+       ucidef_set_led_wlan "wlan" "WLAN" "blue:wlan" "phy0tpt"
+       ;;
 meraki,mr12|\
 tplink,cpe210-v2|\
 tplink,cpe210-v3)
@@ -317,6 +335,9 @@ tplink,archer-c7-v5)
        ucidef_set_led_switch "lan3" "LAN3" "green:lan3" "switch0" "0x10"
        ucidef_set_led_switch "lan4" "LAN4" "green:lan4" "switch0" "0x20"
        ;;
+tplink,archer-a9-v6)
+       ucidef_set_led_switch "wan" "WAN" "green:wan" "switch0" "0x02"
+       ;;
 tplink,archer-c2-v3|\
 tplink,tl-wr1043nd-v4|\
 tplink,tl-wr1043n-v5)
@@ -390,10 +411,7 @@ tplink,tl-mr6400-v1)
        ucidef_set_led_netdev "wan" "WAN" "white:wan" "eth1"
        ucidef_set_led_netdev "4g" "4G" "white:4g" "usb0"
        ;;
-tplink,tl-wpa8630-v1|\
-tplink,tl-wpa8630p-v2-int|\
-tplink,tl-wpa8630p-v2.0-eu|\
-tplink,tl-wpa8630p-v2.1-eu)
+tplink,tl-wpa8630-v1)
        ucidef_set_led_switch "lan" "LAN" "green:lan" "switch0" "0x3c"
        ;;
 tplink,tl-wr841hp-v2|\
@@ -423,19 +441,11 @@ ubnt,powerbeam-5ac-gen2)
        ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "blue:rssi2" "wlan0" "51" "100"
        ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "blue:rssi3" "wlan0" "76" "100"
        ;;
-ubnt,bullet-m-ar7240|\
-ubnt,bullet-m-ar7241|\
 ubnt,bullet-m-xw|\
-ubnt,nanobridge-m|\
-ubnt,nanostation-loco-m|\
 ubnt,nanostation-loco-m-xw|\
-ubnt,nanostation-m|\
 ubnt,nanostation-m-xw|\
-ubnt,picostation-m|\
 ubnt,powerbeam-m2-xw|\
-ubnt,powerbeam-m5-xw|\
-ubnt,powerbridge-m|\
-ubnt,rocket-m)
+ubnt,powerbeam-m5-xw)
        ucidef_set_rssimon "wlan0" "200000" "1"
        ucidef_set_led_rssi "rssilow" "RSSILOW" "red:link1" "wlan0" "1" "100"
        ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "orange:link2" "wlan0" "26" "100"