xref: /linux/scripts/dtc/include-prefixes/arm/samsung/exynos-syscon-restart.dtsi (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Samsung's Exynos SoC syscon reboot/poweroff nodes common definition.
4*724ba675SRob Herring */
5*724ba675SRob Herring
6*724ba675SRob Herring&pmu_system_controller {
7*724ba675SRob Herring	poweroff: syscon-poweroff {
8*724ba675SRob Herring		compatible = "syscon-poweroff";
9*724ba675SRob Herring		regmap = <&pmu_system_controller>;
10*724ba675SRob Herring		offset = <0x330c>; /* PS_HOLD_CONTROL */
11*724ba675SRob Herring		mask = <0x5200>; /* reset value */
12*724ba675SRob Herring	};
13*724ba675SRob Herring
14*724ba675SRob Herring	reboot: syscon-reboot {
15*724ba675SRob Herring		compatible = "syscon-reboot";
16*724ba675SRob Herring		regmap = <&pmu_system_controller>;
17*724ba675SRob Herring		offset = <0x0400>; /* SWRESET */
18*724ba675SRob Herring		mask = <0x1>;
19*724ba675SRob Herring	};
20*724ba675SRob Herring};
21