ar71xx: add support for Rockeetech AP531B0
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / diag.sh
index e619749..461d0da 100644 (file)
@@ -8,6 +8,12 @@ get_status_led() {
        local board=$(ar71xx_board_name)
 
        case $board in
+       a40)
+               status_led="a40:green:status"
+               ;;
+       a60)
+               status_led="a60:green:status"
+               ;;
        alfa-nx)
                status_led="alfa:green:led_8"
                ;;
@@ -18,11 +24,14 @@ get_status_led() {
        antminer-s3|\
        antminer-r1|\
        minibox-v1|\
-       som9331)
+       som9331|\
+       sr3200|\
+       tl-wr802n-v2|\
+       xd3200)
                status_led="$board:green:system"
                ;;
        ap132|\
-       ap81|\
+       ap531b0|\
        db120|\
        dr344|\
        tew-632brp|\
@@ -40,16 +49,22 @@ get_status_led() {
        ap135-020)
                status_led="ap135:green:status"
                ;;
-       ap83|\
+       archer-c59-v1|\
+       archer-c60-v1|\
        mr12|\
        mr16|\
        nbg6616|\
+       sc1750|\
+       sc450|\
        tl-wpa8630)
                status_led="$board:green:power"
                ;;
        ap90q|\
+       cpe830|\
        cpe870|\
-       gl-inet)
+       gl-inet|\
+       gl-mifi|\
+       gl-ar300m)
                status_led="$board:green:lan"
                ;;
        ap96)
@@ -237,9 +252,11 @@ get_status_led() {
                ;;
        om2p|\
        om2pv2|\
+       om2pv4|\
        om2p-hs|\
        om2p-hsv2|\
        om2p-hsv3|\
+       om2p-hsv4|\
        om2p-lc)
                status_led="om2p:blue:power"
                ;;
@@ -280,11 +297,16 @@ get_status_led() {
        rb-750)
                status_led="rb750:green:act"
                ;;
+       rb-750-r2|\
+       rb-750up-r2|\
        rb-911g-2hpnd|\
        rb-911g-5hpacd|\
        rb-911g-5hpnd|\
        rb-912uag-2hpnd|\
-       rb-912uag-5hpnd)
+       rb-912uag-5hpnd|\
+       rb-941-2nd|\
+       rb-951ui-2nd|\
+       rb-mapl-2nd)
                status_led="rb:green:user"
                ;;
        rb-951ui-2hnd)
@@ -294,6 +316,10 @@ get_status_led() {
        rb-sxt5n)
                status_led="rb:green:power"
                ;;
+       re450|\
+       sc300m)
+               status_led="$board:blue:power"
+               ;;
        routerstation|\
        routerstation-pro)
                status_led="ubnt:green:rf"
@@ -324,7 +350,8 @@ get_status_led() {
        tl-wa750re)
                status_led="tp-link:orange:re"
                ;;
-       tl-wa850re)
+       tl-wa850re|\
+       tl-wa850re-v2)
                status_led="tp-link:blue:re"
                ;;
        tl-wa860re)
@@ -345,8 +372,10 @@ get_status_led() {
        tl-wr1041n-v2|\
        tl-wr1043nd|\
        tl-wr1043nd-v2|\
+       tl-wr1043nd-v4|\
        tl-wr741nd|\
        tl-wr741nd-v4|\
+       tl-wa801nd-v3|\
        tl-wr841n-v1|\
        tl-wr841n-v7|\
        tl-wr841n-v8|\
@@ -370,6 +399,7 @@ get_status_led() {
        tl-wr720n-v3|\
        tl-wr802n-v1|\
        tl-wr810n|\
+       tl-wr940n-v4|\
        tl-wr941nd-v6)
                status_led="tp-link:blue:system"
                ;;