ARM: exynos: dts: add the reboot-mode nodes for tizen boards
authorJaehoon Chung <jh80.chung@samsung.com>
Tue, 26 Jul 2016 01:44:34 +0000 (10:44 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 11 Apr 2017 09:58:16 +0000 (18:58 +0900)
Odroid-U3/XU3 and Trats2 boards supports the reboot-mode with inform
register.
In case of Odroid, it uses the INFORM2 register for reboot-mode.
But it uses the INFORM3 register for reboot-mode on trats2 board.
(To ensure the backward compatible for older kernel.)

Change-Id: Ic1b51d675a65086dd113c0d3920f4bd67df167bc
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
arch/arm/dts/exynos4412-odroid.dts
arch/arm/dts/exynos4412-trats2.dts
arch/arm/dts/exynos5422-odroidxu3.dts

index f211736c91f17ae8fb04478d0efe6047acf9e265..6de0e29f3d6360206f87cbd66e7ac9ebcb7a72ed 100644 (file)
                compatible = "samsung,emmc-reset";
                reset-gpio = <&gpk1 2 0>;
        };
+
+       reboot-mode {
+               compatible = "samsung,reboot-mode";
+               inform-num = <2>;
+       };
 };
index adbe31f4eb5a081aab65f39158e0b0cb7dcf4470..26bba1973a6f3c81cffd2a9a0c07a4358db5de0f 100644 (file)
                div = <0x3>;
                index = <4>;
        };
+       reboot-mode {
+               compatible = "samsung,reboot-mode";
+               inform-num = <3>;
+       };
 };
index 690c747289a11bff9235c5d043228d88b93fbff6..7160658036abac88aaf2df9cad8dd690479f02de 100644 (file)
@@ -63,4 +63,9 @@
                compatible = "samsung,emmc-reset";
                reset-gpio = <&gpd1 0 0>;
        };
+
+       reboot-mode {
+               compatible = "samsung,reboot-mode";
+               inform-num = <2>;
+       };
 };