xref: /linux/Documentation/watchdog/watchdog-parameters.rst (revision 26b8eb8a98c18b2ee4ea76d99fa2b2a5ccbc1b6c)
1==========================
2WatchDog Module Parameters
3==========================
4
5This file provides information on the module parameters of many of
6the Linux watchdog drivers.  Watchdog driver parameter specs should
7be listed here unless the driver has its own driver-specific information
8file.
9
10See Documentation/admin-guide/kernel-parameters.rst for information on
11providing kernel parameters for builtin drivers versus loadable
12modules.
13
14-------------------------------------------------
15
16watchdog core:
17    handle_boot_enabled:
18	Watchdog core auto-updates boot-enabled watchdogs before userspace
19	takes over. Default is set by the kconfig option
20	CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED.
21
22    open_timeout:
23	Maximum time, in seconds, for which the watchdog framework will take
24	care of pinging a running hardware watchdog until userspace opens the
25	corresponding /dev/watchdogN device. A value of 0 means an infinite
26	timeout. Setting this to a non-zero value can be useful to ensure that
27	either userspace comes up properly, or the board gets reset and allows
28	fallback logic in the bootloader to try something else. Default is set
29	by the kconfig option CONFIG_WATCHDOG_OPEN_TIMEOUT.
30
31    stop_on_reboot:
32	Stops watchdogs on reboot (0 = keep watching, 1 = stop).
33
34-------------------------------------------------
35
36acquirewdt:
37    wdt_stop:
38	Acquire WDT 'stop' io port (default 0x43)
39    wdt_start:
40	Acquire WDT 'start' io port (default 0x443)
41    nowayout:
42	Watchdog cannot be stopped once started
43	(default=kernel config parameter)
44
45-------------------------------------------------
46
47advantechwdt:
48    wdt_stop:
49	Advantech WDT 'stop' io port (default 0x443)
50    wdt_start:
51	Advantech WDT 'start' io port (default 0x443)
52    timeout:
53	Watchdog timeout in seconds. 1<= timeout <=63, default=60.
54    nowayout:
55	Watchdog cannot be stopped once started
56	(default=kernel config parameter)
57
58-------------------------------------------------
59
60alim1535_wdt:
61    timeout:
62	Watchdog timeout in seconds. (0 < timeout < 18000, default=60
63    nowayout:
64	Watchdog cannot be stopped once started
65	(default=kernel config parameter)
66
67-------------------------------------------------
68
69alim7101_wdt:
70    timeout:
71	Watchdog timeout in seconds. (1<=timeout<=3600, default=30
72    use_gpio:
73	Use the gpio watchdog (required by old cobalt boards).
74	default=0/off/no
75    nowayout:
76	Watchdog cannot be stopped once started
77	(default=kernel config parameter)
78
79-------------------------------------------------
80
81ar7_wdt:
82    margin:
83	Watchdog margin in seconds (default=60)
84    nowayout:
85	Disable watchdog shutdown on close
86	(default=kernel config parameter)
87
88-------------------------------------------------
89
90armada_37xx_wdt:
91    timeout:
92	Watchdog timeout in seconds. (default=120)
93    nowayout:
94	Disable watchdog shutdown on close
95	(default=kernel config parameter)
96
97-------------------------------------------------
98
99at91rm9200_wdt:
100    wdt_time:
101	Watchdog time in seconds. (default=5)
102    nowayout:
103	Watchdog cannot be stopped once started
104	(default=kernel config parameter)
105
106-------------------------------------------------
107
108at91sam9_wdt:
109    heartbeat:
110	Watchdog heartbeats in seconds. (default = 15)
111    nowayout:
112	Watchdog cannot be stopped once started
113	(default=kernel config parameter)
114
115-------------------------------------------------
116
117bcm47xx_wdt:
118    wdt_time:
119	Watchdog time in seconds. (default=30)
120    nowayout:
121	Watchdog cannot be stopped once started
122	(default=kernel config parameter)
123
124-------------------------------------------------
125
126coh901327_wdt:
127    margin:
128	Watchdog margin in seconds (default 60s)
129
130-------------------------------------------------
131
132cpwd:
133    wd0_timeout:
134	Default watchdog0 timeout in 1/10secs
135    wd1_timeout:
136	Default watchdog1 timeout in 1/10secs
137    wd2_timeout:
138	Default watchdog2 timeout in 1/10secs
139
140-------------------------------------------------
141
142da9052wdt:
143    timeout:
144	Watchdog timeout in seconds. 2<= timeout <=131, default=2.048s
145    nowayout:
146	Watchdog cannot be stopped once started
147	(default=kernel config parameter)
148
149-------------------------------------------------
150
151davinci_wdt:
152    heartbeat:
153	Watchdog heartbeat period in seconds from 1 to 600, default 60
154
155-------------------------------------------------
156
157ebc-c384_wdt:
158    timeout:
159	Watchdog timeout in seconds. (1<=timeout<=15300, default=60)
160    nowayout:
161	Watchdog cannot be stopped once started
162
163-------------------------------------------------
164
165ep93xx_wdt:
166    nowayout:
167	Watchdog cannot be stopped once started
168    timeout:
169	Watchdog timeout in seconds. (1<=timeout<=3600, default=TBD)
170
171-------------------------------------------------
172
173eurotechwdt:
174    nowayout:
175	Watchdog cannot be stopped once started
176	(default=kernel config parameter)
177    io:
178	Eurotech WDT io port (default=0x3f0)
179    irq:
180	Eurotech WDT irq (default=10)
181    ev:
182	Eurotech WDT event type (default is `int`)
183
184-------------------------------------------------
185
186gef_wdt:
187    nowayout:
188	Watchdog cannot be stopped once started
189	(default=kernel config parameter)
190
191-------------------------------------------------
192
193geodewdt:
194    timeout:
195	Watchdog timeout in seconds. 1<= timeout <=131, default=60.
196    nowayout:
197	Watchdog cannot be stopped once started
198	(default=kernel config parameter)
199
200-------------------------------------------------
201
202i6300esb:
203    heartbeat:
204	Watchdog heartbeat in seconds. (1<heartbeat<2046, default=30)
205    nowayout:
206	Watchdog cannot be stopped once started
207	(default=kernel config parameter)
208
209-------------------------------------------------
210
211iTCO_wdt:
212    heartbeat:
213	Watchdog heartbeat in seconds.
214	(2<heartbeat<39 (TCO v1) or 613 (TCO v2), default=30)
215    nowayout:
216	Watchdog cannot be stopped once started
217	(default=kernel config parameter)
218
219-------------------------------------------------
220
221ib700wdt:
222    timeout:
223	Watchdog timeout in seconds. 0<= timeout <=30, default=30.
224    nowayout:
225	Watchdog cannot be stopped once started
226	(default=kernel config parameter)
227
228-------------------------------------------------
229
230ibmasr:
231    nowayout:
232	Watchdog cannot be stopped once started
233	(default=kernel config parameter)
234
235-------------------------------------------------
236
237imx2_wdt:
238    timeout:
239	Watchdog timeout in seconds (default 60 s)
240    nowayout:
241	Watchdog cannot be stopped once started
242	(default=kernel config parameter)
243
244-------------------------------------------------
245
246indydog:
247    nowayout:
248	Watchdog cannot be stopped once started
249	(default=kernel config parameter)
250
251-------------------------------------------------
252
253iop_wdt:
254    nowayout:
255	Watchdog cannot be stopped once started
256	(default=kernel config parameter)
257
258-------------------------------------------------
259
260it8712f_wdt:
261    margin:
262	Watchdog margin in seconds (default 60)
263    nowayout:
264	Disable watchdog shutdown on close
265	(default=kernel config parameter)
266
267-------------------------------------------------
268
269it87_wdt:
270    nogameport:
271	Forbid the activation of game port, default=0
272    nocir:
273	Forbid the use of CIR (workaround for some buggy setups); set to 1 if
274system resets despite watchdog daemon running, default=0
275    exclusive:
276	Watchdog exclusive device open, default=1
277    timeout:
278	Watchdog timeout in seconds, default=60
279    testmode:
280	Watchdog test mode (1 = no reboot), default=0
281    nowayout:
282	Watchdog cannot be stopped once started
283	(default=kernel config parameter)
284
285-------------------------------------------------
286
287ixp4xx_wdt:
288    heartbeat:
289	Watchdog heartbeat in seconds (default 60s)
290    nowayout:
291	Watchdog cannot be stopped once started
292	(default=kernel config parameter)
293
294-------------------------------------------------
295
296max63xx_wdt:
297    heartbeat:
298	Watchdog heartbeat period in seconds from 1 to 60, default 60
299    nowayout:
300	Watchdog cannot be stopped once started
301	(default=kernel config parameter)
302    nodelay:
303	Force selection of a timeout setting without initial delay
304	(max6373/74 only, default=0)
305
306-------------------------------------------------
307
308mixcomwd:
309    nowayout:
310	Watchdog cannot be stopped once started
311	(default=kernel config parameter)
312
313-------------------------------------------------
314
315mpc8xxx_wdt:
316    timeout:
317	Watchdog timeout in ticks. (0<timeout<65536, default=65535)
318    reset:
319	Watchdog Interrupt/Reset Mode. 0 = interrupt, 1 = reset
320    nowayout:
321	Watchdog cannot be stopped once started
322	(default=kernel config parameter)
323
324-------------------------------------------------
325
326mv64x60_wdt:
327    nowayout:
328	Watchdog cannot be stopped once started
329	(default=kernel config parameter)
330
331-------------------------------------------------
332
333ni903x_wdt:
334    timeout:
335	Initial watchdog timeout in seconds (0<timeout<516, default=60)
336    nowayout:
337	Watchdog cannot be stopped once started
338	(default=kernel config parameter)
339
340-------------------------------------------------
341
342nic7018_wdt:
343    timeout:
344	Initial watchdog timeout in seconds (0<timeout<464, default=80)
345    nowayout:
346	Watchdog cannot be stopped once started
347	(default=kernel config parameter)
348
349-------------------------------------------------
350
351omap_wdt:
352    timer_margin:
353	initial watchdog timeout (in seconds)
354    early_enable:
355	Watchdog is started on module insertion (default=0
356    nowayout:
357	Watchdog cannot be stopped once started
358	(default=kernel config parameter)
359
360-------------------------------------------------
361
362orion_wdt:
363    heartbeat:
364	Initial watchdog heartbeat in seconds
365    nowayout:
366	Watchdog cannot be stopped once started
367	(default=kernel config parameter)
368
369-------------------------------------------------
370
371pc87413_wdt:
372    io:
373	pc87413 WDT I/O port (default: io).
374    timeout:
375	Watchdog timeout in minutes (default=timeout).
376    nowayout:
377	Watchdog cannot be stopped once started
378	(default=kernel config parameter)
379
380-------------------------------------------------
381
382pika_wdt:
383    heartbeat:
384	Watchdog heartbeats in seconds. (default = 15)
385    nowayout:
386	Watchdog cannot be stopped once started
387	(default=kernel config parameter)
388
389-------------------------------------------------
390
391pnx4008_wdt:
392    heartbeat:
393	Watchdog heartbeat period in seconds from 1 to 60, default 19
394    nowayout:
395	Set to 1 to keep watchdog running after device release
396
397-------------------------------------------------
398
399pnx833x_wdt:
400    timeout:
401	Watchdog timeout in Mhz. (68Mhz clock), default=2040000000 (30 seconds)
402    nowayout:
403	Watchdog cannot be stopped once started
404	(default=kernel config parameter)
405    start_enabled:
406	Watchdog is started on module insertion (default=1)
407
408-------------------------------------------------
409
410pseries-wdt:
411    action:
412	Action taken when watchdog expires: 0 (power off), 1 (restart),
413	2 (dump and restart). (default=1)
414    timeout:
415	Initial watchdog timeout in seconds. (default=60)
416    nowayout:
417	Watchdog cannot be stopped once started.
418	(default=kernel config parameter)
419
420-------------------------------------------------
421
422rc32434_wdt:
423    timeout:
424	Watchdog timeout value, in seconds (default=20)
425    nowayout:
426	Watchdog cannot be stopped once started
427	(default=kernel config parameter)
428
429-------------------------------------------------
430
431riowd:
432    riowd_timeout:
433	Watchdog timeout in minutes (default=1)
434
435-------------------------------------------------
436
437s3c2410_wdt:
438    tmr_margin:
439	Watchdog tmr_margin in seconds. (default=15)
440    tmr_atboot:
441	Watchdog is started at boot time if set to 1, default=0
442    nowayout:
443	Watchdog cannot be stopped once started
444	(default=kernel config parameter)
445    soft_noboot:
446	Watchdog action, set to 1 to ignore reboots, 0 to reboot
447    debug:
448	Watchdog debug, set to >1 for debug, (default 0)
449
450-------------------------------------------------
451
452sa1100_wdt:
453    margin:
454	Watchdog margin in seconds (default 60s)
455
456-------------------------------------------------
457
458sb_wdog:
459    timeout:
460	Watchdog timeout in microseconds (max/default 8388607 or 8.3ish secs)
461
462-------------------------------------------------
463
464sbc60xxwdt:
465    wdt_stop:
466	SBC60xx WDT 'stop' io port (default 0x45)
467    wdt_start:
468	SBC60xx WDT 'start' io port (default 0x443)
469    timeout:
470	Watchdog timeout in seconds. (1<=timeout<=3600, default=30)
471    nowayout:
472	Watchdog cannot be stopped once started
473	(default=kernel config parameter)
474
475-------------------------------------------------
476
477sbc7240_wdt:
478    timeout:
479	Watchdog timeout in seconds. (1<=timeout<=255, default=30)
480    nowayout:
481	Disable watchdog when closing device file
482
483-------------------------------------------------
484
485sbc8360:
486    timeout:
487	Index into timeout table (0-63) (default=27 (60s))
488    nowayout:
489	Watchdog cannot be stopped once started
490	(default=kernel config parameter)
491
492-------------------------------------------------
493
494sbc_epx_c3:
495    nowayout:
496	Watchdog cannot be stopped once started
497	(default=kernel config parameter)
498
499-------------------------------------------------
500
501sbc_fitpc2_wdt:
502    margin:
503	Watchdog margin in seconds (default 60s)
504    nowayout:
505	Watchdog cannot be stopped once started
506
507-------------------------------------------------
508
509sbsa_gwdt:
510    timeout:
511	Watchdog timeout in seconds. (default 10s)
512    action:
513	Watchdog action at the first stage timeout,
514	set to 0 to ignore, 1 to panic. (default=0)
515    nowayout:
516	Watchdog cannot be stopped once started
517	(default=kernel config parameter)
518
519-------------------------------------------------
520
521sc1200wdt:
522    isapnp:
523	When set to 0 driver ISA PnP support will be disabled (default=1)
524    io:
525	io port
526    timeout:
527	range is 0-255 minutes, default is 1
528    nowayout:
529	Watchdog cannot be stopped once started
530	(default=kernel config parameter)
531
532-------------------------------------------------
533
534sch311x_wdt:
535    force_id:
536	Override the detected device ID
537    therm_trip:
538	Should a ThermTrip trigger the reset generator
539    timeout:
540	Watchdog timeout in seconds. 1<= timeout <=15300, default=60
541    nowayout:
542	Watchdog cannot be stopped once started
543	(default=kernel config parameter)
544
545-------------------------------------------------
546
547scx200_wdt:
548    margin:
549	Watchdog margin in seconds
550    nowayout:
551	Disable watchdog shutdown on close
552
553-------------------------------------------------
554
555shwdt:
556    clock_division_ratio:
557	Clock division ratio. Valid ranges are from 0x5 (1.31ms)
558	to 0x7 (5.25ms). (default=7)
559    heartbeat:
560	Watchdog heartbeat in seconds. (1 <= heartbeat <= 3600, default=30
561    nowayout:
562	Watchdog cannot be stopped once started
563	(default=kernel config parameter)
564
565-------------------------------------------------
566
567smsc37b787_wdt:
568    timeout:
569	range is 1-255 units, default is 60
570    nowayout:
571	Watchdog cannot be stopped once started
572	(default=kernel config parameter)
573
574-------------------------------------------------
575
576softdog:
577    soft_margin:
578	Watchdog soft_margin in seconds.
579	(0 < soft_margin < 65536, default=60)
580    nowayout:
581	Watchdog cannot be stopped once started
582	(default=kernel config parameter)
583    soft_noboot:
584	Softdog action, set to 1 to ignore reboots, 0 to reboot
585	(default=0)
586
587-------------------------------------------------
588
589stmp3xxx_wdt:
590    heartbeat:
591	Watchdog heartbeat period in seconds from 1 to 4194304, default 19
592
593-------------------------------------------------
594
595tegra_wdt:
596    heartbeat:
597	Watchdog heartbeats in seconds. (default = 120)
598    nowayout:
599	Watchdog cannot be stopped once started
600	(default=kernel config parameter)
601
602-------------------------------------------------
603
604ts72xx_wdt:
605    timeout:
606	Watchdog timeout in seconds. (1 <= timeout <= 8, default=8)
607    nowayout:
608	Disable watchdog shutdown on close
609
610-------------------------------------------------
611
612twl4030_wdt:
613    nowayout:
614	Watchdog cannot be stopped once started
615	(default=kernel config parameter)
616
617-------------------------------------------------
618
619txx9wdt:
620    timeout:
621	Watchdog timeout in seconds. (0<timeout<N, default=60)
622    nowayout:
623	Watchdog cannot be stopped once started
624	(default=kernel config parameter)
625
626-------------------------------------------------
627
628uniphier_wdt:
629    timeout:
630	Watchdog timeout in power of two seconds.
631	(1 <= timeout <= 128, default=64)
632    nowayout:
633	Watchdog cannot be stopped once started
634	(default=kernel config parameter)
635
636-------------------------------------------------
637
638w83627hf_wdt:
639    wdt_io:
640	w83627hf/thf WDT io port (default 0x2E)
641    timeout:
642	Watchdog timeout in seconds. 1 <= timeout <= 255, default=60.
643    nowayout:
644	Watchdog cannot be stopped once started
645	(default=kernel config parameter)
646
647-------------------------------------------------
648
649w83877f_wdt:
650    timeout:
651	Watchdog timeout in seconds. (1<=timeout<=3600, default=30)
652    nowayout:
653	Watchdog cannot be stopped once started
654	(default=kernel config parameter)
655
656-------------------------------------------------
657
658w83977f_wdt:
659    timeout:
660	Watchdog timeout in seconds (15..7635), default=45)
661    testmode:
662	Watchdog testmode (1 = no reboot), default=0
663    nowayout:
664	Watchdog cannot be stopped once started
665	(default=kernel config parameter)
666
667-------------------------------------------------
668
669wafer5823wdt:
670    timeout:
671	Watchdog timeout in seconds. 1 <= timeout <= 255, default=60.
672    nowayout:
673	Watchdog cannot be stopped once started
674	(default=kernel config parameter)
675
676-------------------------------------------------
677
678wdt285:
679    soft_margin:
680	Watchdog timeout in seconds (default=60)
681
682-------------------------------------------------
683
684wdt977:
685    timeout:
686	Watchdog timeout in seconds (60..15300, default=60)
687    testmode:
688	Watchdog testmode (1 = no reboot), default=0
689    nowayout:
690	Watchdog cannot be stopped once started
691	(default=kernel config parameter)
692
693-------------------------------------------------
694
695wm831x_wdt:
696    nowayout:
697	Watchdog cannot be stopped once started
698	(default=kernel config parameter)
699
700-------------------------------------------------
701
702wm8350_wdt:
703    nowayout:
704	Watchdog cannot be stopped once started
705	(default=kernel config parameter)
706
707-------------------------------------------------
708
709sun4v_wdt:
710    timeout_ms:
711	Watchdog timeout in milliseconds 1..180000, default=60000)
712    nowayout:
713	Watchdog cannot be stopped once started
714