ath79: add support for Compex WPJ558 (16M)
[openwrt/openwrt.git] / target / linux / ath79 / generic / base-files / etc / board.d / 01_leds
old mode 100755 (executable)
new mode 100644 (file)
index f7d8ec0..8715a57
@@ -1,4 +1,3 @@
-#!/bin/sh
 
 . /lib/functions/uci-defaults.sh
 
@@ -72,7 +71,8 @@ tplink,archer-c59-v1|\
 tplink,archer-c59-v2|\
 tplink,archer-c60-v1|\
 tplink,archer-c60-v2|\
-tplink,archer-c60-v3)
+tplink,archer-c60-v3|\
+tplink,tl-wr841hp-v3)
        ucidef_set_led_switch "lan" "LAN" "green:lan" "switch0" "0x1e"
        ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
        ;;
@@ -84,6 +84,10 @@ avm,fritzdvbc)
        ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "green:rssimediumhigh" "wlan1" "60" "100"
        ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "green:rssihigh" "wlan1" "80" "100"
        ;;
+buffalo,wzr-hp-g300nh-rb|\
+buffalo,wzr-hp-g300nh-s)
+       ucidef_set_led_netdev "router" "Router" "green:router" "eth1"
+       ;;
 comfast,cf-e110n-v2)
        ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth1"
        ucidef_set_led_switch "wan" "WAN" "green:wan" "switch0" "0x02"
@@ -129,6 +133,10 @@ comfast,cf-e314n-v2)
        ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "green:rssimediumhigh" "wlan0" "51" "100"
        ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "green:rssihigh" "wlan0" "76" "100"
        ;;
+comfast,cf-e375ac)
+       ucidef_set_led_switch "lan" "LAN" "green:lan" "switch0" "0x04"
+       ucidef_set_led_switch "wan" "WAN" "red:wan" "switch0" "0x02"
+       ;;
 comfast,cf-e5)
        ucidef_set_led_switch "lan" "LAN" "blue:lan" "switch0" "0x02"
        ucidef_set_led_netdev "wan" "WAN" "blue:wan" "eth1"
@@ -171,6 +179,7 @@ compex,wpj531-16m)
        ucidef_set_led_rssi "sig3" "SIG3" "green:sig3" "wlan0" "65" "100"
        ucidef_set_led_rssi "sig4" "SIG4" "green:sig4" "wlan0" "50" "100"
        ;;
+devolo,dlan-pro-1200plus-ac|\
 devolo,magic-2-wifi)
        ucidef_set_led_netdev "plcw" "dLAN" "white:dlan" "eth0.1" "rx"
        ;;
@@ -210,12 +219,16 @@ qxwlan,e750a-v4-16m)
        ucidef_set_led_switch "lan" "LAN" "green:lan" "switch0" "0x02"
        ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
        ;;
+glinet,gl-x300b|\
 glinet,gl-x750)
        ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
        ;;
 hak5,lan-turtle)
        ucidef_set_led_netdev "wan" "WAN" "orange:system" "eth1"
        ;;
+joyit,jt-or750i)
+       ucidef_set_led_default "ath10k" "ath10k-disable" "ath10k-phy0" "0"
+       ;;
 meraki,mr12|\
 tplink,cpe210-v2|\
 tplink,cpe210-v3)
@@ -253,12 +266,24 @@ pcs,cr3000)
        ucidef_set_led_switch "lan3" "LAN3" "blue:lan3" "switch0" "0x10"
        ucidef_set_led_switch "lan4" "LAN4" "blue:lan4" "switch0" "0x02"
        ;;
+qca,ap143-8m|\
+qca,ap143-16m)
+       ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
+       ucidef_set_led_switch "lan1" "LAN1" "green:lan1" "switch0" "0x02"
+       ucidef_set_led_switch "lan2" "LAN2" "green:lan2" "switch0" "0x04"
+       ucidef_set_led_switch "lan3" "LAN3" "green:lan3" "switch0" "0x08"
+       ucidef_set_led_switch "lan4" "LAN4" "green:lan4" "switch0" "0x10"
+       ;;
 qihoo,c301)
        ucidef_set_led_wlan "wlan" "WLAN" "green:wlan" "phy0tpt"
        ;;
 samsung,wam250)
        ucidef_set_led_netdev "lan" "LAN" "white:lan" "eth0"
        ;;
+teltonika,rut230-v1)
+       ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
+       ucidef_set_led_switch "lan" "LAN" "green:lan" "switch0" "0x04"
+       ;;
 tplink,archer-a7-v5|\
 tplink,archer-c7-v4|\
 tplink,archer-c7-v5)
@@ -331,7 +356,8 @@ tplink,tl-wr902ac-v1)
 tplink,re355-v1|\
 tplink,re450-v1|\
 tplink,re450-v2|\
-tplink,re450-v3)
+tplink,re450-v3|\
+tplink,re455-v1)
        ucidef_set_led_netdev "lan_data" "LAN Data" "green:lan_data" "eth0" "tx rx"
        ucidef_set_led_netdev "lan_link" "LAN Link" "green:lan_link" "eth0" "link"
        ;;
@@ -353,6 +379,10 @@ tplink,tl-wr842n-v2)
        ucidef_set_led_switch "lan3" "LAN3" "green:lan3" "switch0" "0x10"
        ucidef_set_led_switch "lan4" "LAN4" "green:lan4" "switch0" "0x02"
        ;;
+tplink,tl-wr941hp-v1)
+       ucidef_set_led_netdev "wan" "WAN" "blue:wan" "eth1" "link tx rx"
+       ucidef_set_led_switch "lan" "LAN" "blue:lan" "switch0" "0x1e"
+       ;;
 trendnet,tew-823dru)
        ucidef_set_led_netdev "wan" "WAN" "green:planet" "eth0"
        ;;
@@ -376,6 +406,8 @@ 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)
        ucidef_set_rssimon "wlan0" "200000" "1"
@@ -400,6 +432,9 @@ wd,mynet-wifi-rangeextender)
        ucidef_set_led_rssi "rssimedium" "RSSIMED" "blue:rssi-med" "wlan0" "33" "100"
        ucidef_set_led_rssi "rssihigh" "RSSIMAX" "blue:rssi-max" "wlan0" "66" "100"
        ;;
+xiaomi,aiot-ac2350)
+       ucidef_set_led_switch "wan" "WAN" "blue:wan" "switch0" "0x02"
+       ;;
 yuncore,a770)
        ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
        ucidef_set_led_switch "lan" "LAN" "green:lan" "switch0" "0x10"