Max Filippov | 8857405 | 2016-08-07 08:53:00 +0300 | [diff] [blame] | 1 | # |
| 2 | # System reset devices |
| 3 | # |
| 4 | |
| 5 | menu "System reset device drivers" |
| 6 | |
| 7 | config 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 Yang | 525ea47 | 2019-04-02 20:41:25 +0800 | [diff] [blame] | 16 | config 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 | |
| 25 | config 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 Yamada | 836c55d | 2017-04-14 11:10:24 +0900 | [diff] [blame] | 34 | if SYSRESET |
| 35 | |
Urja Rannikko | e008ebf | 2019-05-16 21:48:42 +0000 | [diff] [blame] | 36 | if CMD_POWEROFF |
| 37 | |
| 38 | config SYSRESET_CMD_POWEROFF |
| 39 | bool "sysreset implementation of the poweroff command" |
| 40 | help |
| 41 | This should be selected by the appropriate PMIC driver if |
| 42 | the poweroff command is enabled. |
| 43 | |
| 44 | endif |
| 45 | |
Sebastian Reichel | 6b30ac3 | 2020-09-02 19:31:42 +0200 | [diff] [blame] | 46 | config POWEROFF_GPIO |
| 47 | bool "Enable support for GPIO poweroff driver" |
| 48 | select DM_GPIO |
| 49 | help |
| 50 | Support for system poweroff using a GPIO pin. This can be used |
| 51 | for systems having a single GPIO to trigger a system poweroff. |
| 52 | |
Michal Simek | 8a196af | 2018-07-13 11:04:56 +0200 | [diff] [blame] | 53 | config SYSRESET_GPIO |
| 54 | bool "Enable support for GPIO reset driver" |
Chris Packham | a373e51 | 2019-04-13 20:35:23 +1200 | [diff] [blame] | 55 | select DM_GPIO |
Michal Simek | 8a196af | 2018-07-13 11:04:56 +0200 | [diff] [blame] | 56 | help |
| 57 | Reset support via GPIO pin connected reset logic. This is used for |
| 58 | example on Microblaze where reset logic can be controlled via GPIO |
| 59 | pin which triggers cpu reset. |
| 60 | |
Michal Simek | d1c6d42 | 2018-07-13 17:00:13 +0200 | [diff] [blame] | 61 | config SYSRESET_MICROBLAZE |
| 62 | bool "Enable support for Microblaze soft reset" |
| 63 | depends on MICROBLAZE |
| 64 | help |
| 65 | This is soft reset on Microblaze which does jump to 0x0 address. |
| 66 | |
Stefan Roese | 4df2d0d | 2020-06-30 12:08:55 +0200 | [diff] [blame] | 67 | config SYSRESET_OCTEON |
| 68 | bool "Enable support for Marvell Octeon SoC family" |
| 69 | depends on ARCH_OCTEON |
| 70 | help |
| 71 | This enables the system reset driver support for Marvell Octeon |
| 72 | SoCs. |
| 73 | |
Masahiro Yamada | 836c55d | 2017-04-14 11:10:24 +0900 | [diff] [blame] | 74 | config SYSRESET_PSCI |
| 75 | bool "Enable support for PSCI System Reset" |
| 76 | depends on ARM_PSCI_FW |
Simon Goldschmidt | e5f741a | 2019-07-16 21:29:32 +0200 | [diff] [blame] | 77 | select SPL_ARM_PSCI_FW if SPL |
Masahiro Yamada | 836c55d | 2017-04-14 11:10:24 +0900 | [diff] [blame] | 78 | help |
| 79 | Enable PSCI SYSTEM_RESET function call. To use this, PSCI firmware |
| 80 | must be running on your system. |
| 81 | |
Simon Goldschmidt | be36639 | 2019-07-15 21:47:53 +0200 | [diff] [blame] | 82 | config SYSRESET_SOCFPGA |
| 83 | bool "Enable support for Intel SOCFPGA family" |
| 84 | depends on ARCH_SOCFPGA && (TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10) |
| 85 | help |
| 86 | This enables the system reset driver support for Intel SOCFPGA SoCs |
| 87 | (Cyclone 5, Arria 5 and Arria 10). |
| 88 | |
Chee Hong Ang | 673e98e | 2020-08-05 20:11:25 +0800 | [diff] [blame] | 89 | config SYSRESET_SOCFPGA_SOC64 |
| 90 | bool "Enable support for Intel SOCFPGA SoC64 family (Stratix10/Agilex)" |
Chee Hong Ang | 3f78b53 | 2020-08-05 20:11:26 +0800 | [diff] [blame] | 91 | depends on ARCH_SOCFPGA && (TARGET_SOCFPGA_STRATIX10 || TARGET_SOCFPGA_AGILEX) |
Simon Goldschmidt | ebfb9fb | 2019-07-15 21:47:54 +0200 | [diff] [blame] | 92 | help |
| 93 | This enables the system reset driver support for Intel SOCFPGA |
Chee Hong Ang | 673e98e | 2020-08-05 20:11:25 +0800 | [diff] [blame] | 94 | SoC64 SoCs. |
Simon Goldschmidt | ebfb9fb | 2019-07-15 21:47:54 +0200 | [diff] [blame] | 95 | |
Andreas Dannenberg | ebc6879 | 2018-08-27 15:57:46 +0530 | [diff] [blame] | 96 | config SYSRESET_TI_SCI |
| 97 | bool "TI System Control Interface (TI SCI) system reset driver" |
| 98 | depends on TI_SCI_PROTOCOL |
| 99 | help |
| 100 | This enables the system reset driver support over TI System Control |
| 101 | Interface available on some new TI's SoCs. |
| 102 | |
Masahiro Yamada | 836c55d | 2017-04-14 11:10:24 +0900 | [diff] [blame] | 103 | endif |
Álvaro Fernández Rojas | aa19aaf | 2017-04-25 00:39:14 +0200 | [diff] [blame] | 104 | |
| 105 | config SYSRESET_SYSCON |
| 106 | bool "Enable support for mfd syscon reboot driver" |
| 107 | select REGMAP |
| 108 | select SYSCON |
| 109 | help |
| 110 | Reboot support for generic SYSCON mapped register reset. |
| 111 | |
Álvaro Fernández Rojas | 0da081e | 2017-05-16 18:29:13 +0200 | [diff] [blame] | 112 | config SYSRESET_WATCHDOG |
| 113 | bool "Enable support for watchdog reboot driver" |
| 114 | select WDT |
| 115 | help |
| 116 | Reboot support for generic watchdog reset. |
| 117 | |
developer | 1aa3089 | 2020-04-21 09:28:29 +0200 | [diff] [blame] | 118 | config SYSRESET_RESETCTL |
| 119 | bool "Enable support for reset controller reboot driver" |
| 120 | select DM_RESET |
| 121 | help |
| 122 | Reboot support using generic reset controller. |
| 123 | |
Bin Meng | d18cdd4 | 2018-07-03 02:48:40 -0700 | [diff] [blame] | 124 | config SYSRESET_X86 |
| 125 | bool "Enable support for x86 processor reboot driver" |
| 126 | depends on X86 |
| 127 | help |
| 128 | Reboot support for generic x86 processor reset. |
| 129 | |
Simon Glass | d22c135 | 2019-09-25 08:11:24 -0600 | [diff] [blame] | 130 | config SYSRESET_SPL_X86 |
| 131 | bool "Enable support for x86 processor reboot driver in SPL" |
| 132 | depends on X86 |
| 133 | help |
| 134 | Reboot support for generic x86 processor reset in SPL. |
| 135 | |
| 136 | config SYSRESET_TPL_X86 |
| 137 | bool "Enable support for x86 processor reboot driver in TPL" |
| 138 | depends on X86 |
| 139 | help |
| 140 | Reboot support for generic x86 processor reset in TPL. |
| 141 | |
Rasmus Villemoes | b007e2e | 2019-12-13 15:47:58 +0000 | [diff] [blame] | 142 | config SYSRESET_MPC83XX |
Mario Six | 82ef4ba | 2018-08-06 10:23:35 +0200 | [diff] [blame] | 143 | bool "Enable support MPC83xx SoC family reboot driver" |
| 144 | help |
| 145 | Reboot support for NXP MPC83xx SoCs. |
| 146 | |
Max Filippov | 8857405 | 2016-08-07 08:53:00 +0300 | [diff] [blame] | 147 | endmenu |