Fix broken / innactive patch for Bananapi M2 zero

This commit is contained in:
Igor Pecovnik 2020-06-27 19:45:47 +02:00
parent 7bfc49b22c
commit dd859a0e0f

View File

@ -1,21 +1,18 @@
commit f5a2aac81b45c8d4a15c4b81182e259ee70de045
Author: PJBrs <pjbrs@floorenpj.xs4all.nl>
Date: Thu Feb 20 21:11:12 2020 +0100
ARM: dts: sunxi: h2-plus-bananapi-m2-zero: Power led heartbeat
ARM: dts: sunxi: h2-plus-bananapi-m2-zero: Power led heartbeat
Make the BananaPi M2 Zero's powerled blink so that we can see
whether the kernel is running.
Make the BananaPi M2 Zero's powerled blink so that we can see whether the kernel is running.
diff --git a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
index af001b12ea8f..f8cf186a0a20 100644
index 6cb1cab0c..942fde97b 100644
--- a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
+++ b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
@@ -32,7 +32,7 @@
@@ -42,8 +42,8 @@
pwr_led {
label = "bananapi-m2-zero:red:pwr";
gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; /* PL10 */
- gpios = <&r_pio 0 10 GPIO_ACTIVE_LOW>; /* PL10 */
- default-state = "on";
+ gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; /* PL10 */
+ linux,default-trigger = "heartbeat";
};
};