Kconfig 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  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_OMAP3
  124. bool "TI OMAP watchdog timer support"
  125. depends on WDT && ARCH_OMAP2PLUS
  126. default y if AM33XX
  127. help
  128. This enables OMAP3+ watchdog timer driver, which can be
  129. found on some TI chipsets and inline with driver model.
  130. config WDT_ORION
  131. bool "Orion watchdog timer support"
  132. depends on WDT
  133. select CLK
  134. help
  135. Select this to enable Orion watchdog timer, which can be found on some
  136. Marvell Armada chips.
  137. config WDT_SANDBOX
  138. bool "Enable Watchdog Timer support for Sandbox"
  139. depends on SANDBOX && WDT
  140. help
  141. Enable Watchdog Timer support in Sandbox. This is a dummy device that
  142. can be probed and supports all of the methods of WDT, but does not
  143. really do anything.
  144. config WDT_SBSA
  145. bool "SBSA watchdog timer support"
  146. depends on WDT
  147. help
  148. Select this to enable SBSA watchdog timer.
  149. This driver can operate ARM SBSA Generic Watchdog as a single stage.
  150. In the single stage mode, when the timeout is reached, your system
  151. will be reset by WS1. The first signal (WS0) is ignored.
  152. config WDT_SP805
  153. bool "SP805 watchdog timer support"
  154. depends on WDT
  155. help
  156. Select this to enable SP805 watchdog timer, which can be found on some
  157. nxp layerscape chips.
  158. config WDT_STM32MP
  159. bool "IWDG watchdog driver for STM32 MP's family"
  160. depends on WDT
  161. imply WATCHDOG
  162. help
  163. Enable the STM32 watchdog (IWDG) driver. Enable support to
  164. configure STM32's on-SoC watchdog.
  165. config XILINX_TB_WATCHDOG
  166. bool "Xilinx Axi watchdog timer support"
  167. depends on WDT
  168. imply WATCHDOG
  169. help
  170. Select this to enable Xilinx Axi watchdog timer, which can be found on some
  171. Xilinx Microblaze Platforms.
  172. config WDT_XILINX
  173. bool "Xilinx window watchdog timer support"
  174. depends on WDT && ARCH_VERSAL
  175. select REGMAP
  176. imply WATCHDOG
  177. help
  178. Select this to enable Xilinx window watchdog timer, which can be found on
  179. Xilinx Versal Platforms.
  180. config WDT_TANGIER
  181. bool "Intel Tangier watchdog timer support"
  182. depends on WDT && INTEL_MID
  183. help
  184. This enables support for watchdog controller available on
  185. Intel Tangier SoC. If you're using a board with Intel Tangier
  186. SoC, say Y here.
  187. config SPL_WDT
  188. bool "Enable driver model for watchdog timer drivers in SPL"
  189. depends on SPL_DM
  190. help
  191. Enable driver model for watchdog timer in SPL.
  192. This is similar to CONFIG_WDT in U-Boot.
  193. endmenu