mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
21 lines
616 B
Diff
21 lines
616 B
Diff
commit 2bfc2341d47781d56d019b5bbdfc5a9c59422ed2
|
|
Author: Michael Klein <michael@fossekall.de>
|
|
Date: Sun Nov 8 18:59:52 2020 +0100
|
|
|
|
KEY_POWER
|
|
|
|
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 ccf6e6c83fb1..158331f9c7e8 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
|
|
@@ -56,7 +56,8 @@ gpio_keys {
|
|
|
|
sw4 {
|
|
label = "power";
|
|
- linux,code = <BTN_0>;
|
|
+ linux,code = <KEY_POWER>;
|
|
gpios = <&r_pio 0 3 GPIO_ACTIVE_LOW>;
|
|
+ wakeup-source;
|
|
};
|
|
};
|