37 lines
1.0 KiB
Diff
37 lines
1.0 KiB
Diff
From 154259cdf33359d1aa9e12b98f0ff099ad3d417b Mon Sep 17 00:00:00 2001
|
|
From: ckkim <changkon12@gmail.com>
|
|
Date: Tue, 6 Oct 2020 17:49:18 +0900
|
|
Subject: [PATCH 072/109] ODROID-C4: arm64:dts: reboot / power off support for
|
|
ODROID-C4
|
|
|
|
Signed-off-by: ckkim <changkon12@gmail.com>
|
|
Change-Id: I22316a4ab896a0d8511d2cb2c34ac00360bb44d1
|
|
---
|
|
arch/arm64/boot/dts/amlogic/meson64_odroidc4.dts | 10 ++++++++++
|
|
1 file changed, 10 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson64_odroidc4.dts b/arch/arm64/boot/dts/amlogic/meson64_odroidc4.dts
|
|
index 64b7645e87c4..74531ad8dd75 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/meson64_odroidc4.dts
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson64_odroidc4.dts
|
|
@@ -9,6 +9,16 @@
|
|
|
|
/ {
|
|
model = "Hardkernel ODROID-C4";
|
|
+
|
|
+ odroid-reboot {
|
|
+ compatible = "odroid,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>;
|
|
+ };
|
|
};
|
|
|
|
&cpu_opp_table {
|
|
--
|
|
2.25.1
|
|
|