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