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/105-ea4500.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/105-ea4500.patch')
-rw-r--r-- | target/linux/kirkwood/patches-4.14/105-ea4500.patch | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/target/linux/kirkwood/patches-4.14/105-ea4500.patch b/target/linux/kirkwood/patches-4.14/105-ea4500.patch index 0c2b30df0d..cfa499c911 100644 --- a/target/linux/kirkwood/patches-4.14/105-ea4500.patch +++ b/target/linux/kirkwood/patches-4.14/105-ea4500.patch @@ -11,7 +11,7 @@ serial0 = &uart0; }; -@@ -58,7 +62,7 @@ +@@ -58,9 +62,10 @@ pinctrl-0 = < &pmx_led_white_health &pmx_led_white_pulse >; pinctrl-names = "default"; @@ -19,8 +19,11 @@ + led_white_health: white-health { label = "viper:white:health"; gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; ++ default-state = "on"; }; -@@ -69,9 +73,18 @@ + + white-pulse { +@@ -69,9 +74,18 @@ }; }; @@ -41,7 +44,7 @@ compatible = "marvell,dsa"; #address-cells = <2>; #size-cells = <0>; -@@ -163,22 +176,22 @@ +@@ -163,22 +177,22 @@ }; partition@200000 { @@ -68,7 +71,7 @@ reg = <0x1EA0000 0x1760000>; }; -@@ -209,53 +222,6 @@ +@@ -209,53 +223,6 @@ &mdio { status = "okay"; @@ -122,7 +125,7 @@ }; &uart0 { -@@ -274,10 +240,14 @@ +@@ -274,10 +241,14 @@ }; /* eth1 is connected to the switch at port 6. However DSA only supports a |