arm64: dts: rockchip: add syscon-reboot-mode DT node
Add syscon-reboot-mode driver DT node for rk3368 platform Signed-off-by: Andy Yan <andy.yan@rock-chips.com> Tested-by: Caesar Wang <caesar.upstream@gmail.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
parent
d6aa084242
commit
2e9e2863c7
@ -45,6 +45,7 @@
|
|||||||
#include <dt-bindings/interrupt-controller/irq.h>
|
#include <dt-bindings/interrupt-controller/irq.h>
|
||||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||||
#include <dt-bindings/pinctrl/rockchip.h>
|
#include <dt-bindings/pinctrl/rockchip.h>
|
||||||
|
#include <dt-bindings/soc/rockchip,boot-mode.h>
|
||||||
#include <dt-bindings/thermal/thermal.h>
|
#include <dt-bindings/thermal/thermal.h>
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
@ -639,6 +640,15 @@
|
|||||||
compatible = "rockchip,rk3368-pmu-io-voltage-domain";
|
compatible = "rockchip,rk3368-pmu-io-voltage-domain";
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
reboot-mode {
|
||||||
|
compatible = "syscon-reboot-mode";
|
||||||
|
offset = <0x200>;
|
||||||
|
mode-normal = <BOOT_NORMAL>;
|
||||||
|
mode-recovery = <BOOT_RECOVERY>;
|
||||||
|
mode-bootloader = <BOOT_FASTBOOT>;
|
||||||
|
mode-loader = <BOOT_BL_DOWNLOAD>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
cru: clock-controller@ff760000 {
|
cru: clock-controller@ff760000 {
|
||||||
|
Loading…
Reference in New Issue
Block a user