diff options
author | Andy Yan <andy.yan@rock-chips.com> | 2016-07-06 15:28:49 +0200 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2016-08-11 20:05:49 +0200 |
commit | 2e9e2863c7bee8ef828924cb0cad900776cb6d08 (patch) | |
tree | ed741220bcf6f836ec2c28fc7b42756d9711735f /arch/arm64/boot/dts/rockchip/rk3368.dtsi | |
parent | Merge branch 'v4.9-shared/soc-hdr' into v4.9-armsoc/dts64 (diff) | |
download | linux-2e9e2863c7bee8ef828924cb0cad900776cb6d08.tar.xz linux-2e9e2863c7bee8ef828924cb0cad900776cb6d08.zip |
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>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3368.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3368.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi index d02a900378e1..6a5eeea44b63 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi @@ -45,6 +45,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> #include <dt-bindings/thermal/thermal.h> / { @@ -639,6 +640,15 @@ compatible = "rockchip,rk3368-pmu-io-voltage-domain"; 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 { |