aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2019-08-11 23:37:24 +0200
committerDavid Bauer <mail@david-bauer.net>2019-08-15 14:53:04 +0200
commitd97c6d9f097f91bc3c283afe15983a0a7867f2b0 (patch)
tree204dadbd83270724b1ab04da0caeb0df5bac87be /target/linux
parentce41f468e1491134353a189b4cdf169e32786d16 (diff)
downloadupstream-d97c6d9f097f91bc3c283afe15983a0a7867f2b0.tar.gz
upstream-d97c6d9f097f91bc3c283afe15983a0a7867f2b0.tar.bz2
upstream-d97c6d9f097f91bc3c283afe15983a0a7867f2b0.zip
lantiq: unify Fritz!Box LED mappings
This commit unifies the LED mapping of the AVM Fritz!Box routers, which have a combined Power/DSL LED. With the stock firmware, the Power LED has the following characteristics: - Blink when DSL sync is being established - Solid when DSL sync is present We can't completely resemble this behavior in OpenWrt. Currently, the Power LED is completely off, when DSL sync is missing. This is not really helpful, as a user might have the impression, that he bricked his device. Instead, map the Info-LED to the state of the DSL connection. There is no consistent behavior for the Info-LED in the stock firmware, as the user can set it's function by himself. The DSL connection state is one possible option for the Info LED there. Also use the red Power LED to indicate a running upgrade, in case the board has a two-color Power LED. Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit 3032bf7f89e8ad5b69ab2f031287f475e5d2b829)
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2.dtsi2
-rw-r--r--target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7312.dts3
-rw-r--r--target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7320.dts3
-rw-r--r--target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ736X.dtsi3
4 files changed, 5 insertions, 6 deletions
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2.dtsi b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2.dtsi
index 9a0359d1cc..e86e544945 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2.dtsi
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2.dtsi
@@ -15,7 +15,7 @@
led-boot = &power_green;
led-failsafe = &power_red;
led-running = &power_green;
- led-upgrade = &power_green;
+ led-upgrade = &power_red;
led-dsl = &dsl;
led-internet = &info_green;
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7312.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7312.dts
index 796b941ede..29da0fb8e5 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7312.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7312.dts
@@ -18,8 +18,7 @@
led-running = &power;
led-upgrade = &power;
- led-internet = &info_green;
- led-dsl = &power;
+ led-dsl = &info_green;
led-wifi = &wlan;
};
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7320.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7320.dts
index a4afca11fa..89fc3858b7 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7320.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7320.dts
@@ -18,8 +18,7 @@
led-running = &power;
led-upgrade = &power;
- led-internet = &info_green;
- led-dsl = &power;
+ led-dsl = &info_green;
led-wifi = &wlan;
};
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ736X.dtsi b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ736X.dtsi
index 9c1d2db8fa..8ed23deb44 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ736X.dtsi
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ736X.dtsi
@@ -17,7 +17,8 @@
led-boot = &power_green;
led-failsafe = &power_red;
led-running = &power_green;
- led-upgrade = &power_green;
+ led-upgrade = &power_red;
+
led-dsl = &info_green;
led-wifi = &wifi;
};