xref: /openbmc/u-boot/drivers/watchdog/Kconfig (revision d6736689)
1menu "Watchdog Timer Support"
2
3config WATCHDOG
4	bool "Enable U-Boot watchdog reset"
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
11config HW_WATCHDOG
12	bool
13
14config BCM2835_WDT
15	bool "Enable BCM2835/2836 watchdog driver"
16	select HW_WATCHDOG
17	help
18	  Say Y here to enable the BCM2835/2836 watchdog
19
20	  This provides basic infrastructure to support BCM2835/2836 watchdog
21	  hardware, with a max timeout of ~15secs.
22
23config OMAP_WATCHDOG
24	bool "TI OMAP watchdog driver"
25	depends on ARCH_OMAP2PLUS
26	select HW_WATCHDOG
27	default y if AM33XX
28	help
29	  Say Y here to enable the OMAP3+ watchdog driver.
30
31config TANGIER_WATCHDOG
32	bool "Intel Tangier watchdog"
33	depends on INTEL_MID
34	select HW_WATCHDOG
35	help
36	  This enables support for watchdog controller available on
37	  Intel Tangier SoC. If you're using a board with Intel Tangier
38	  SoC, say Y here.
39
40config ULP_WATCHDOG
41	bool "i.MX7ULP watchdog"
42	help
43	  Say Y here to enable i.MX7ULP watchdog driver.
44
45config WDT
46	bool "Enable driver model for watchdog timer drivers"
47	depends on DM
48	help
49	  Enable driver model for watchdog timer. At the moment the API
50	  is very simple and only supports four operations:
51	  start, restart, stop and reset (expire immediately).
52	  What exactly happens when the timer expires is up to a particular
53	  device/driver.
54
55config WDT_SANDBOX
56	bool "Enable Watchdog Timer support for Sandbox"
57	depends on SANDBOX && WDT
58	help
59	  Enable Watchdog Timer support in Sandbox. This is a dummy device that
60	  can be probed and supports all of the methods of WDT, but does not
61	  really do anything.
62
63config WDT_ARMADA_37XX
64	bool "Marvell Armada 37xx watchdog timer support"
65	depends on WDT && ARMADA_3700
66	help
67	   Enable this to support Watchdog Timer on Marvell Armada 37xx SoC.
68	   There are 4 possible clocks which can be used on these SoCs. This
69	   driver uses the second clock (ID 1), assuming that so will also
70	   Linux's driver.
71
72config WDT_ASPEED
73	bool "Aspeed ast2400/ast2500 watchdog timer support"
74	depends on WDT
75	default y if ARCH_ASPEED
76	help
77	  Select this to enable watchdog timer for Aspeed ast2500/ast2400 devices.
78	  The watchdog timer is stopped when initialized. It performs reset, either
79	  full SoC reset or CPU or just some peripherals, based on the flags.
80	  It currently does not support Boot Flash Addressing Mode Detection or
81	  Second Boot.
82
83config WDT_BCM6345
84	bool "BCM6345 watchdog timer support"
85	depends on WDT && ARCH_BMIPS
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
91config WDT_ORION
92	bool "Orion watchdog timer support"
93	depends on WDT
94	help
95	   Select this to enable Orion watchdog timer, which can be found on some
96	   Marvell Armada chips.
97
98config WDT_CDNS
99	bool "Cadence watchdog timer support"
100	depends on WDT
101	imply WATCHDOG
102	help
103	   Select this to enable Cadence watchdog timer, which can be found on some
104	   Xilinx Microzed Platform.
105
106endmenu
107