From 84ae2edc1762a22785da4f32785b2b40602ad85b Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Thu, 14 Feb 2019 15:12:28 +0900 Subject: [PATCH] ARM: dts: trats2: add syscon-reboot-mode Add syscon-reboot-mode dt node to support reboot mode. Trats2 uses INFORM3 register with offset 0x80c not like odroid families. In trats2's case, when we released the tizen-2.X with linux-3.10 kernel, it had used the INFORM3 register. That's why trats2 uses the INFORM3 register for reboot-mode. Change-Id: Ib7134020b493a83cc7661fe966ea40128f4f8dcc Signed-off-by: Seung-Woo Kim --- arch/arm/boot/dts/exynos4412-trats2.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index f285790e8e04..473495152d35 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts @@ -19,6 +19,7 @@ #include #include #include +#include / { model = "Samsung Trats 2 based on Exynos4412"; @@ -999,6 +1000,13 @@ &pmu_system_controller { assigned-clocks = <&pmu_system_controller 0>; assigned-clock-parents = <&clock CLK_XUSBXTI>; + + syscon-reboot-mode { + compatible = "syscon-reboot-mode"; + offset = <0x80c>; + mode-normal = ; + mode-download = ; + }; }; &pinctrl_0 { -- 2.34.1