aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/patches-4.14/100-ib62x0.patch
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-02-19 17:03:04 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-02-22 14:25:44 +0100
commit6bbca3a09a2add5b0a2cc1743805d24ea6072578 (patch)
tree801884200321a52932db8e3c327589e7b6e6dfc3 /target/linux/kirkwood/patches-4.14/100-ib62x0.patch
parentb6db23018357e66a83de4b8bb5e1e86874d6049f (diff)
downloadupstream-6bbca3a09a2add5b0a2cc1743805d24ea6072578.tar.gz
upstream-6bbca3a09a2add5b0a2cc1743805d24ea6072578.tar.bz2
upstream-6bbca3a09a2add5b0a2cc1743805d24ea6072578.zip
kirkwood: set default state for status LEDs in device tree
This adds the default-state = "on"; statement for the power or primary status LED in DTS on kirkwood. This will ensure that this LED will be lit up very early in the boot process (i.e. before diag.sh is executed) and thus will provide an additional hint to the user when problems arise during early boot process. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/kirkwood/patches-4.14/100-ib62x0.patch')
-rw-r--r--target/linux/kirkwood/patches-4.14/100-ib62x0.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/kirkwood/patches-4.14/100-ib62x0.patch b/target/linux/kirkwood/patches-4.14/100-ib62x0.patch
index 494540d730..0637c24b63 100644
--- a/target/linux/kirkwood/patches-4.14/100-ib62x0.patch
+++ b/target/linux/kirkwood/patches-4.14/100-ib62x0.patch
@@ -16,7 +16,7 @@
memory {
device_type = "memory";
-@@ -81,12 +88,11 @@
+@@ -81,12 +88,12 @@
&pmx_led_usb_transfer>;
pinctrl-names = "default";
@@ -25,13 +25,14 @@
label = "ib62x0:green:os";
gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
- default-state = "keep";
++ default-state = "on";
};
- red-os {
+ led_red_os: red-os {
label = "ib62x0:red:os";
gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
};
-@@ -118,13 +124,13 @@
+@@ -118,13 +125,13 @@
};
partition@100000 {