Krzysztof Kozlowski | 0cfec8e | 2018-02-04 17:46:45 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Javier Martinez Canillas | 1462b13 | 2016-02-16 12:25:48 -0300 | [diff] [blame] | 2 | /* |
| 3 | * Samsung's Exynos SoC syscon reboot/poweroff nodes common definition. |
Javier Martinez Canillas | 1462b13 | 2016-02-16 12:25:48 -0300 | [diff] [blame] | 4 | */ |
| 5 | |
Krzysztof Kozlowski | a03e9da | 2018-04-16 20:11:25 +0200 | [diff] [blame] | 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 | }; |
Javier Martinez Canillas | 1462b13 | 2016-02-16 12:25:48 -0300 | [diff] [blame] | 13 | |
Krzysztof Kozlowski | a03e9da | 2018-04-16 20:11:25 +0200 | [diff] [blame] | 14 | reboot: syscon-reboot { |
| 15 | compatible = "syscon-reboot"; |
| 16 | regmap = <&pmu_system_controller>; |
| 17 | offset = <0x0400>; /* SWRESET */ |
| 18 | mask = <0x1>; |
Javier Martinez Canillas | 1462b13 | 2016-02-16 12:25:48 -0300 | [diff] [blame] | 19 | }; |
| 20 | }; |