mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 23:40:25 +07:00
a03e9dacb9
The PMU node is the actual block responsible for power management, including typical Exynos on/off/restart procedures. Therefore the syscon poweroff and restart nodes logically belong to it. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
21 lines
478 B
Plaintext
21 lines
478 B
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Samsung's Exynos SoC syscon reboot/poweroff nodes common definition.
|
|
*/
|
|
|
|
&pmu_system_controller {
|
|
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>;
|
|
};
|
|
};
|