ARM: dts: rockchip: rk3506: Add reboot_mode

Change-Id: I5ab7ab915196e42d7a21c02c35aee1a816fcd0d3
Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
This commit is contained in:
Xuhui Lin
2024-06-28 15:15:41 +08:00
committed by Tao Huang
parent 7b10e9390a
commit d472356882

View File

@@ -8,6 +8,7 @@
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/pinctrl/rockchip.h>
#include <dt-bindings/soc/rockchip,boot-mode.h>
/ {
#address-cells = <1>;
@@ -1533,8 +1534,22 @@
};
grf_pmu: syscon@ff910000 {
compatible = "rockchip,rk3506-grf-pmu", "syscon";
compatible = "rockchip,rk3506-grf-pmu", "syscon", "simple-mfd";
reg = <0xff910000 0x4000>;
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>;
};
};
pwm0_4ch_0: pwm@ff930000 {