From 6bbca3a09a2add5b0a2cc1743805d24ea6072578 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Wed, 19 Feb 2020 17:03:04 +0100 Subject: 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 --- target/linux/kirkwood/patches-4.14/101-iconnect.patch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'target/linux/kirkwood/patches-4.14/101-iconnect.patch') diff --git a/target/linux/kirkwood/patches-4.14/101-iconnect.patch b/target/linux/kirkwood/patches-4.14/101-iconnect.patch index f36f50eae4..9fd14a955b 100644 --- a/target/linux/kirkwood/patches-4.14/101-iconnect.patch +++ b/target/linux/kirkwood/patches-4.14/101-iconnect.patch @@ -23,7 +23,7 @@ }; ocp@f1000000 { -@@ -89,12 +94,11 @@ +@@ -89,12 +94,12 @@ gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; default-state = "on"; }; @@ -32,13 +32,14 @@ label = "power:blue"; gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; - default-state = "keep"; ++ default-state = "on"; }; - power-red { + led_power_red: power-red { label = "power:red"; gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>; }; -@@ -146,28 +150,23 @@ +@@ -146,28 +151,23 @@ status = "okay"; partition@0 { -- cgit v1.2.3