| 1 |
// SPDX-License-Identifier: GPL-2.0 |
| 2 |
/* |
| 3 |
* Samsung's Exynos SoC syscon reboot/poweroff nodes common definition. |
| 4 |
*/ |
| 5 |
|
| 6 |
&pmu_system_controller { |
| 7 |
poweroff: syscon-poweroff { |
| 8 |
compatible = "syscon-poweroff"; |
| 9 |
regmap = <&pmu_system_controller>; |
| 10 |
offset = <0x330c>; /* PS_HOLD_CONTROL */ |
| 11 |
mask = <0x5200>; /* reset value */ |
| 12 |
}; |
| 13 |
|
| 14 |
reboot: syscon-reboot { |
| 15 |
compatible = "syscon-reboot"; |
| 16 |
regmap = <&pmu_system_controller>; |
| 17 |
offset = <0x0400>; /* SWRESET */ |
| 18 |
mask = <0x1>; |
| 19 |
}; |
| 20 |
}; |