diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-02-19 17:03:04 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-02-22 14:25:44 +0100 |
commit | 6bbca3a09a2add5b0a2cc1743805d24ea6072578 (patch) | |
tree | 801884200321a52932db8e3c327589e7b6e6dfc3 /target/linux/kirkwood/patches-4.19/102-dockstar.patch | |
parent | b6db23018357e66a83de4b8bb5e1e86874d6049f (diff) | |
download | upstream-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.19/102-dockstar.patch')
-rw-r--r-- | target/linux/kirkwood/patches-4.19/102-dockstar.patch | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/kirkwood/patches-4.19/102-dockstar.patch b/target/linux/kirkwood/patches-4.19/102-dockstar.patch index fb05e469bc..127f84962c 100644 --- a/target/linux/kirkwood/patches-4.19/102-dockstar.patch +++ b/target/linux/kirkwood/patches-4.19/102-dockstar.patch @@ -14,7 +14,7 @@ memory { device_type = "memory"; reg = <0x00000000 0x8000000>; -@@ -42,12 +49,11 @@ +@@ -42,12 +49,12 @@ pinctrl-0 = <&pmx_led_green &pmx_led_orange>; pinctrl-names = "default"; @@ -23,13 +23,14 @@ label = "status:green:health"; gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; - default-state = "keep"; ++ default-state = "on"; }; - fault { + led_fault: fault { label = "status:orange:fault"; gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; }; -@@ -78,18 +84,22 @@ +@@ -78,18 +85,22 @@ partition@0 { label = "u-boot"; |