arm64: dts: exynos: Include common syscon restart/poweroff for Exynos7
authorPaweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
Sat, 7 Nov 2020 13:39:25 +0000 (14:39 +0100)
committerKrzysztof Kozlowski <krzk@kernel.org>
Sun, 8 Nov 2020 18:55:57 +0000 (19:55 +0100)
Exynos7 uses the same syscon reboot and poweroff nodes as other Exynos
SoCs, so instead of duplicating code we can just include common dtsi
file, which already contains definitions of them. After this change,
poweroff node will be also available, previously this dts file did
contain only reboot node.

Fixes: fb026cb65247 ("arm64: dts: Add reboot node for exynos7")
Fixes: b9024cbc937d ("arm64: dts: Add initial device tree support for exynos7")
Signed-off-by: Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
Link: https://lore.kernel.org/r/20201107133926.37187-1-pawel.mikolaj.chmiel@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm64/boot/dts/exynos/exynos7.dtsi

index 48cd3a04fd079d7b6f06fe32f1b1b738c7b2c466..fa3ad6bcf5623b9027d1afaa3e10527d7ebf90b9 100644 (file)
                pmu_system_controller: system-controller@105c0000 {
                        compatible = "samsung,exynos7-pmu", "syscon";
                        reg = <0x105c0000 0x5000>;
-
-                       reboot: syscon-reboot {
-                               compatible = "syscon-reboot";
-                               regmap = <&pmu_system_controller>;
-                               offset = <0x0400>;
-                               mask = <0x1>;
-                       };
                };
 
                rtc: rtc@10590000 {
 };
 
 #include "exynos7-pinctrl.dtsi"
+#include "arm/exynos-syscon-restart.dtsi"