aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts
diff options
context:
space:
mode:
authorAndy Yan <andy.yan@rock-chips.com>2016-07-06 09:28:49 -0400
committerHeiko Stuebner <heiko@sntech.de>2016-08-11 14:05:49 -0400
commit2e9e2863c7bee8ef828924cb0cad900776cb6d08 (patch)
treeed741220bcf6f836ec2c28fc7b42756d9711735f /arch/arm64/boot/dts
parentd6aa084242f1cbc66c454fc6a30ef1db8a5e5383 (diff)
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')
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3368.dtsi10
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 @@
45#include <dt-bindings/interrupt-controller/irq.h> 45#include <dt-bindings/interrupt-controller/irq.h>
46#include <dt-bindings/interrupt-controller/arm-gic.h> 46#include <dt-bindings/interrupt-controller/arm-gic.h>
47#include <dt-bindings/pinctrl/rockchip.h> 47#include <dt-bindings/pinctrl/rockchip.h>
48#include <dt-bindings/soc/rockchip,boot-mode.h>
48#include <dt-bindings/thermal/thermal.h> 49#include <dt-bindings/thermal/thermal.h>
49 50
50/ { 51/ {
@@ -639,6 +640,15 @@
639 compatible = "rockchip,rk3368-pmu-io-voltage-domain"; 640 compatible = "rockchip,rk3368-pmu-io-voltage-domain";
640 status = "disabled"; 641 status = "disabled";
641 }; 642 };
643
644 reboot-mode {
645 compatible = "syscon-reboot-mode";
646 offset = <0x200>;
647 mode-normal = <BOOT_NORMAL>;
648 mode-recovery = <BOOT_RECOVERY>;
649 mode-bootloader = <BOOT_FASTBOOT>;
650 mode-loader = <BOOT_BL_DOWNLOAD>;
651 };
642 }; 652 };
643 653
644 cru: clock-controller@ff760000 { 654 cru: clock-controller@ff760000 {