mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
arm64: dts: rockchip: add reboot-mode node for rk3399
Rockchip RK3399 SoCs support reboot with modes, such as recovery mode, loader mode and normal mode. Change-Id: I96ed872f849c2b3b06d236248995db18be070960 Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
#include <dt-bindings/pinctrl/rockchip.h>
|
||||
#include <dt-bindings/power/rk3399-power.h>
|
||||
#include <dt-bindings/soc/rockchip,boot-mode.h>
|
||||
#include <dt-bindings/thermal/thermal.h>
|
||||
|
||||
/ {
|
||||
@@ -1134,6 +1135,18 @@
|
||||
compatible = "rockchip,rk3399-pmu-io-voltage-domain";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
reboot_mode: reboot-mode {
|
||||
compatible = "syscon-reboot-mode";
|
||||
offset = <0x300>;
|
||||
mode-charge = <BOOT_CHARGING>;
|
||||
mode-fastboot = <BOOT_FASTBOOT>;
|
||||
mode-loader = <BOOT_BL_DOWNLOAD>;
|
||||
mode-normal = <BOOT_NORMAL>;
|
||||
mode-panic = <BOOT_PANIC>;
|
||||
mode-recovery = <BOOT_RECOVERY>;
|
||||
mode-ums = <BOOT_UMS>;
|
||||
};
|
||||
};
|
||||
|
||||
spi3: spi@ff350000 {
|
||||
|
||||
Reference in New Issue
Block a user