Kconfig 6.9 KB

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