diff mbox series

[3/4] arm64: dts: hisilicon: hi6220-hikey: Allow USR1 LED to notify kernel panic

Message ID ddd5c6c5e3e1332dc62d019963da55a9b3dcbd05.1508360121.git.amit.kucheria@linaro.org
State Superseded
Headers show
Series arm64 defconfig: enable additional led triggers | expand

Commit Message

Amit Kucheria Oct. 18, 2017, 8:57 p.m. UTC
Blink the LED on a kernel panic.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>

---
 arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 1 +
 1 file changed, 1 insertion(+)

-- 
2.7.4
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
index 2b52630..c536403 100644
--- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
+++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
@@ -358,6 +358,7 @@ 
 		user_led1 {
 			label = "user_led1";
 			gpios = <&gpio4 3 0>; /* <&gpio_user_led_4>; */
+			panic-indicator;
 			linux,default-trigger = "cpu0";
 		};