ramips: add support for indicating the boot state using multiple leds

Use diag.sh version used for other targets supporting different leds
for the different boot states.

The existing led sequences should be the same as before.

Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
Mathias Kresin 2018-08-28 06:54:27 +02:00
parent 772b27c207
commit 8f4dfadd5a
214 changed files with 877 additions and 217 deletions

View file

@ -1,24 +1,45 @@
#!/bin/sh #!/bin/sh
# Copyright (C) 2010-2013 OpenWrt.org
. /lib/functions/leds.sh . /lib/functions/leds.sh
status_led="$(get_dt_led status)" boot="$(get_dt_led boot)"
failsafe="$(get_dt_led failsafe)"
running="$(get_dt_led running)"
upgrade="$(get_dt_led upgrade)"
set_state() { set_state() {
status_led="$boot"
case "$1" in case "$1" in
preinit) preinit)
status_led_blink_preinit status_led_blink_preinit
;; ;;
failsafe) failsafe)
status_led_off
[ -n "$running" ] && {
status_led="$running"
status_led_off
}
status_led="$failsafe"
status_led_blink_failsafe status_led_blink_failsafe
;; ;;
upgrade | \
preinit_regular) preinit_regular)
status_led_blink_preinit_regular status_led_blink_preinit_regular
;; ;;
upgrade)
[ -n "$running" ] && {
status_led="$running"
status_led_off
}
status_led="$upgrade"
status_led_blink_preinit_regular
;;
done) done)
status_led_off
[ -n "$running" ] && {
status_led="$running"
status_led_on status_led_on
}
;; ;;
esac esac
} }

View file

@ -10,7 +10,10 @@
model = "Edimax 3g-6200n"; model = "Edimax 3g-6200n";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
cfi@1f000000 { cfi@1f000000 {

View file

@ -10,7 +10,10 @@
model = "Edimax 3g-6200nl"; model = "Edimax 3g-6200nl";
aliases { aliases {
led-status = &led_internet; led-boot = &led_internet;
led-failsafe = &led_internet;
led-running = &led_internet;
led-upgrade = &led_internet;
}; };
cfi@1f000000 { cfi@1f000000 {

View file

@ -10,7 +10,10 @@
model = "Tenda 3G150B"; model = "Tenda 3G150B";
aliases { aliases {
led-status = &led_ap; led-boot = &led_ap;
led-failsafe = &led_ap;
led-running = &led_ap;
led-upgrade = &led_ap;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "Tenda 3G300M"; model = "Tenda 3G300M";
aliases { aliases {
led-status = &led_ap; led-boot = &led_ap;
led-failsafe = &led_ap;
led-running = &led_ap;
led-upgrade = &led_ap;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "A5-V11"; model = "A5-V11";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
gpio-leds { gpio-leds {

View file

@ -42,7 +42,10 @@
model = "ALFA Network AC1200RM"; model = "ALFA Network AC1200RM";
aliases { aliases {
led-status = &led_wps; led-boot = &led_wps;
led-failsafe = &led_wps;
led-running = &led_wps;
led-upgrade = &led_wps;
}; };
chosen { chosen {

View file

@ -10,7 +10,10 @@
model = "Aigale Ai-BR100"; model = "Aigale Ai-BR100";
aliases { aliases {
led-status = &led_wlan; led-boot = &led_wlan;
led-failsafe = &led_wlan;
led-running = &led_wlan;
led-upgrade = &led_wlan;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "Allnet ALL0239-3G"; model = "Allnet ALL0239-3G";
aliases { aliases {
led-status = &led_status; led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
}; };

View file

@ -10,7 +10,10 @@
model = "Airlink101 AR670W"; model = "Airlink101 AR670W";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
cfi@bdc00000 { cfi@bdc00000 {

View file

@ -10,7 +10,10 @@
model = "Airlink101 AR725W"; model = "Airlink101 AR725W";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
cfi@bdc00000 { cfi@bdc00000 {

View file

@ -7,7 +7,10 @@
compatible = "alphanetworks,asl26555", "ralink,rt3050-soc"; compatible = "alphanetworks,asl26555", "ralink,rt3050-soc";
aliases { aliases {
led-status = &led_power_green; led-boot = &led_power_green;
led-failsafe = &led_power_green;
led-running = &led_power_green;
led-upgrade = &led_power_green;
}; };
gpio-keys-polled { gpio-keys-polled {

View file

@ -10,7 +10,10 @@
model = "Argus ATP-52B"; model = "Argus ATP-52B";
aliases { aliases {
led-status = &led_run; led-boot = &led_run;
led-failsafe = &led_run;
led-running = &led_run;
led-upgrade = &led_run;
}; };
cfi@1f000000 { cfi@1f000000 {

View file

@ -10,7 +10,10 @@
model = "AsiaRF AWAPN2403"; model = "AsiaRF AWAPN2403";
aliases { aliases {
led-status = &led_wps; led-boot = &led_wps;
led-failsafe = &led_wps;
led-running = &led_wps;
led-upgrade = &led_wps;
}; };

View file

@ -42,7 +42,10 @@
model = "ALFA Network AWUSFREE1"; model = "ALFA Network AWUSFREE1";
aliases { aliases {
led-status = &led_system; led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
}; };
chosen { chosen {

View file

@ -10,7 +10,10 @@
model = "TP-Link Archer C2 v1"; model = "TP-Link Archer C2 v1";
aliases { aliases {
led-status = &led_wps; led-boot = &led_wps;
led-failsafe = &led_wps;
led-running = &led_wps;
led-upgrade = &led_wps;
}; };
chosen { chosen {

View file

@ -10,7 +10,10 @@
model = "TP-Link Archer C20 v1"; model = "TP-Link Archer C20 v1";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
chosen { chosen {

View file

@ -10,7 +10,10 @@
model = "TP-Link Archer C20 v4"; model = "TP-Link Archer C20 v4";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "TP-Link Archer C50"; model = "TP-Link Archer C50";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
chosen { chosen {

View file

@ -10,7 +10,10 @@
model = "TP-Link Archer C50 v3"; model = "TP-Link Archer C50 v3";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
gpio-keys-polled { gpio-keys-polled {

View file

@ -10,7 +10,10 @@
model = "TP-Link Archer MR200"; model = "TP-Link Archer MR200";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
chosen { chosen {

View file

@ -10,7 +10,10 @@
model = "Edimax BR-6475nD"; model = "Edimax BR-6475nD";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
gpio-keys-polled { gpio-keys-polled {

View file

@ -23,7 +23,10 @@
model = "Edimax BR-6478AC v2"; model = "Edimax BR-6478AC v2";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
chosen { chosen {

View file

@ -43,7 +43,10 @@
model = "HNET C108"; model = "HNET C108";
aliases { aliases {
led-status = &led_lan_green; led-boot = &led_lan_green;
led-failsafe = &led_lan_green;
led-running = &led_lan_green;
led-upgrade = &led_lan_green;
}; };
chosen { chosen {

View file

@ -10,7 +10,10 @@
model = "Comfast CF-WR800N"; model = "Comfast CF-WR800N";
aliases { aliases {
led-status = &led_wps; led-boot = &led_wps;
led-failsafe = &led_wps;
led-running = &led_wps;
led-upgrade = &led_wps;
}; };
chosen { chosen {

View file

@ -10,7 +10,10 @@
model = "Planex CS-QR10"; model = "Planex CS-QR10";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "Samsung CY-SWR1100"; model = "Samsung CY-SWR1100";
aliases { aliases {
led-status = &led_wps; led-boot = &led_wps;
led-failsafe = &led_wps;
led-running = &led_wps;
led-upgrade = &led_wps;
}; };
nor-flash@1c000000 { nor-flash@1c000000 {

View file

@ -10,7 +10,10 @@
model = "Huawei D105"; model = "Huawei D105";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
cfi@1f000000 { cfi@1f000000 {

View file

@ -43,7 +43,10 @@
model = "Sanlinking Technologies D240"; model = "Sanlinking Technologies D240";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
chosen { chosen {

View file

@ -10,7 +10,10 @@
model = "D-Link DAP-1350"; model = "D-Link DAP-1350";
aliases { aliases {
led-status = &led_power_blue; led-boot = &led_power_blue;
led-failsafe = &led_power_blue;
led-running = &led_power_blue;
led-upgrade = &led_power_blue;
}; };
chosen { chosen {

View file

@ -10,7 +10,10 @@
model = "D-Link DAP-1522 A1"; model = "D-Link DAP-1522 A1";
aliases { aliases {
led-status = &led_status; led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
}; };
cfi@bc400000 { cfi@bc400000 {

View file

@ -10,7 +10,10 @@
model = "Planex DB-WRT01"; model = "Planex DB-WRT01";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "D-Link DCH-M225"; model = "D-Link DCH-M225";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
gpio-keys-polled { gpio-keys-polled {

View file

@ -10,7 +10,10 @@
model = "D-Link DCS-930"; model = "D-Link DCS-930";
aliases { aliases {
led-status = &led_status; led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
}; };
cfi@1f000000 { cfi@1f000000 {

View file

@ -10,7 +10,10 @@
model = "D-Link DCS-930L B1"; model = "D-Link DCS-930L B1";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "D-Link DIR-300 B1"; model = "D-Link DIR-300 B1";
aliases { aliases {
led-status = &led_status_green; led-boot = &led_status_green;
led-failsafe = &led_status_green;
led-running = &led_status_green;
led-upgrade = &led_status_green;
}; };
cfi@1f000000 { cfi@1f000000 {

View file

@ -10,7 +10,10 @@
model = "D-Link DIR-300 B7"; model = "D-Link DIR-300 B7";
aliases { aliases {
led-status = &led_status; led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "D-Link DIR-320 B1"; model = "D-Link DIR-320 B1";
aliases { aliases {
led-status = &led_status; led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "D-Link DIR-600 B1"; model = "D-Link DIR-600 B1";
aliases { aliases {
led-status = &led_status_green; led-boot = &led_status_green;
led-failsafe = &led_status_green;
led-running = &led_status_green;
led-upgrade = &led_status_green;
}; };
cfi@1f000000 { cfi@1f000000 {

View file

@ -10,7 +10,10 @@
model = "D-Link DIR-610 A1"; model = "D-Link DIR-610 A1";
aliases { aliases {
led-status = &led_status; led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "D-Link DIR-615 D"; model = "D-Link DIR-615 D";
aliases { aliases {
led-status = &led_status_green; led-boot = &led_status_green;
led-failsafe = &led_status_green;
led-running = &led_status_green;
led-upgrade = &led_status_green;
}; };
cfi@1f000000 { cfi@1f000000 {

View file

@ -10,7 +10,10 @@
model = "D-Link DIR-615 H1"; model = "D-Link DIR-615 H1";
aliases { aliases {
led-status = &led_status_green; led-boot = &led_status_green;
led-failsafe = &led_status_green;
led-running = &led_status_green;
led-upgrade = &led_status_green;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "D-Link DIR-620 A1"; model = "D-Link DIR-620 A1";
aliases { aliases {
led-status = &led_status_green; led-boot = &led_status_green;
led-failsafe = &led_status_green;
led-running = &led_status_green;
led-upgrade = &led_status_green;
}; };
cfi@1f000000 { cfi@1f000000 {

View file

@ -10,7 +10,10 @@
model = "D-Link DIR-620 D1"; model = "D-Link DIR-620 D1";
aliases { aliases {
led-status = &led_status; led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "D-Link DIR-645"; model = "D-Link DIR-645";
aliases { aliases {
led-status = &led_wps; led-boot = &led_wps;
led-failsafe = &led_wps;
led-running = &led_wps;
led-upgrade = &led_wps;
}; };
rtl8367b { rtl8367b {

View file

@ -10,7 +10,10 @@
model = "D-Link DIR-810L"; model = "D-Link DIR-810L";
aliases { aliases {
led-status = &led_power_green; led-boot = &led_power_green;
led-failsafe = &led_power_green;
led-running = &led_power_green;
led-upgrade = &led_power_green;
}; };
gpio-keys-polled { gpio-keys-polled {

View file

@ -10,7 +10,10 @@
model = "D-Link DIR-860L B1"; model = "D-Link DIR-860L B1";
aliases { aliases {
led-status = &led_power_green; led-boot = &led_power_green;
led-failsafe = &led_power_green;
led-running = &led_power_green;
led-upgrade = &led_power_green;
}; };
memory@0 { memory@0 {

View file

@ -10,7 +10,10 @@
model = "D-Link DWR-116 A1/A2"; model = "D-Link DWR-116 A1/A2";
aliases { aliases {
led-status = &led_status; led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
}; };
gpio-keys-polled { gpio-keys-polled {

View file

@ -10,7 +10,10 @@
model = "D-Link DWR-118 A2"; model = "D-Link DWR-118 A2";
aliases { aliases {
led-status = &led_internet; led-boot = &led_internet;
led-failsafe = &led_internet;
led-running = &led_internet;
led-upgrade = &led_internet;
}; };
gpio-keys-polled { gpio-keys-polled {

View file

@ -10,7 +10,10 @@
model = "D-Link DWR-512 B"; model = "D-Link DWR-512 B";
aliases { aliases {
led-status = &led_status; led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
}; };
gpio-keys-polled { gpio-keys-polled {

View file

@ -10,7 +10,10 @@
model = "D-Link DWR-921 C1"; model = "D-Link DWR-921 C1";
aliases { aliases {
led-status = &led_sstrenghg; led-boot = &led_sstrenghg;
led-failsafe = &led_sstrenghg;
led-running = &led_sstrenghg;
led-upgrade = &led_sstrenghg;
}; };
gpio-keys-polled { gpio-keys-polled {

View file

@ -20,7 +20,10 @@
model = "Linksys E1700"; model = "Linksys E1700";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
gpio-keys-polled { gpio-keys-polled {

View file

@ -10,7 +10,10 @@
model = "Senao / EnGenius ESR-9753"; model = "Senao / EnGenius ESR-9753";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
cfi@1f000000 { cfi@1f000000 {

View file

@ -10,7 +10,10 @@
model = "EW1200"; model = "EW1200";
aliases { aliases {
led-status = &led_run; led-boot = &led_run;
led-failsafe = &led_run;
led-running = &led_run;
led-upgrade = &led_run;
}; };
memory@0 { memory@0 {

View file

@ -20,7 +20,10 @@
model = "Netgear EX2700"; model = "Netgear EX2700";
aliases { aliases {
led-status = &led_power_green; led-boot = &led_power_green;
led-failsafe = &led_power_green;
led-running = &led_power_green;
led-upgrade = &led_power_green;
}; };
chosen { chosen {

View file

@ -12,7 +12,10 @@
model = "Netgear EX3700/EX3800"; model = "Netgear EX3700/EX3800";
aliases { aliases {
led-status = &led_power_green; led-boot = &led_power_green;
led-failsafe = &led_power_green;
led-running = &led_power_green;
led-upgrade = &led_power_green;
}; };
chosen { chosen {

View file

@ -12,7 +12,10 @@
model = "Belkin F5D8235 v1"; model = "Belkin F5D8235 v1";
aliases { aliases {
led-status = &led_wired_blue; led-boot = &led_wired_blue;
led-failsafe = &led_wired_blue;
led-running = &led_wired_blue;
led-upgrade = &led_wired_blue;
}; };
cfi@1f000000 { cfi@1f000000 {

View file

@ -10,7 +10,10 @@
model = "Belkin F5D8235 v2"; model = "Belkin F5D8235 v2";
aliases { aliases {
led-status = &led_router; led-boot = &led_router;
led-failsafe = &led_router;
led-running = &led_router;
led-upgrade = &led_router;
}; };
cfi@1f000000 { cfi@1f000000 {

View file

@ -10,7 +10,10 @@
model = "Belkin F7C027"; model = "Belkin F7C027";
aliases { aliases {
led-status = &led_status_orange; led-boot = &led_status_orange;
led-failsafe = &led_status_orange;
led-running = &led_status_orange;
led-upgrade = &led_status_orange;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "Firefly FireWRT"; model = "Firefly FireWRT";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
memory@0 { memory@0 {

View file

@ -10,7 +10,10 @@
model = "La Fonera 2.0N"; model = "La Fonera 2.0N";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
cfi@1f000000 { cfi@1f000000 {

View file

@ -10,7 +10,10 @@
model = "GB-PC1"; model = "GB-PC1";
aliases { aliases {
led-status = &led_status; led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
}; };
memory@0 { memory@0 {

View file

@ -10,7 +10,10 @@
model = "GB-PC2"; model = "GB-PC2";
aliases { aliases {
led-status = &led_status; led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
}; };
memory@0 { memory@0 {

View file

@ -10,7 +10,10 @@
model = "GL-MT300N-V2"; model = "GL-MT300N-V2";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
chosen { chosen {

View file

@ -7,7 +7,10 @@
model = "HiWiFi HC5661"; model = "HiWiFi HC5661";
aliases { aliases {
led-status = &led_system; led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "HiWiFi HC5661A"; model = "HiWiFi HC5661A";
aliases { aliases {
led-status = &led_system; led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
}; };
chosen { chosen {

View file

@ -7,7 +7,10 @@
model = "HiWiFi HC5761"; model = "HiWiFi HC5761";
aliases { aliases {
led-status = &led_system; led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
}; };
gpio-leds { gpio-leds {

View file

@ -7,7 +7,10 @@
model = "HiWiFi HC5861"; model = "HiWiFi HC5861";
aliases { aliases {
led-status = &led_system; led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "HiWiFi HC5861B"; model = "HiWiFi HC5861B";
aliases { aliases {
led-status = &led_system; led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
}; };
chosen { chosen {

View file

@ -10,7 +10,10 @@
model = "HiWiFi HC5962"; model = "HiWiFi HC5962";
aliases { aliases {
led-status = &led_status; led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
}; };
memory@0 { memory@0 {

View file

@ -10,7 +10,10 @@
model = "HuaWei HG255D"; model = "HuaWei HG255D";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
cfi@1f000000 { cfi@1f000000 {

View file

@ -10,7 +10,10 @@
model = "Omnima HPM"; model = "Omnima HPM";
aliases { aliases {
led-status = &led_status; led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
}; };
chosen { chosen {

View file

@ -10,7 +10,10 @@
model = "HooToo HT-TM02"; model = "HooToo HT-TM02";
aliases { aliases {
led-status = &led_wlan; led-boot = &led_wlan;
led-failsafe = &led_wlan;
led-running = &led_wlan;
led-upgrade = &led_wlan;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "Aztech HW550-3G"; model = "Aztech HW550-3G";
aliases { aliases {
led-status = &led_status; led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
}; };
cfi@1f000000 { cfi@1f000000 {

View file

@ -10,7 +10,10 @@
model = "Poray IP2202"; model = "Poray IP2202";
aliases { aliases {
led-status = &led_run; led-boot = &led_run;
led-failsafe = &led_run;
led-running = &led_run;
led-upgrade = &led_run;
}; };
cfi@1f000000 { cfi@1f000000 {

View file

@ -10,7 +10,10 @@
model = "JCG JHR-N805R"; model = "JCG JHR-N805R";
aliases { aliases {
led-status = &led_system; led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "JCG JHR-N825R"; model = "JCG JHR-N825R";
aliases { aliases {
led-status = &led_system; led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
}; };
cfi@1f000000 { cfi@1f000000 {

View file

@ -10,7 +10,10 @@
model = "JCG JHR-N926R"; model = "JCG JHR-N926R";
aliases { aliases {
led-status = &led_system; led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
}; };
cfi@1f000000 { cfi@1f000000 {

View file

@ -10,7 +10,10 @@
model = "Phicomm K2G"; model = "Phicomm K2G";
aliases { aliases {
led-status = &led_blue; led-boot = &led_blue;
led-failsafe = &led_blue;
led-running = &led_blue;
led-upgrade = &led_blue;
serial0 = &uartlite; serial0 = &uartlite;
}; };

View file

@ -10,7 +10,10 @@
model = "Phicomm K2P"; model = "Phicomm K2P";
aliases { aliases {
led-status = &led_blue; led-boot = &led_blue;
led-failsafe = &led_blue;
led-running = &led_blue;
led-upgrade = &led_blue;
}; };
memory@0 { memory@0 {

View file

@ -10,7 +10,10 @@
model = "MediaTek LinkIt Smart 7688"; model = "MediaTek LinkIt Smart 7688";
aliases { aliases {
led-status = &led_wifi; led-boot = &led_wifi;
led-failsafe = &led_wifi;
led-running = &led_wifi;
led-upgrade = &led_wifi;
}; };
chosen { chosen {

View file

@ -10,7 +10,10 @@
model = "Intenso Memory 2 Move"; model = "Intenso Memory 2 Move";
aliases { aliases {
led-status = &led_wifi; led-boot = &led_wifi;
led-failsafe = &led_wifi;
led-running = &led_wifi;
led-upgrade = &led_wifi;
}; };
chosen { chosen {

View file

@ -10,7 +10,10 @@
model = "Poray M3"; model = "Poray M3";
aliases { aliases {
led-status = &led_status; led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
}; };
gpio-leds { gpio-leds {

View file

@ -7,7 +7,10 @@
compatible = "poray,m4", "ralink,rt5350-soc"; compatible = "poray,m4", "ralink,rt5350-soc";
aliases { aliases {
led-status = &led_status; led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "Mercury MAC1200R v2"; model = "Mercury MAC1200R v2";
aliases { aliases {
led-status = &led_status; led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
}; };
chosen { chosen {

View file

@ -10,7 +10,10 @@
model = "Omnima MiniEMBWiFi"; model = "Omnima MiniEMBWiFi";
aliases { aliases {
led-status = &led_status; led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "Xiaomi Mi Router 3G"; model = "Xiaomi Mi Router 3G";
aliases { aliases {
led-status = &led_status_blue; led-boot = &led_status_blue;
led-failsafe = &led_status_blue;
led-running = &led_status_blue;
led-upgrade = &led_status_blue;
}; };
memory@0 { memory@0 {

View file

@ -10,7 +10,10 @@
model = "Xiaomi MiWiFi Mini"; model = "Xiaomi MiWiFi Mini";
aliases { aliases {
led-status = &led_blue; led-boot = &led_blue;
led-failsafe = &led_blue;
led-running = &led_blue;
led-upgrade = &led_blue;
}; };
chosen { chosen {

View file

@ -10,7 +10,10 @@
model = "MiWiFi Nano"; model = "MiWiFi Nano";
aliases { aliases {
led-status = &led_blue; led-boot = &led_blue;
led-failsafe = &led_blue;
led-running = &led_blue;
led-upgrade = &led_blue;
}; };
chosen { chosen {

View file

@ -10,7 +10,10 @@
model = "Kingston MLW221"; model = "Kingston MLW221";
aliases { aliases {
led-status = &led_system; led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "Kingston MLWG2"; model = "Kingston MLWG2";
aliases { aliases {
led-status = &led_system; led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "MoFi Network MOFI3500-3GN"; model = "MoFi Network MOFI3500-3GN";
aliases { aliases {
led-status = &led_status; led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
}; };
cfi@1f000000 { cfi@1f000000 {

View file

@ -10,7 +10,10 @@
model = "HAME MPR-A1"; model = "HAME MPR-A1";
aliases { aliases {
led-status = &led_system; led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "HAME MPR-A2"; model = "HAME MPR-A2";
aliases { aliases {
led-status = &led_system; led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "AXIMCom MR-102N"; model = "AXIMCom MR-102N";
aliases { aliases {
led-status = &led_status; led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
}; };
cfi@1f000000 { cfi@1f000000 {

View file

@ -10,7 +10,10 @@
model = "Planex MZK-750DHP"; model = "Planex MZK-750DHP";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "Planex MZK-DP150N"; model = "Planex MZK-DP150N";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "Planex MZK-EX300NP"; model = "Planex MZK-EX300NP";
aliases { aliases {
led-status = &led_wps; led-boot = &led_wps;
led-failsafe = &led_wps;
led-running = &led_wps;
led-upgrade = &led_wps;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "Planex MZK-EX750NP"; model = "Planex MZK-EX750NP";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
gpio-leds { gpio-leds {

View file

@ -10,7 +10,10 @@
model = "Planex MZK-W300NH2"; model = "Planex MZK-W300NH2";
aliases { aliases {
led-status = &led_power; led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
}; };
cfi@1f000000 { cfi@1f000000 {

Some files were not shown because too many files have changed in this diff Show more