From b07870e2a05f674acd5e9afd3195b76b52032530 Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Sat, 22 Aug 2020 22:50:35 -0400 Subject: [PATCH] dts: pinephone: Setup default on and panic LEDs * The green LED defaults to on. * The red LED is the panic indicator. The green LED defaults to on for an expected transition through red, yellow and green during the different boot stages. --- arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi index 02d82980cf394..dca546a2c4a09 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi @@ -216,6 +216,7 @@ green { color = ; gpios = <&pio 3 18 GPIO_ACTIVE_HIGH>; /* PD18 */ retain-state-suspended; + linux,default-trigger = "default-on"; }; red { @@ -223,6 +224,7 @@ red { color = ; gpios = <&pio 3 19 GPIO_ACTIVE_HIGH>; /* PD19 */ retain-state-suspended; + panic-indicator; }; }; -- 2.29.2