aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds6
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh1
3 files changed, 8 insertions, 0 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 671a578f80..a5c51c7c88 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -305,6 +305,12 @@ pbr-m1)
ucidef_set_led_default "power" "power" "$boardname:blue:power" "1"
ucidef_set_led_default "sys" "sys" "$boardname:blue:sys" "1"
;;
+d-team,newifi-d2)
+ set_usb_led "$boardname:blue:usb"
+ ucidef_set_led_switch "internet" "internet" "$boardname:amber:internet" "switch0" "0x10"
+ ucidef_set_led_netdev "wlan2g" "WiFi 2.4GHz" "$boardname:blue:wlan2g" "wlan0"
+ ucidef_set_led_netdev "wlan5g" "WiFi 5GHz" "$boardname:blue:wlan5g" "wlan1"
+ ;;
psg1208)
set_wifi_led "$boardname:white:wlan2g"
;;
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 947b0dd8ae..5a64bb727a 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -92,6 +92,7 @@ ramips_setup_interfaces()
mt7628|\
mzk-750dhp|\
mzk-w300nh2|\
+ d-team,newifi-d2|\
nixcore-x1-8M|\
nixcore-x1-16M|\
oy-0001|\
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 1d4b0eff3f..e7b49a5039 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -125,6 +125,7 @@ get_status_led() {
d240|\
dap-1350|\
na930|\
+ d-team,newifi-d2|\
pbr-m1|\
re350-v1|\
rt-ac51u|\