36 lines
1.0 KiB
Diff
36 lines
1.0 KiB
Diff
From 9d983a30d31751caf6cad673a3e03d2d1577c08f Mon Sep 17 00:00:00 2001
|
|
From: Ondrej Jirman <megi@xff.cz>
|
|
Date: Sun, 4 Sep 2022 22:49:46 +0200
|
|
Subject: [PATCH 268/389] arm64: dts: rk3399: Add reboot mode driver
|
|
|
|
U-Boot uses value 0xef08a53c to jump back to USB loader maskrom
|
|
mode instead of normal boot. Add support for reboot to maskrom
|
|
from the kernel.
|
|
|
|
Signed-off-by: Ondrej Jirman <megi@xff.cz>
|
|
---
|
|
arch/arm64/boot/dts/rockchip/rk3399.dtsi | 7 +++++++
|
|
1 file changed, 7 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
|
|
index bf7e889726db..4418ff26b5dc 100644
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
|
|
@@ -1193,6 +1193,13 @@ pmu_io_domains: io-domains {
|
|
compatible = "rockchip,rk3399-pmu-io-voltage-domain";
|
|
status = "disabled";
|
|
};
|
|
+
|
|
+ reboot-mode {
|
|
+ compatible = "syscon-reboot-mode";
|
|
+ offset = <0x300>;
|
|
+ mode-normal = <0>;
|
|
+ mode-maskrom = <0xef08a53c>;
|
|
+ };
|
|
};
|
|
|
|
spi3: spi@ff350000 {
|
|
--
|
|
2.35.3
|
|
|