diff options
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/01_leds | 16 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 13 |
2 files changed, 27 insertions, 2 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index 47e1e6a6a3..460253c9ff 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -46,6 +46,7 @@ all0239-3g|\ hw550-3g|\ mofi3500-3gn|\ sap-g3200u3|\ +sk-wb8|\ wf-2881) set_usb_led "$board:green:usb" ;; @@ -77,6 +78,13 @@ broadway) set_usb_led "$board:red:diskmounted" set_wifi_led "$board:red:wps_active" ;; +c50) + ucidef_set_led_default "power" "power" "tp-link:blue:power" "0" + ucidef_set_led_netdev "lan" "lan" "tp-link:blue:lan" "eth0.2" + set_usb_led "tp-link:blue:usb" + ucidef_set_led_wlan "wlan2g" "wlan2g" "tp-link:blue:wlan2g" "phy1radio" + ucidef_set_led_wlan "wlan5g" "wlan5g" "tp-link:blue:wlan5g" "phy0radio" + ;; cf-wr800n) ucidef_set_led_netdev "lan" "lan" "$board:white:ethernet" eth0.1 set_wifi_led "$board:white:wifi" @@ -185,7 +193,8 @@ miniembplug) set_wifi_led "$board:red:wlan" set_usb_led "$board:green:mobile" ;; -miwifi-mini) +miwifi-mini|\ +miwifi-nano) ucidef_set_led_default "power" "power" "$board:red:status" "1" ;; miwifi-nano) @@ -287,6 +296,11 @@ y1s) set_usb_led "$board:blue:usb" set_wifi_led "$board:blue:wifi" ;; +zbt-ape522ii) + ucidef_set_led_netdev "wlan2g4" "wlan1-link" "$board:green:wlan2g4" "wlan1" + ucidef_set_led_netdev "sys1" "wlan1" "$board:green:sys1" "wlan1" "tx rx" + ucidef_set_led_netdev "sys2" "wlan0" "$board:green:sys2" "wlan0" "tx rx" + ;; zbt-wa05) ucidef_set_led_default "power" "power" "$board:blue:power" "1" set_wifi_led "$board:blue:air" diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index e7826d48b0..dbb5fb43e0 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -47,8 +47,10 @@ ramips_setup_interfaces() linkits7688d | \ m2m|\ microwrt|\ + mpr-a2|\ ncs601w|\ w150m|\ + widora-neo|\ wnce2001|\ zte-q7) ucidef_add_switch "switch0" @@ -79,6 +81,7 @@ ramips_setup_interfaces() pbr-m1|\ psg1208|\ sap-g3200u3|\ + sk-wb8|\ wf-2881|\ whr-300hp2|\ whr-600d|\ @@ -110,6 +113,7 @@ ramips_setup_interfaces() atp-52b|\ awm002-evb|\ awm003-evb|\ + c50|\ dir-645|\ dir-860l-b1|\ f5d8235-v1|\ @@ -169,6 +173,10 @@ ramips_setup_interfaces() wrh-300cr) ucidef_set_interface_lan "eth0" ;; + duzun-dm06) + ucidef_add_switch "switch0" \ + "1:lan" "0:wan" "6@eth0" + ;; e1700|\ mt7620a_mt7530) ucidef_add_switch "switch1" \ @@ -216,6 +224,7 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "1:lan" "2:lan" "0:wan" "6@eth0" ;; + zbt-ape522ii|\ zbt-we826|\ zbt-wr8305rt) ucidef_add_switch "switch0" \ @@ -260,7 +269,6 @@ ramips_setup_macs() freestation5|\ hlk-rm04|\ mpr-a1|\ - mpr-a2|\ psr-680w|\ sl-r7205|\ y1|\ @@ -307,6 +315,9 @@ ramips_setup_macs() lan_mac=$(macaddr_setbit_la "$lan_mac") wan_mac=$(mtd_get_mac_binary factory 32772) ;; + sk-wb8) + wan_mac=$(mtd_get_mac_binary factory 57350) + ;; tew-691gr) lan_mac=$(cat /sys/class/net/eth0/address) wan_mac=$(macaddr_add "$lan_mac" 3) |