36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||
|
From: Ash Hughes <spirit.returned@gmail.com>
|
||
|
Date: Sat, 18 Feb 2023 07:46:38 -0300
|
||
|
Subject: adapted meson64-reboot driver, fix reboot on odroid C4 when using
|
||
|
UHS-II SD cards
|
||
|
|
||
|
bring back fixed version of `odroid-reboot` driver (Fix reboot on odroid C4 when using UHS-II SD cards)
|
||
|
---
|
||
|
arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts | 10 ++++++++++
|
||
|
1 file changed, 10 insertions(+)
|
||
|
|
||
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts
|
||
|
index d04768a66bfe..e0b7aca25d21 100644
|
||
|
--- a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts
|
||
|
+++ b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts
|
||
|
@@ -11,6 +11,16 @@ / {
|
||
|
compatible = "hardkernel,odroid-c4", "amlogic,sm1";
|
||
|
model = "Hardkernel ODROID-C4";
|
||
|
|
||
|
+ meson64-reboot {
|
||
|
+ compatible = "meson64,reboot";
|
||
|
+ sys_reset = <0x84000009>;
|
||
|
+ sys_poweroff = <0x84000008>;
|
||
|
+
|
||
|
+ sd-vqen = <&gpio_ao GPIOE_2 GPIO_ACTIVE_HIGH>;
|
||
|
+ sd-vqsw = <&gpio_ao GPIOAO_6 GPIO_ACTIVE_HIGH>;
|
||
|
+ sd-vmmc = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_HIGH>;
|
||
|
+ };
|
||
|
+
|
||
|
leds {
|
||
|
compatible = "gpio-leds";
|
||
|
|
||
|
--
|
||
|
Armbian
|
||
|
|