Kconfig 6.9 KB

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