mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
ARM: dts: rk322x: add reboot mode support.
Change-Id: I5018ba43bb8dbdadbb7273042ac4237a1663168a Signed-off-by: Wenping Zhang <wenping.zhang@rock-chips.com>
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include <dt-bindings/pinctrl/rockchip.h>
|
||||
#include <dt-bindings/clock/rk3228-cru.h>
|
||||
#include <dt-bindings/suspend/rockchip-rk322x.h>
|
||||
#include <dt-bindings/soc/rockchip,boot-mode.h>
|
||||
#include <dt-bindings/thermal/thermal.h>
|
||||
|
||||
/ {
|
||||
@@ -214,6 +215,16 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
reboot-mode {
|
||||
compatible = "syscon-reboot-mode";
|
||||
offset = <0x5c8>;
|
||||
mode-normal = <BOOT_NORMAL>;
|
||||
mode-recovery = <BOOT_RECOVERY>;
|
||||
mode-bootloader = <BOOT_FASTBOOT>;
|
||||
mode-loader = <BOOT_BL_DOWNLOAD>;
|
||||
mode-ums = <BOOT_UMS>;
|
||||
};
|
||||
|
||||
u2phy0: usb2-phy@760 {
|
||||
compatible = "rockchip,rk3228-usb2phy";
|
||||
reg = <0x0760 0x0c>;
|
||||
|
||||
Reference in New Issue
Block a user