xref: /openbmc/u-boot/drivers/watchdog/Kconfig (revision 053fce84)
10753bc2dSmaxims@google.commenu "Watchdog Timer Support"
2253531bbSYe Li
342537ca4SShreenidhi Shediconfig WATCHDOG
442537ca4SShreenidhi Shedi	bool "Enable U-Boot watchdog reset"
542537ca4SShreenidhi Shedi	help
642537ca4SShreenidhi Shedi	  This option enables U-Boot watchdog support where U-Boot is using
742537ca4SShreenidhi Shedi	  watchdog_reset function to service watchdog device in U-Boot. Enable
842537ca4SShreenidhi Shedi	  this option if you want to service enabled watchdog by U-Boot. Disable
942537ca4SShreenidhi Shedi	  this option if you want U-Boot to start watchdog but never service it.
1042537ca4SShreenidhi Shedi
1145a6d231SPaolo Pisaticonfig HW_WATCHDOG
1245a6d231SPaolo Pisati	bool
1345a6d231SPaolo Pisati
1445a6d231SPaolo Pisaticonfig BCM2835_WDT
1545a6d231SPaolo Pisati	bool "Enable BCM2835/2836 watchdog driver"
1645a6d231SPaolo Pisati	select HW_WATCHDOG
1745a6d231SPaolo Pisati	help
1845a6d231SPaolo Pisati	  Say Y here to enable the BCM2835/2836 watchdog
1945a6d231SPaolo Pisati
2045a6d231SPaolo Pisati	  This provides basic infrastructure to support BCM2835/2836 watchdog
2145a6d231SPaolo Pisati	  hardware, with a max timeout of ~15secs.
2245a6d231SPaolo Pisati
23897f7062STom Riniconfig OMAP_WATCHDOG
24897f7062STom Rini	bool "TI OMAP watchdog driver"
25897f7062STom Rini	depends on ARCH_OMAP2PLUS
26897f7062STom Rini	select HW_WATCHDOG
27897f7062STom Rini	default y if AM33XX
28897f7062STom Rini	help
29897f7062STom Rini	  Say Y here to enable the OMAP3+ watchdog driver.
30897f7062STom Rini
318f8a12d1SFelipe Balbiconfig TANGIER_WATCHDOG
328f8a12d1SFelipe Balbi	bool "Intel Tangier watchdog"
338f8a12d1SFelipe Balbi	depends on INTEL_MID
348f8a12d1SFelipe Balbi	select HW_WATCHDOG
358f8a12d1SFelipe Balbi	help
368f8a12d1SFelipe Balbi	  This enables support for watchdog controller available on
378f8a12d1SFelipe Balbi	  Intel Tangier SoC. If you're using a board with Intel Tangier
388f8a12d1SFelipe Balbi	  SoC, say Y here.
398f8a12d1SFelipe Balbi
40253531bbSYe Liconfig ULP_WATCHDOG
41253531bbSYe Li	bool "i.MX7ULP watchdog"
42253531bbSYe Li	help
43253531bbSYe Li	  Say Y here to enable i.MX7ULP watchdog driver.
44253531bbSYe Li
450753bc2dSmaxims@google.comconfig WDT
460753bc2dSmaxims@google.com	bool "Enable driver model for watchdog timer drivers"
470753bc2dSmaxims@google.com	depends on DM
480753bc2dSmaxims@google.com	help
490753bc2dSmaxims@google.com	  Enable driver model for watchdog timer. At the moment the API
500753bc2dSmaxims@google.com	  is very simple and only supports four operations:
510753bc2dSmaxims@google.com	  start, restart, stop and reset (expire immediately).
520753bc2dSmaxims@google.com	  What exactly happens when the timer expires is up to a particular
530753bc2dSmaxims@google.com	  device/driver.
540753bc2dSmaxims@google.com
550753bc2dSmaxims@google.comconfig WDT_SANDBOX
560753bc2dSmaxims@google.com	bool "Enable Watchdog Timer support for Sandbox"
570753bc2dSmaxims@google.com	depends on SANDBOX && WDT
580753bc2dSmaxims@google.com	help
590753bc2dSmaxims@google.com	  Enable Watchdog Timer support in Sandbox. This is a dummy device that
600753bc2dSmaxims@google.com	  can be probed and supports all of the methods of WDT, but does not
610753bc2dSmaxims@google.com	  really do anything.
620753bc2dSmaxims@google.com
632b69a673SMarek Behúnconfig WDT_ARMADA_37XX
642b69a673SMarek Behún	bool "Marvell Armada 37xx watchdog timer support"
652b69a673SMarek Behún	depends on WDT && ARMADA_3700
662b69a673SMarek Behún	help
672b69a673SMarek Behún	   Enable this to support Watchdog Timer on Marvell Armada 37xx SoC.
682b69a673SMarek Behún	   There are 4 possible clocks which can be used on these SoCs. This
692b69a673SMarek Behún	   driver uses the second clock (ID 1), assuming that so will also
702b69a673SMarek Behún	   Linux's driver.
712b69a673SMarek Behún
721eb0a464Smaxims@google.comconfig WDT_ASPEED
731eb0a464Smaxims@google.com	bool "Aspeed ast2400/ast2500 watchdog timer support"
741eb0a464Smaxims@google.com	depends on WDT
751eb0a464Smaxims@google.com	default y if ARCH_ASPEED
761eb0a464Smaxims@google.com	help
771eb0a464Smaxims@google.com	  Select this to enable watchdog timer for Aspeed ast2500/ast2400 devices.
781eb0a464Smaxims@google.com	  The watchdog timer is stopped when initialized. It performs reset, either
791eb0a464Smaxims@google.com	  full SoC reset or CPU or just some peripherals, based on the flags.
801eb0a464Smaxims@google.com	  It currently does not support Boot Flash Addressing Mode Detection or
811eb0a464Smaxims@google.com	  Second Boot.
821eb0a464Smaxims@google.com
8377331934SÁlvaro Fernández Rojasconfig WDT_BCM6345
8477331934SÁlvaro Fernández Rojas	bool "BCM6345 watchdog timer support"
8577331934SÁlvaro Fernández Rojas	depends on WDT && ARCH_BMIPS
8677331934SÁlvaro Fernández Rojas	help
8777331934SÁlvaro Fernández Rojas	  Select this to enable watchdog timer for BCM6345 SoCs.
8877331934SÁlvaro Fernández Rojas	  The watchdog timer is stopped when initialized.
8977331934SÁlvaro Fernández Rojas	  It performs full SoC reset.
9077331934SÁlvaro Fernández Rojas
912ab7704aSMarek Behúnconfig WDT_ORION
922ab7704aSMarek Behún	bool "Orion watchdog timer support"
932ab7704aSMarek Behún	depends on WDT
942ab7704aSMarek Behún	help
952ab7704aSMarek Behún	   Select this to enable Orion watchdog timer, which can be found on some
962ab7704aSMarek Behún	   Marvell Armada chips.
972ab7704aSMarek Behún
9842537ca4SShreenidhi Shediconfig WDT_CDNS
9942537ca4SShreenidhi Shedi	bool "Cadence watchdog timer support"
10042537ca4SShreenidhi Shedi	depends on WDT
10142537ca4SShreenidhi Shedi	imply WATCHDOG
10242537ca4SShreenidhi Shedi	help
10342537ca4SShreenidhi Shedi	   Select this to enable Cadence watchdog timer, which can be found on some
10442537ca4SShreenidhi Shedi	   Xilinx Microzed Platform.
10542537ca4SShreenidhi Shedi
106e0e9caaeSShreenidhi Shediconfig XILINX_TB_WATCHDOG
107e0e9caaeSShreenidhi Shedi	bool "Xilinx Axi watchdog timer support"
108e0e9caaeSShreenidhi Shedi	depends on WDT
109e0e9caaeSShreenidhi Shedi	imply WATCHDOG
110e0e9caaeSShreenidhi Shedi	help
111e0e9caaeSShreenidhi Shedi	   Select this to enable Xilinx Axi watchdog timer, which can be found on some
112e0e9caaeSShreenidhi Shedi	   Xilinx Microblaze Platforms.
113e0e9caaeSShreenidhi Shedi
114517066a7SXiaoliang Yangconfig IMX_WATCHDOG
115517066a7SXiaoliang Yang	bool "Enable Watchdog Timer support for IMX and LSCH2 of NXP"
116517066a7SXiaoliang Yang	select HW_WATCHDOG
117517066a7SXiaoliang Yang	help
118517066a7SXiaoliang Yang	   Select this to enable the IMX and LSCH2 of Layerscape watchdog
119517066a7SXiaoliang Yang	   driver.
120517066a7SXiaoliang Yang
1211473f6acSPrasanthi Chellakumarconfig WDT_AT91
1221473f6acSPrasanthi Chellakumar	bool "AT91 watchdog timer support"
1231473f6acSPrasanthi Chellakumar	depends on WDT
1241473f6acSPrasanthi Chellakumar	help
1251473f6acSPrasanthi Chellakumar	   Select this to enable Microchip watchdog timer, which can be found on
1261473f6acSPrasanthi Chellakumar	   some AT91 devices.
1271473f6acSPrasanthi Chellakumar
1281473f6acSPrasanthi Chellakumarconfig AT91_HW_WDT_TIMEOUT
1291473f6acSPrasanthi Chellakumar	bool "AT91 watchdog timeout specified"
1301473f6acSPrasanthi Chellakumar	depends on WDT_AT91
131*053fce84SStefan Roese
132*053fce84SStefan Roeseconfig WDT_MT7621
133*053fce84SStefan Roese	bool "MediaTek MT7621 watchdog timer support"
134*053fce84SStefan Roese	depends on WDT && ARCH_MT7620
135*053fce84SStefan Roese	help
136*053fce84SStefan Roese	   Select this to enable Ralink / Mediatek watchdog timer,
137*053fce84SStefan Roese	   which can be found on some MediaTek chips.
138*053fce84SStefan Roese
139253531bbSYe Liendmenu
140