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
# Copyright (C) 2010-2013 OpenWrt.org
. /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() {
status_led="$boot"
case "$1" in
preinit)
status_led_blink_preinit
;;
failsafe)
status_led_off
[ -n "$running" ] && {
status_led="$running"
status_led_off
}
status_led="$failsafe"
status_led_blink_failsafe
;;
upgrade | \
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)
status_led_on
status_led_off
[ -n "$running" ] && {
status_led="$running"
status_led_on
}
;;
esac
}

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -10,7 +10,10 @@
model = "Allnet ALL0239-3G";
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";
aliases {
led-status = &led_power;
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
cfi@bdc00000 {

View file

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

View file

@ -7,7 +7,10 @@
compatible = "alphanetworks,asl26555", "ralink,rt3050-soc";
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 {

View file

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

View file

@ -10,7 +10,10 @@
model = "AsiaRF AWAPN2403";
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";
aliases {
led-status = &led_system;
led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
};
chosen {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -43,7 +43,10 @@
model = "HNET C108";
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 {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -10,7 +10,10 @@
model = "D-Link DAP-1350";
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 {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -10,7 +10,10 @@
model = "D-Link DIR-300 B1";
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 {

View file

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

View file

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

View file

@ -10,7 +10,10 @@
model = "D-Link DIR-600 B1";
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 {

View file

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

View file

@ -10,7 +10,10 @@
model = "D-Link DIR-615 D";
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 {

View file

@ -10,7 +10,10 @@
model = "D-Link DIR-615 H1";
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 {

View file

@ -10,7 +10,10 @@
model = "D-Link DIR-620 A1";
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 {

View file

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

View file

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

View file

@ -10,7 +10,10 @@
model = "D-Link DIR-810L";
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 {

View file

@ -10,7 +10,10 @@
model = "D-Link DIR-860L B1";
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 {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -20,7 +20,10 @@
model = "Netgear EX2700";
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 {

View file

@ -12,7 +12,10 @@
model = "Netgear EX3700/EX3800";
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 {

View file

@ -12,7 +12,10 @@
model = "Belkin F5D8235 v1";
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 {

View file

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

View file

@ -10,7 +10,10 @@
model = "Belkin F7C027";
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 {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -10,7 +10,10 @@
model = "Xiaomi Mi Router 3G";
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 {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

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