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