From: Huang, Tao Date: Fri, 4 Mar 2016 06:52:07 +0000 (+0800) Subject: arm64: dts: rockchip: rk3366: add syscon-reboot-mode node X-Git-Tag: firefly_0821_release~3297 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c7ec32bfff854f1f1bb52ad1d83ba6f1334d8ec8;p=firefly-linux-kernel-4.4.55.git 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 --- 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 {