blob: 43a948cfcde12bb9d99416f6aa4910c37ac319e3 [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
Masahiro Yamada573a3812017-04-14 11:10:24 +090034if SYSRESET
35
Bin Meng5f1a08b2021-02-25 17:22:52 +080036config SYSRESET_CMD_RESET
37 bool "sysreset implementation of the reset command"
38 default y
39 help
40 Enable sysreset implementation of the reset command.
41
Urja Rannikkob8050512019-05-16 21:48:42 +000042if CMD_POWEROFF
43
44config SYSRESET_CMD_POWEROFF
45 bool "sysreset implementation of the poweroff command"
46 help
47 This should be selected by the appropriate PMIC driver if
48 the poweroff command is enabled.
49
50endif
51
Sebastian Reichel8ccc6bf2020-09-02 19:31:42 +020052config POWEROFF_GPIO
53 bool "Enable support for GPIO poweroff driver"
54 select DM_GPIO
55 help
56 Support for system poweroff using a GPIO pin. This can be used
57 for systems having a single GPIO to trigger a system poweroff.
58
Michal Simek0d832b32018-07-13 11:04:56 +020059config SYSRESET_GPIO
60 bool "Enable support for GPIO reset driver"
Chris Packham26680b92019-04-13 20:35:23 +120061 select DM_GPIO
Michal Simek0d832b32018-07-13 11:04:56 +020062 help
63 Reset support via GPIO pin connected reset logic. This is used for
64 example on Microblaze where reset logic can be controlled via GPIO
65 pin which triggers cpu reset.
66
Michal Simekcae39ae2018-07-13 17:00:13 +020067config SYSRESET_MICROBLAZE
68 bool "Enable support for Microblaze soft reset"
69 depends on MICROBLAZE
70 help
71 This is soft reset on Microblaze which does jump to 0x0 address.
72
Stefan Roese59aea372020-06-30 12:08:55 +020073config SYSRESET_OCTEON
74 bool "Enable support for Marvell Octeon SoC family"
75 depends on ARCH_OCTEON
76 help
77 This enables the system reset driver support for Marvell Octeon
78 SoCs.
79
Masahiro Yamada573a3812017-04-14 11:10:24 +090080config SYSRESET_PSCI
81 bool "Enable support for PSCI System Reset"
82 depends on ARM_PSCI_FW
Simon Goldschmidta8b50312019-07-16 21:29:32 +020083 select SPL_ARM_PSCI_FW if SPL
Masahiro Yamada573a3812017-04-14 11:10:24 +090084 help
85 Enable PSCI SYSTEM_RESET function call. To use this, PSCI firmware
86 must be running on your system.
87
Heinrich Schuchardt24ed5312021-09-12 21:11:46 +020088config SYSRESET_SBI
89 bool "Enable support for SBI System Reset"
90 depends on RISCV_SMODE && SBI_V02
91 select SYSRESET_CMD_POWEROFF if CMD_POWEROFF
92 help
93 Enable system reset and poweroff via the SBI system reset extension.
94 The extension was introduced in version 0.3 of the SBI specification.
95
96 If the SBI implementation provides the extension, is board specific.
97 The RISC-V platform specification mandates the extension for rich
98 operating system platforms.
99
Simon Goldschmidt1f166882019-07-15 21:47:53 +0200100config SYSRESET_SOCFPGA
101 bool "Enable support for Intel SOCFPGA family"
102 depends on ARCH_SOCFPGA && (TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10)
103 help
104 This enables the system reset driver support for Intel SOCFPGA SoCs
105 (Cyclone 5, Arria 5 and Arria 10).
106
Chee Hong Anga6510992020-08-05 20:11:25 +0800107config SYSRESET_SOCFPGA_SOC64
108 bool "Enable support for Intel SOCFPGA SoC64 family (Stratix10/Agilex)"
Siew Chin Lim9a5bbdf2021-03-01 20:04:10 +0800109 depends on ARCH_SOCFPGA && TARGET_SOCFPGA_SOC64
Simon Goldschmidt690c1292019-07-15 21:47:54 +0200110 help
111 This enables the system reset driver support for Intel SOCFPGA
Chee Hong Anga6510992020-08-05 20:11:25 +0800112 SoC64 SoCs.
Simon Goldschmidt690c1292019-07-15 21:47:54 +0200113
Andreas Dannenberg694b0522018-08-27 15:57:46 +0530114config SYSRESET_TI_SCI
115 bool "TI System Control Interface (TI SCI) system reset driver"
116 depends on TI_SCI_PROTOCOL
117 help
118 This enables the system reset driver support over TI System Control
119 Interface available on some new TI's SoCs.
120
Masahiro Yamada573a3812017-04-14 11:10:24 +0900121endif
Álvaro Fernández Rojase3889692017-04-25 00:39:14 +0200122
123config SYSRESET_SYSCON
124 bool "Enable support for mfd syscon reboot driver"
125 select REGMAP
126 select SYSCON
127 help
128 Reboot support for generic SYSCON mapped register reset.
129
Álvaro Fernández Rojas17a0c142017-05-16 18:29:13 +0200130config SYSRESET_WATCHDOG
131 bool "Enable support for watchdog reboot driver"
132 select WDT
133 help
134 Reboot support for generic watchdog reset.
135
Weijie Gaocaf70922020-04-21 09:28:29 +0200136config SYSRESET_RESETCTL
137 bool "Enable support for reset controller reboot driver"
138 select DM_RESET
139 help
140 Reboot support using generic reset controller.
141
Bin Mengfabb2b42018-07-03 02:48:40 -0700142config SYSRESET_X86
143 bool "Enable support for x86 processor reboot driver"
144 depends on X86
145 help
146 Reboot support for generic x86 processor reset.
147
Simon Glassff7abb82019-09-25 08:11:24 -0600148config SYSRESET_SPL_X86
149 bool "Enable support for x86 processor reboot driver in SPL"
150 depends on X86
151 help
152 Reboot support for generic x86 processor reset in SPL.
153
154config SYSRESET_TPL_X86
155 bool "Enable support for x86 processor reboot driver in TPL"
156 depends on X86
157 help
158 Reboot support for generic x86 processor reset in TPL.
159
Rasmus Villemoes875669d2019-12-13 15:47:58 +0000160config SYSRESET_MPC83XX
Mario Six76fdad12018-08-06 10:23:35 +0200161 bool "Enable support MPC83xx SoC family reboot driver"
162 help
163 Reboot support for NXP MPC83xx SoCs.
164
Max Filippovb25732c2016-08-07 08:53:00 +0300165endmenu