summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/exynos-syscon-restart.dtsi
blob: 4b3dd0549a540989c8ee1facd77841f301e76817 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// SPDX-License-Identifier: GPL-2.0
/*
 * Samsung's Exynos SoC syscon reboot/poweroff nodes common definition.
 */

/ {
	soc {
		compatible = "simple-bus";

		poweroff: syscon-poweroff {
			compatible = "syscon-poweroff";
			regmap = <&pmu_system_controller>;
			offset = <0x330C>; /* PS_HOLD_CONTROL */
			mask = <0x5200>; /* reset value */
		};

		reboot: syscon-reboot {
			compatible = "syscon-reboot";
			regmap = <&pmu_system_controller>;
			offset = <0x0400>; /* SWRESET */
			mask = <0x1>;
		};
	};
};