ramips: add support for ZyXEL Keenetic Viva
[openwrt/openwrt.git] / target / linux / ramips / base-files / etc / diag.sh
index 0c5abb2861a5bad070afdd6b85eedc82e7dbd41e..1aa1a2e9fb057c27b3825e35d65544eecca73f43 100644 (file)
@@ -19,13 +19,19 @@ get_status_led() {
        asl26555|\
        br-6425|\
        br-6475nd|\
+       c50|\
+       dch-m225|\
+       dir-860l-b1|\
        e1700|\
        fonera20n|\
+       kng_rc|\
        mzk-750dhp|\
        mzk-dp150n|\
        mzk-w300nh2|\
        nbg-419n|\
+       nbg-419n2|\
        pwh2004|\
+       vr500|\
        wnce2001|\
        wndr3700v5|\
        x5|\
@@ -33,6 +39,9 @@ get_status_led() {
        xdxrn502j)
                status_led="$board:green:power"
                ;;
+       3g-6200nl)
+               status_led="$board:green:internet"
+               ;;
        a5-v11|\
        cs-qr10|\
        d105|\
@@ -45,10 +54,7 @@ get_status_led() {
        mzk-ex750np)
                status_led="$board:red:power"
                ;;
-       ai-br100|\
-       ht-tm02)
-               status_led="$board:blue:wlan"
-               ;;
+       ac1200pro|\
        all0239-3g|\
        dcs-930|\
        dir-300-b1|\
@@ -63,6 +69,7 @@ get_status_led() {
        dir-620-d1|\
        hpm|\
        hw550-3g|\
+       mac1200rv2|\
        miniembwifi|\
        mofi3500-3gn|\
        rut5xx|\
@@ -73,6 +80,10 @@ get_status_led() {
        zbt-wg3526)
                status_led="$board:green:status"
                ;;
+       ai-br100|\
+       ht-tm02)
+               status_led="$board:blue:wlan"
+               ;;
        atp-52b|\
        ip2202)
                status_led="$board:green:run"
@@ -83,13 +94,13 @@ get_status_led() {
        wrh-300cr)
                status_led="$board:green:wps"
                ;;
-       c50)
-               status_led="tp-link:blue:power"
-               ;;
        cf-wr800n|\
        psg1208)
                status_led="$board:white:wps"
                ;;
+       psg1218)
+               status_led="$board:yellow:status"
+               ;;
        cy-swr1100|\
        w502u)
                status_led="$board:blue:wps"
@@ -110,13 +121,15 @@ get_status_led() {
                status_led="$board:blue:power"
                ;;
        db-wrt01|\
-       esr-9753)
+       esr-9753|\
+       pbr-d1)
                status_led="$board:orange:power"
                ;;
        f5d8235-v2)
                status_led="$board:blue:router"
                ;;
-       f7c027)
+       f7c027|\
+       timecloud)
                status_led="$board:orange:status"
                ;;
        hc5*61|\
@@ -138,6 +151,7 @@ get_status_led() {
                status_led="$board:blue:status"
                ;;
        miwifi-mini|\
+       miwifi-nano|\
        zte-q7)
                status_led="$board:red:status"
                ;;
@@ -147,6 +161,9 @@ get_status_led() {
        nw718)
                status_led="$board:amber:cpu"
                ;;
+       newifi-d1)
+               status_led="$board:blue:status"
+               ;;
        oy-0001|\
        sl-r7205|\
        zbt-we826)
@@ -158,7 +175,6 @@ get_status_led() {
        px-4885|\
        re6500|\
        whr-1166d|\
-       whr-300hp2|\
        whr-600d|\
        widora-neo)
                status_led="$board:orange:wifi"
@@ -173,6 +189,9 @@ get_status_led() {
        wr512-3gn)
                status_led="$board:green:wps"
                ;;
+       rb750gr3)
+               status_led="$board:green:usr"
+               ;;
        sap-g3200u3)
                status_led="$board:green:usb"
                ;;
@@ -189,12 +208,16 @@ get_status_led() {
                status_led="$board:amber:power"
                ;;
        whr-g300n|\
+       wlr-6000)
+               status_led="$board:red:power"
+               ;;
        wzr-agl300nh)
                status_led="$board:green:router"
                ;;
        wizfi630a)
                status_led="$board::run"
                ;;
+       whr-300hp2|\
        wsr-1166|\
        wsr-600)
                status_led="$board:green:power"
@@ -204,6 +227,9 @@ get_status_led() {
        wrtnode)
                status_led="wrtnode:blue:indicator"
                ;;
+       zbt-cpe102)
+               status_led="$board:green:4g-0"
+               ;;
        esac
 }