arm64: dts: rockchip: Add reboot mode for rk3588

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I56f1ff125d8ec627fa774690764d9e9a99e57ff4
This commit is contained in:
Tao Huang
2021-11-12 10:05:25 +08:00
parent b161f411c3
commit f4f5c36bc6

View File

@@ -8,6 +8,7 @@
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/phy/phy.h>
#include <dt-bindings/power/rk3588-power.h>
#include <dt-bindings/soc/rockchip,boot-mode.h>
/ {
compatible = "rockchip,rk3588";
@@ -432,6 +433,25 @@
};
};
pmu1_grf: syscon@fd58a000 {
compatible = "rockchip,rk3588-pmu1-grf", "syscon", "simple-mfd";
reg = <0x0 0xfd58a000 0x0 0x2000>;
reboot_mode: reboot-mode {
compatible = "syscon-reboot-mode";
offset = <0x200>;
mode-bootloader = <BOOT_BL_DOWNLOAD>;
mode-charge = <BOOT_CHARGING>;
mode-fastboot = <BOOT_FASTBOOT>;
mode-loader = <BOOT_BL_DOWNLOAD>;
mode-normal = <BOOT_NORMAL>;
mode-recovery = <BOOT_RECOVERY>;
mode-ums = <BOOT_UMS>;
mode-panic = <BOOT_PANIC>;
mode-watchdog = <BOOT_WATCHDOG>;
};
};
sys_grf: syscon@fd58c000 {
compatible = "rockchip,rk3588-sys-grf", "syscon";
reg = <0x0 0xfd58c000 0x0 0x1000>;