blob: a0acffa4b0743553a45652b862c9c5e41b987fbf [file] [log] [blame]
Max Filippovb25732c2016-08-07 08:53:00 +03001#
2# System reset devices
3#
4
5menu "System reset device drivers"
6
7config SYSRESET
8 bool "Enable support for system reset drivers"
9 depends on DM
10 help
11 Enable system reset drivers which can be used to reset the CPU or
12 board. Each driver can provide a reset method which will be called
13 to effect a reset. The uclass will try all available drivers when
14 reset_walk() is called.
15
Kever Yang09259fc2019-04-02 20:41:25 +080016config SPL_SYSRESET
17 bool "Enable support for system reset drivers in SPL mode"
18 depends on SYSRESET && SPL_DM
19 help
20 Enable system reset drivers which can be used to reset the CPU or
21 board. Each driver can provide a reset method which will be called
22 to effect a reset. The uclass will try all available drivers when
23 reset_walk() is called.
24
25config TPL_SYSRESET
26 bool "Enable support for system reset drivers in TPL mode"
27 depends on SYSRESET && TPL_DM
28 help
29 Enable system reset drivers which can be used to reset the CPU or
30 board. Each driver can provide a reset method which will be called
31 to effect a reset. The uclass will try all available drivers when
32 reset_walk() is called.
33
Simon Glass747093d2022-04-30 00:56:53 -060034config VPL_SYSRESET
35 bool "Enable support for system reset drivers in VPL mode"
36 depends on SYSRESET && VPL_DM
37 default y if TPL_SYSRESET
38 help
39 Enable system reset drivers which can be used to reset the CPU or
40 board. Each driver can provide a reset method which will be called
41 to effect a reset. The uclass will try all available drivers when
42 reset_walk() is called.
43
Masahiro Yamada573a3812017-04-14 11:10:24 +090044if SYSRESET
45
Bin Meng5f1a08b2021-02-25 17:22:52 +080046config SYSRESET_CMD_RESET
47 bool "sysreset implementation of the reset command"
48 default y
49 help
50 Enable sysreset implementation of the reset command.
51
Urja Rannikkob8050512019-05-16 21:48:42 +000052if CMD_POWEROFF
53
54config SYSRESET_CMD_POWEROFF
55 bool "sysreset implementation of the poweroff command"
56 help
57 This should be selected by the appropriate PMIC driver if
58 the poweroff command is enabled.
59
60endif
61
Sebastian Reichel8ccc6bf2020-09-02 19:31:42 +020062config POWEROFF_GPIO
63 bool "Enable support for GPIO poweroff driver"
64 select DM_GPIO
65 help
66 Support for system poweroff using a GPIO pin. This can be used
67 for systems having a single GPIO to trigger a system poweroff.
68
Michal Simek0d832b32018-07-13 11:04:56 +020069config SYSRESET_GPIO
70 bool "Enable support for GPIO reset driver"
Chris Packham26680b92019-04-13 20:35:23 +120071 select DM_GPIO
Michal Simek0d832b32018-07-13 11:04:56 +020072 help
73 Reset support via GPIO pin connected reset logic. This is used for
74 example on Microblaze where reset logic can be controlled via GPIO
75 pin which triggers cpu reset.
76
Michal Simekcae39ae2018-07-13 17:00:13 +020077config SYSRESET_MICROBLAZE
78 bool "Enable support for Microblaze soft reset"
79 depends on MICROBLAZE
80 help
81 This is soft reset on Microblaze which does jump to 0x0 address.
82
Stefan Roese59aea372020-06-30 12:08:55 +020083config SYSRESET_OCTEON
84 bool "Enable support for Marvell Octeon SoC family"
85 depends on ARCH_OCTEON
86 help
87 This enables the system reset driver support for Marvell Octeon
88 SoCs.
89
Sergiu Moga71d43932022-04-01 12:27:24 +030090config SYSRESET_AT91
91 bool "Enable support for Microchip/Atmel reset driver"
92 depends on ARCH_AT91
93 select SYSRESET_SPL_AT91 if SPL && SPL_SYSRESET
94 help
95 This enables the system reset driver support for Microchip/Atmel
96 SoCs.
97
98config SYSRESET_SPL_AT91
99 bool "Enable support for Microchip/Atmel reset driver in SPL"
100 depends on ARCH_AT91
101 help
102 This enables the system reset driver support for Microchip/Atmel
103 SoCs in SPL.
104
Masahiro Yamada573a3812017-04-14 11:10:24 +0900105config SYSRESET_PSCI
106 bool "Enable support for PSCI System Reset"
107 depends on ARM_PSCI_FW
Simon Goldschmidta8b50312019-07-16 21:29:32 +0200108 select SPL_ARM_PSCI_FW if SPL
Masahiro Yamada573a3812017-04-14 11:10:24 +0900109 help
110 Enable PSCI SYSTEM_RESET function call. To use this, PSCI firmware
111 must be running on your system.
112
Heinrich Schuchardt24ed5312021-09-12 21:11:46 +0200113config SYSRESET_SBI
114 bool "Enable support for SBI System Reset"
115 depends on RISCV_SMODE && SBI_V02
116 select SYSRESET_CMD_POWEROFF if CMD_POWEROFF
117 help
118 Enable system reset and poweroff via the SBI system reset extension.
119 The extension was introduced in version 0.3 of the SBI specification.
120
121 If the SBI implementation provides the extension, is board specific.
122 The RISC-V platform specification mandates the extension for rich
123 operating system platforms.
124
Simon Goldschmidt1f166882019-07-15 21:47:53 +0200125config SYSRESET_SOCFPGA
126 bool "Enable support for Intel SOCFPGA family"
127 depends on ARCH_SOCFPGA && (TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10)
128 help
129 This enables the system reset driver support for Intel SOCFPGA SoCs
130 (Cyclone 5, Arria 5 and Arria 10).
131
Chee Hong Anga6510992020-08-05 20:11:25 +0800132config SYSRESET_SOCFPGA_SOC64
133 bool "Enable support for Intel SOCFPGA SoC64 family (Stratix10/Agilex)"
Siew Chin Lim9a5bbdf2021-03-01 20:04:10 +0800134 depends on ARCH_SOCFPGA && TARGET_SOCFPGA_SOC64
Simon Goldschmidt690c1292019-07-15 21:47:54 +0200135 help
136 This enables the system reset driver support for Intel SOCFPGA
Chee Hong Anga6510992020-08-05 20:11:25 +0800137 SoC64 SoCs.
Simon Goldschmidt690c1292019-07-15 21:47:54 +0200138
Andreas Dannenberg694b0522018-08-27 15:57:46 +0530139config SYSRESET_TI_SCI
140 bool "TI System Control Interface (TI SCI) system reset driver"
141 depends on TI_SCI_PROTOCOL
142 help
143 This enables the system reset driver support over TI System Control
144 Interface available on some new TI's SoCs.
145
Álvaro Fernández Rojase3889692017-04-25 00:39:14 +0200146config SYSRESET_SYSCON
147 bool "Enable support for mfd syscon reboot driver"
148 select REGMAP
149 select SYSCON
150 help
151 Reboot support for generic SYSCON mapped register reset.
152
Álvaro Fernández Rojas17a0c142017-05-16 18:29:13 +0200153config SYSRESET_WATCHDOG
154 bool "Enable support for watchdog reboot driver"
155 select WDT
156 help
157 Reboot support for generic watchdog reset.
158
Samuel Hollanda8f63d12021-11-03 22:55:14 -0500159config SYSRESET_WATCHDOG_AUTO
160 bool "Automatically register first watchdog with sysreset"
161 depends on SYSRESET_WATCHDOG
162 help
163 If enabled, the first watchdog (as selected by the watchdog uclass)
164 will automatically be registered with the watchdog reboot driver.
165
Weijie Gaocaf70922020-04-21 09:28:29 +0200166config SYSRESET_RESETCTL
167 bool "Enable support for reset controller reboot driver"
168 select DM_RESET
169 help
170 Reboot support using generic reset controller.
171
Bin Mengfabb2b42018-07-03 02:48:40 -0700172config SYSRESET_X86
173 bool "Enable support for x86 processor reboot driver"
174 depends on X86
175 help
176 Reboot support for generic x86 processor reset.
177
Simon Glassff7abb82019-09-25 08:11:24 -0600178config SYSRESET_SPL_X86
179 bool "Enable support for x86 processor reboot driver in SPL"
180 depends on X86
181 help
182 Reboot support for generic x86 processor reset in SPL.
183
184config SYSRESET_TPL_X86
185 bool "Enable support for x86 processor reboot driver in TPL"
186 depends on X86
187 help
188 Reboot support for generic x86 processor reset in TPL.
189
Rasmus Villemoes875669d2019-12-13 15:47:58 +0000190config SYSRESET_MPC83XX
Mario Six76fdad12018-08-06 10:23:35 +0200191 bool "Enable support MPC83xx SoC family reboot driver"
192 help
193 Reboot support for NXP MPC83xx SoCs.
194
Samuel Holland6b842172021-11-03 22:55:11 -0500195endif
196
Max Filippovb25732c2016-08-07 08:53:00 +0300197endmenu