From c7ec32bfff854f1f1bb52ad1d83ba6f1334d8ec8 Mon Sep 17 00:00:00 2001 From: "Huang, Tao" Date: Fri, 4 Mar 2016 14:52:07 +0800 Subject: [PATCH] arm64: dts: rockchip: rk3366: add syscon-reboot-mode node use PMU_GRF_OS_REG0 to communicate with loader. Change-Id: I8c007192d77c5634f9cf899899683c6c8f44f8b8 Signed-off-by: Huang, Tao --- arch/arm64/boot/dts/rockchip/rk3366.dtsi | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3366.dtsi b/arch/arm64/boot/dts/rockchip/rk3366.dtsi index 91a2f66a90df..91aa38dcd8eb 100644 --- a/arch/arm64/boot/dts/rockchip/rk3366.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3366.dtsi @@ -47,6 +47,7 @@ #include #include #include +#include / { compatible = "rockchip,rk3366"; @@ -517,8 +518,17 @@ }; pmugrf: syscon@ff738000 { - compatible = "rockchip,rk3366-pmugrf", "syscon"; + compatible = "rockchip,rk3366-pmugrf", "syscon", "simple-mfd"; reg = <0x0 0xff738000 0x0 0x1000>; + + reboot-mode { + compatible = "syscon-reboot-mode"; + offset = <0x200>; + mode-normal = ; + mode-recovery = ; + mode-fastboot = ; + mode-loader = ; + }; }; amba { -- 2.34.1