diff mbox series

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

Message ID c3407f283fab925ce9097dd05dde41c8a4956265.1509951550.git.amit.kucheria@linaro.org
State Accepted
Commit b6fff603582e358fb0ec3111f7476b88fc6d8446
Headers show
Series None | expand

Commit Message

Amit Kucheria Nov. 6, 2017, 7:08 a.m. UTC
Blink the LED on a kernel panic.

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

Acked-by: Guodong Xu <guodong.xu@linaro.org>

Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@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 3aee612..e94fa1a 100644
--- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
+++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
@@ -359,6 +359,7 @@ 
 		user_led1 {
 			label = "user_led1";
 			gpios = <&gpio4 3 0>; /* <&gpio_user_led_4>; */
+			panic-indicator;
 			linux,default-trigger = "cpu0";
 		};