From: Andy Yan Date: Tue, 1 Mar 2016 12:14:30 +0000 (+0800) Subject: FROMLIST: ARM64: dts: rockchip: add syscon-reboot-mode DT node X-Git-Tag: firefly_0821_release~3265 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f4109579523eba39f30362b4da2a53f925fcce83;p=firefly-linux-kernel-4.4.55.git FROMLIST: ARM64: dts: rockchip: add syscon-reboot-mode DT node Add syscon-reboot-mode driver DT node for rk3368 platform Change-Id: I050579c2392fad6c7756d0d8a5dfc1a8a36023e4 Tested-by: Caesar Wang Signed-off-by: Andy Yan --- diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi index 42e7a69b1882..55af19b5d5c5 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi @@ -47,6 +47,7 @@ #include #include #include +#include / { compatible = "rockchip,rk3368"; @@ -726,8 +727,18 @@ }; pmugrf: syscon@ff738000 { - compatible = "rockchip,rk3368-pmugrf", "syscon"; + compatible = "rockchip,rk3368-pmugrf", "syscon", "simple-mfd"; reg = <0x0 0xff738000 0x0 0x1000>; + + reboot-mode { + compatible = "syscon-reboot-mode"; + offset = <0x200>; + mode-normal = ; + mode-recovery = ; + mode-bootloader = ; + mode-loader = ; + + }; }; cru: clock-controller@ff760000 {