2018-02-04 23:46:45 +07:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2016-02-16 22:25:48 +07:00
|
|
|
/*
|
|
|
|
* Samsung's Exynos SoC syscon reboot/poweroff nodes common definition.
|
|
|
|
*/
|
|
|
|
|
2018-04-17 01:11:25 +07:00
|
|
|
&pmu_system_controller {
|
|
|
|
poweroff: syscon-poweroff {
|
|
|
|
compatible = "syscon-poweroff";
|
|
|
|
regmap = <&pmu_system_controller>;
|
|
|
|
offset = <0x330C>; /* PS_HOLD_CONTROL */
|
|
|
|
mask = <0x5200>; /* reset value */
|
|
|
|
};
|
2016-02-16 22:25:48 +07:00
|
|
|
|
2018-04-17 01:11:25 +07:00
|
|
|
reboot: syscon-reboot {
|
|
|
|
compatible = "syscon-reboot";
|
|
|
|
regmap = <&pmu_system_controller>;
|
|
|
|
offset = <0x0400>; /* SWRESET */
|
|
|
|
mask = <0x1>;
|
2016-02-16 22:25:48 +07:00
|
|
|
};
|
|
|
|
};
|