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.14/109-pogoplug_v4.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.14/109-pogoplug_v4.patch')
-rw-r--r-- | target/linux/kirkwood/patches-4.14/109-pogoplug_v4.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/kirkwood/patches-4.14/109-pogoplug_v4.patch b/target/linux/kirkwood/patches-4.14/109-pogoplug_v4.patch index f23cd93f33..f13d459223 100644 --- a/target/linux/kirkwood/patches-4.14/109-pogoplug_v4.patch +++ b/target/linux/kirkwood/patches-4.14/109-pogoplug_v4.patch @@ -32,7 +32,7 @@ gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; }; }; -@@ -48,12 +56,11 @@ +@@ -48,12 +56,12 @@ pinctrl-0 = <&pmx_led_green &pmx_led_red>; pinctrl-names = "default"; @@ -40,14 +40,14 @@ + led_health: health { label = "pogoplugv4:green:health"; gpios = <&gpio0 22 GPIO_ACTIVE_LOW>; -- default-state = "on"; + default-state = "on"; }; - fault { + led_fault: fault { label = "pogoplugv4:red:fault"; gpios = <&gpio0 24 GPIO_ACTIVE_LOW>; }; -@@ -137,29 +144,19 @@ +@@ -137,29 +145,19 @@ #size-cells = <1>; partition@0 { |