xref: /openbmc/u-boot/drivers/watchdog/Kconfig (revision e35171e9)
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
14da4918acSXiaoliang Yangconfig WATCHDOG_RESET_DISABLE
15da4918acSXiaoliang Yang	bool "Disable reset watchdog"
16da4918acSXiaoliang Yang	help
17da4918acSXiaoliang Yang	   Disable reset watchdog, which can let WATCHDOG_RESET invalid, so
18da4918acSXiaoliang Yang	   that the watchdog will not be fed in u-boot.
19da4918acSXiaoliang Yang
2045a6d231SPaolo Pisaticonfig BCM2835_WDT
2145a6d231SPaolo Pisati	bool "Enable BCM2835/2836 watchdog driver"
2245a6d231SPaolo Pisati	select HW_WATCHDOG
2345a6d231SPaolo Pisati	help
2445a6d231SPaolo Pisati	  Say Y here to enable the BCM2835/2836 watchdog
2545a6d231SPaolo Pisati
2645a6d231SPaolo Pisati	  This provides basic infrastructure to support BCM2835/2836 watchdog
2745a6d231SPaolo Pisati	  hardware, with a max timeout of ~15secs.
2845a6d231SPaolo Pisati
29897f7062STom Riniconfig OMAP_WATCHDOG
30897f7062STom Rini	bool "TI OMAP watchdog driver"
31897f7062STom Rini	depends on ARCH_OMAP2PLUS
32897f7062STom Rini	select HW_WATCHDOG
33897f7062STom Rini	default y if AM33XX
34897f7062STom Rini	help
35897f7062STom Rini	  Say Y here to enable the OMAP3+ watchdog driver.
36897f7062STom Rini
378f8a12d1SFelipe Balbiconfig TANGIER_WATCHDOG
388f8a12d1SFelipe Balbi	bool "Intel Tangier watchdog"
398f8a12d1SFelipe Balbi	depends on INTEL_MID
408f8a12d1SFelipe Balbi	select HW_WATCHDOG
418f8a12d1SFelipe Balbi	help
428f8a12d1SFelipe Balbi	  This enables support for watchdog controller available on
438f8a12d1SFelipe Balbi	  Intel Tangier SoC. If you're using a board with Intel Tangier
448f8a12d1SFelipe Balbi	  SoC, say Y here.
458f8a12d1SFelipe Balbi
46253531bbSYe Liconfig ULP_WATCHDOG
47253531bbSYe Li	bool "i.MX7ULP watchdog"
48253531bbSYe Li	help
49253531bbSYe Li	  Say Y here to enable i.MX7ULP watchdog driver.
50253531bbSYe Li
510753bc2dSmaxims@google.comconfig WDT
520753bc2dSmaxims@google.com	bool "Enable driver model for watchdog timer drivers"
530753bc2dSmaxims@google.com	depends on DM
540753bc2dSmaxims@google.com	help
550753bc2dSmaxims@google.com	  Enable driver model for watchdog timer. At the moment the API
560753bc2dSmaxims@google.com	  is very simple and only supports four operations:
570753bc2dSmaxims@google.com	  start, restart, stop and reset (expire immediately).
580753bc2dSmaxims@google.com	  What exactly happens when the timer expires is up to a particular
590753bc2dSmaxims@google.com	  device/driver.
600753bc2dSmaxims@google.com
610753bc2dSmaxims@google.comconfig WDT_SANDBOX
620753bc2dSmaxims@google.com	bool "Enable Watchdog Timer support for Sandbox"
630753bc2dSmaxims@google.com	depends on SANDBOX && WDT
640753bc2dSmaxims@google.com	help
650753bc2dSmaxims@google.com	  Enable Watchdog Timer support in Sandbox. This is a dummy device that
660753bc2dSmaxims@google.com	  can be probed and supports all of the methods of WDT, but does not
670753bc2dSmaxims@google.com	  really do anything.
680753bc2dSmaxims@google.com
692b69a673SMarek Behúnconfig WDT_ARMADA_37XX
702b69a673SMarek Behún	bool "Marvell Armada 37xx watchdog timer support"
712b69a673SMarek Behún	depends on WDT && ARMADA_3700
722b69a673SMarek Behún	help
732b69a673SMarek Behún	   Enable this to support Watchdog Timer on Marvell Armada 37xx SoC.
742b69a673SMarek Behún	   There are 4 possible clocks which can be used on these SoCs. This
752b69a673SMarek Behún	   driver uses the second clock (ID 1), assuming that so will also
762b69a673SMarek Behún	   Linux's driver.
772b69a673SMarek Behún
781eb0a464Smaxims@google.comconfig WDT_ASPEED
791eb0a464Smaxims@google.com	bool "Aspeed ast2400/ast2500 watchdog timer support"
801eb0a464Smaxims@google.com	depends on WDT
811eb0a464Smaxims@google.com	default y if ARCH_ASPEED
821eb0a464Smaxims@google.com	help
831eb0a464Smaxims@google.com	  Select this to enable watchdog timer for Aspeed ast2500/ast2400 devices.
841eb0a464Smaxims@google.com	  The watchdog timer is stopped when initialized. It performs reset, either
851eb0a464Smaxims@google.com	  full SoC reset or CPU or just some peripherals, based on the flags.
861eb0a464Smaxims@google.com	  It currently does not support Boot Flash Addressing Mode Detection or
871eb0a464Smaxims@google.com	  Second Boot.
881eb0a464Smaxims@google.com
8977331934SÁlvaro Fernández Rojasconfig WDT_BCM6345
9077331934SÁlvaro Fernández Rojas	bool "BCM6345 watchdog timer support"
91*dcae39e5SPhilippe Reynes	depends on WDT && (ARCH_BMIPS || ARCH_BCM6858 || ARCH_BCM63158)
9277331934SÁlvaro Fernández Rojas	help
9377331934SÁlvaro Fernández Rojas	  Select this to enable watchdog timer for BCM6345 SoCs.
9477331934SÁlvaro Fernández Rojas	  The watchdog timer is stopped when initialized.
9577331934SÁlvaro Fernández Rojas	  It performs full SoC reset.
9677331934SÁlvaro Fernández Rojas
972ab7704aSMarek Behúnconfig WDT_ORION
982ab7704aSMarek Behún	bool "Orion watchdog timer support"
992ab7704aSMarek Behún	depends on WDT
1002ab7704aSMarek Behún	help
1012ab7704aSMarek Behún	   Select this to enable Orion watchdog timer, which can be found on some
1022ab7704aSMarek Behún	   Marvell Armada chips.
1032ab7704aSMarek Behún
10442537ca4SShreenidhi Shediconfig WDT_CDNS
10542537ca4SShreenidhi Shedi	bool "Cadence watchdog timer support"
10642537ca4SShreenidhi Shedi	depends on WDT
10742537ca4SShreenidhi Shedi	imply WATCHDOG
10842537ca4SShreenidhi Shedi	help
10942537ca4SShreenidhi Shedi	   Select this to enable Cadence watchdog timer, which can be found on some
11042537ca4SShreenidhi Shedi	   Xilinx Microzed Platform.
11142537ca4SShreenidhi Shedi
112090543f8SRyder Leeconfig WDT_MTK
113090543f8SRyder Lee	bool "MediaTek watchdog timer support"
114090543f8SRyder Lee	depends on WDT && ARCH_MEDIATEK
115090543f8SRyder Lee	help
116090543f8SRyder Lee	  Select this to enable watchdog timer for MediaTek SoCs.
117090543f8SRyder Lee	  The watchdog timer is stopped when initialized.
118090543f8SRyder Lee	  It performs full SoC reset.
119090543f8SRyder Lee
120e0e9caaeSShreenidhi Shediconfig XILINX_TB_WATCHDOG
121e0e9caaeSShreenidhi Shedi	bool "Xilinx Axi watchdog timer support"
122e0e9caaeSShreenidhi Shedi	depends on WDT
123e0e9caaeSShreenidhi Shedi	imply WATCHDOG
124e0e9caaeSShreenidhi Shedi	help
125e0e9caaeSShreenidhi Shedi	   Select this to enable Xilinx Axi watchdog timer, which can be found on some
126e0e9caaeSShreenidhi Shedi	   Xilinx Microblaze Platforms.
127e0e9caaeSShreenidhi Shedi
128517066a7SXiaoliang Yangconfig IMX_WATCHDOG
129517066a7SXiaoliang Yang	bool "Enable Watchdog Timer support for IMX and LSCH2 of NXP"
130517066a7SXiaoliang Yang	select HW_WATCHDOG
131517066a7SXiaoliang Yang	help
132517066a7SXiaoliang Yang	   Select this to enable the IMX and LSCH2 of Layerscape watchdog
133517066a7SXiaoliang Yang	   driver.
134517066a7SXiaoliang Yang
1351473f6acSPrasanthi Chellakumarconfig WDT_AT91
1361473f6acSPrasanthi Chellakumar	bool "AT91 watchdog timer support"
1371473f6acSPrasanthi Chellakumar	depends on WDT
1381473f6acSPrasanthi Chellakumar	help
1391473f6acSPrasanthi Chellakumar	   Select this to enable Microchip watchdog timer, which can be found on
1401473f6acSPrasanthi Chellakumar	   some AT91 devices.
1411473f6acSPrasanthi Chellakumar
1421473f6acSPrasanthi Chellakumarconfig AT91_HW_WDT_TIMEOUT
1431473f6acSPrasanthi Chellakumar	bool "AT91 watchdog timeout specified"
1441473f6acSPrasanthi Chellakumar	depends on WDT_AT91
145053fce84SStefan Roese
146053fce84SStefan Roeseconfig WDT_MT7621
147053fce84SStefan Roese	bool "MediaTek MT7621 watchdog timer support"
148053fce84SStefan Roese	depends on WDT && ARCH_MT7620
149053fce84SStefan Roese	help
150053fce84SStefan Roese	   Select this to enable Ralink / Mediatek watchdog timer,
151053fce84SStefan Roese	   which can be found on some MediaTek chips.
152053fce84SStefan Roese
153749c9aaeSChristophe Leroyconfig WDT_MPC8xx
154749c9aaeSChristophe Leroy	bool "MPC8xx watchdog timer support"
155749c9aaeSChristophe Leroy	depends on WDT && MPC8xx
156749c9aaeSChristophe Leroy	select CONFIG_MPC8xx_WATCHDOG
157749c9aaeSChristophe Leroy	help
158749c9aaeSChristophe Leroy	   Select this to enable mpc8xx watchdog timer
159749c9aaeSChristophe Leroy
160253531bbSYe Liendmenu
161