Commit | Line | Data |
---|---|---|
1462b137 JMC |
1 | /* |
2 | * Samsung's Exynos SoC syscon reboot/poweroff nodes common definition. | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or modify | |
5 | * it under the terms of the GNU General Public License version 2 as | |
6 | * published by the Free Software Foundation. | |
7 | */ | |
8 | ||
9 | / { | |
10 | soc { | |
11 | compatible = "simple-bus"; | |
12 | ||
13 | poweroff: syscon-poweroff { | |
14 | compatible = "syscon-poweroff"; | |
15 | regmap = <&pmu_system_controller>; | |
16 | offset = <0x330C>; /* PS_HOLD_CONTROL */ | |
17 | mask = <0x5200>; /* reset value */ | |
18 | }; | |
19 | ||
20 | reboot: syscon-reboot { | |
21 | compatible = "syscon-reboot"; | |
22 | regmap = <&pmu_system_controller>; | |
23 | offset = <0x0400>; /* SWRESET */ | |
24 | mask = <0x1>; | |
25 | }; | |
26 | }; | |
27 | }; |