Kconfig 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. menu "Watchdog Timer Support"
  2. config WATCHDOG
  3. bool "Enable U-Boot watchdog reset"
  4. depends on !HW_WATCHDOG
  5. help
  6. This option enables U-Boot watchdog support where U-Boot is using
  7. watchdog_reset function to service watchdog device in U-Boot. Enable
  8. this option if you want to service enabled watchdog by U-Boot. Disable
  9. this option if you want U-Boot to start watchdog but never service it.
  10. config WATCHDOG_AUTOSTART
  11. bool "Automatically start watchdog timer"
  12. depends on WDT
  13. default y
  14. help
  15. Automatically start watchdog timer and start servicing it during
  16. init phase. Enabled by default. Disable this option if you want
  17. to compile U-Boot with CONFIG_WDT support but do not want to
  18. activate watchdog, like when CONFIG_WDT option is disabled. You
  19. would be able to start watchdog manually by 'wdt' command. Useful
  20. when you want to have support for 'wdt' command but do not want
  21. to have watchdog enabled by default.
  22. config WATCHDOG_TIMEOUT_MSECS
  23. int "Watchdog timeout in msec"
  24. default 128000 if ARCH_MX25 || ARCH_MX31 || ARCH_MX5 || ARCH_MX6
  25. default 128000 if ARCH_MX7 || ARCH_VF610
  26. default 30000 if ARCH_SOCFPGA
  27. default 60000
  28. help
  29. Watchdog timeout in msec
  30. config HW_WATCHDOG
  31. bool
  32. config IMX_WATCHDOG
  33. bool "Enable Watchdog Timer support for IMX and LSCH2 of NXP"
  34. select HW_WATCHDOG if !WDT
  35. help
  36. Select this to enable the IMX and LSCH2 of Layerscape watchdog
  37. driver.
  38. config WATCHDOG_RESET_DISABLE
  39. bool "Disable reset watchdog"
  40. depends on IMX_WATCHDOG
  41. help
  42. Disable reset watchdog, which can let WATCHDOG_RESET invalid, so
  43. that the watchdog will not be fed in u-boot.
  44. config OMAP_WATCHDOG
  45. bool "TI OMAP watchdog driver"
  46. depends on ARCH_OMAP2PLUS
  47. select HW_WATCHDOG
  48. help
  49. Say Y here to enable the OMAP3+ watchdog driver.
  50. config ULP_WATCHDOG
  51. bool "i.MX7ULP watchdog"
  52. help
  53. Say Y here to enable i.MX7ULP watchdog driver.
  54. config DESIGNWARE_WATCHDOG
  55. bool "Designware watchdog timer support"
  56. select HW_WATCHDOG if !WDT
  57. default y if WDT && ROCKCHIP_RK3399
  58. help
  59. Enable this to support Designware Watchdog Timer IP, present e.g.
  60. on Altera SoCFPGA SoCs.
  61. config WDT
  62. bool "Enable driver model for watchdog timer drivers"
  63. depends on DM
  64. imply WATCHDOG
  65. help
  66. Enable driver model for watchdog timer. At the moment the API
  67. is very simple and only supports four operations:
  68. start, stop, reset and expire_now (expire immediately).
  69. What exactly happens when the timer expires is up to a particular
  70. device/driver.
  71. config WDT_ARMADA_37XX
  72. bool "Marvell Armada 37xx watchdog timer support"
  73. depends on WDT && ARMADA_3700
  74. help
  75. Enable this to support Watchdog Timer on Marvell Armada 37xx SoC.
  76. There are 4 possible clocks which can be used on these SoCs. This
  77. driver uses the second clock (ID 1), assuming that so will also
  78. Linux's driver.
  79. config WDT_ASPEED
  80. bool "Aspeed ast2400/ast2500 watchdog timer support"
  81. depends on WDT
  82. default y if ARCH_ASPEED
  83. help
  84. Select this to enable watchdog timer for Aspeed ast2500/ast2400 devices.
  85. The watchdog timer is stopped when initialized. It performs reset, either
  86. full SoC reset or CPU or just some peripherals, based on the flags.
  87. It currently does not support Boot Flash Addressing Mode Detection or
  88. Second Boot.
  89. config WDT_AST2600
  90. bool "Aspeed AST2600 watchdog timer support"
  91. depends on WDT
  92. default y if ASPEED_AST2600
  93. help
  94. Select this to enable watchdog timer for Aspeed ast2500/ast2400 devices.
  95. The watchdog timer is stopped when initialized. It performs reset, either
  96. full SoC reset or CPU or just some peripherals, based on the flags.
  97. config WDT_AT91
  98. bool "AT91 watchdog timer support"
  99. depends on WDT
  100. help
  101. Select this to enable Microchip watchdog timer, which can be found on
  102. some AT91 devices.
  103. config WDT_BCM6345
  104. bool "BCM6345 watchdog timer support"
  105. depends on WDT && (ARCH_BMIPS || ARCH_BCM68360 || \
  106. ARCH_BCM6858 || ARCH_BCM63158)
  107. help
  108. Select this to enable watchdog timer for BCM6345 SoCs.
  109. The watchdog timer is stopped when initialized.
  110. It performs full SoC reset.
  111. config WDT_BOOKE
  112. bool "PowerPC Book-E watchdog driver"
  113. depends on WDT && MPC85xx
  114. help
  115. Watchdog driver for PowerPC Book-E chips, such as the Freescale
  116. MPC85xx SOCs and the IBM PowerPC 440.
  117. config WDT_CDNS
  118. bool "Cadence watchdog timer support"
  119. depends on WDT
  120. imply WATCHDOG
  121. help
  122. Select this to enable Cadence watchdog timer, which can be found on some
  123. Xilinx Microzed Platform.
  124. config WDT_CORTINA
  125. bool "Cortina Access CAxxxx watchdog timer support"
  126. depends on WDT
  127. help
  128. Cortina Access CAxxxx watchdog timer support.
  129. This driver support all CPU ISAs supported by Cortina
  130. Access CAxxxx SoCs.
  131. config WDT_MPC8xx
  132. bool "MPC8xx watchdog timer support"
  133. depends on WDT && MPC8xx
  134. select HW_WATCHDOG
  135. help
  136. Select this to enable mpc8xx watchdog timer
  137. config WDT_MT7620
  138. bool "MediaTek MT7620 watchdog timer support"
  139. depends on WDT && SOC_MT7620
  140. help
  141. Select this to enable watchdog timer on MediaTek MT7620 and earlier
  142. SoC chips.
  143. config WDT_MT7621
  144. bool "MediaTek MT7621 watchdog timer support"
  145. depends on WDT && SOC_MT7628
  146. help
  147. Select this to enable Ralink / Mediatek watchdog timer,
  148. which can be found on some MediaTek chips.
  149. config WDT_MTK
  150. bool "MediaTek watchdog timer support"
  151. depends on WDT && ARCH_MEDIATEK
  152. help
  153. Select this to enable watchdog timer for MediaTek SoCs.
  154. The watchdog timer is stopped when initialized.
  155. It performs full SoC reset.
  156. config WDT_OCTEONTX
  157. bool "OcteonTX core watchdog support"
  158. depends on WDT && (ARCH_OCTEONTX || ARCH_OCTEONTX2)
  159. default y
  160. imply WATCHDOG
  161. help
  162. This enables OcteonTX watchdog driver, which can be
  163. found on OcteonTX/TX2 chipsets and inline with driver model.
  164. Only supports watchdog reset.
  165. config WDT_OMAP3
  166. bool "TI OMAP watchdog timer support"
  167. depends on WDT && ARCH_OMAP2PLUS
  168. default y if AM33XX
  169. help
  170. This enables OMAP3+ watchdog timer driver, which can be
  171. found on some TI chipsets and inline with driver model.
  172. config WDT_ORION
  173. bool "Orion watchdog timer support"
  174. depends on WDT
  175. select CLK
  176. help
  177. Select this to enable Orion watchdog timer, which can be found on some
  178. Marvell Armada chips.
  179. config WDT_K3_RTI
  180. bool "Texas Instruments K3 RTI watchdog"
  181. depends on WDT && ARCH_K3
  182. help
  183. Say Y here if you want to include support for the K3 watchdog
  184. timer (RTI module) available in the K3 generation of processors.
  185. config WDT_SANDBOX
  186. bool "Enable Watchdog Timer support for Sandbox"
  187. depends on SANDBOX && WDT
  188. help
  189. Enable Watchdog Timer support in Sandbox. This is a dummy device that
  190. can be probed and supports all of the methods of WDT, but does not
  191. really do anything.
  192. config WDT_SBSA
  193. bool "SBSA watchdog timer support"
  194. depends on WDT
  195. help
  196. Select this to enable SBSA watchdog timer.
  197. This driver can operate ARM SBSA Generic Watchdog as a single stage.
  198. In the single stage mode, when the timeout is reached, your system
  199. will be reset by WS1. The first signal (WS0) is ignored.
  200. config WDT_SP805
  201. bool "SP805 watchdog timer support"
  202. depends on WDT
  203. help
  204. Select this to enable SP805 watchdog timer, which can be found on some
  205. nxp layerscape chips.
  206. config WDT_STM32MP
  207. bool "IWDG watchdog driver for STM32 MP's family"
  208. depends on WDT
  209. imply WATCHDOG
  210. help
  211. Enable the STM32 watchdog (IWDG) driver. Enable support to
  212. configure STM32's on-SoC watchdog.
  213. config XILINX_TB_WATCHDOG
  214. bool "Xilinx Axi watchdog timer support"
  215. depends on WDT
  216. imply WATCHDOG
  217. help
  218. Select this to enable Xilinx Axi watchdog timer, which can be found on some
  219. Xilinx Microblaze Platforms.
  220. config WDT_XILINX
  221. bool "Xilinx window watchdog timer support"
  222. depends on WDT && ARCH_VERSAL
  223. select REGMAP
  224. imply WATCHDOG
  225. help
  226. Select this to enable Xilinx window watchdog timer, which can be found on
  227. Xilinx Versal Platforms.
  228. config WDT_TANGIER
  229. bool "Intel Tangier watchdog timer support"
  230. depends on WDT && INTEL_MID
  231. help
  232. This enables support for watchdog controller available on
  233. Intel Tangier SoC. If you're using a board with Intel Tangier
  234. SoC, say Y here.
  235. config SPL_WDT
  236. bool "Enable driver model for watchdog timer drivers in SPL"
  237. depends on SPL_DM
  238. help
  239. Enable driver model for watchdog timer in SPL.
  240. This is similar to CONFIG_WDT in U-Boot.
  241. endmenu