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