mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-11-14 17:28:23 +01:00
2f84e8ff67
- Ethernet, WiFi, Bluetooth, USBs are working fine but HDMI is working until U-Boot loading the kernel. Then it stop working. - Tested with core-image-base and kernel mainline 6.6.28 Signed-off-by: alperak <alperyasinak1@gmail.com>
28 lines
853 B
Diff
28 lines
853 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Gunjan Gupta <viraniac@gmail.com>
|
|
Date: Sat, 15 Jul 2023 17:06:17 +0000
|
|
Subject: arm64: dts: sun50i: h5: enable power button for orangepi prime
|
|
|
|
---
|
|
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts
|
|
index f430acd8558f..35e09098570f 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts
|
|
@@ -63,8 +63,9 @@ gpio-keys {
|
|
|
|
key-sw4 {
|
|
label = "sw4";
|
|
- linux,code = <BTN_0>;
|
|
+ linux,code = <KEY_POWER>;
|
|
gpios = <&r_pio 0 3 GPIO_ACTIVE_LOW>;
|
|
+ wakeup-source;
|
|
};
|
|
};
|
|
|
|
--
|
|
Armbian
|
|
|