Merge tag 'drm-fixes-5.5-2019-12-12' of git://people.freedesktop.org/~agd5f/linux...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / watchdog / atmel-sama5d4-wdt.txt
1 * Atmel SAMA5D4 Watchdog Timer (WDT) Controller
2
3 Required properties:
4 - compatible: "atmel,sama5d4-wdt" or "microchip,sam9x60-wdt"
5 - reg: base physical address and length of memory mapped region.
6
7 Optional properties:
8 - timeout-sec: watchdog timeout value (in seconds).
9 - interrupts: interrupt number to the CPU.
10 - atmel,watchdog-type: should be "hardware" or "software".
11         "hardware": enable watchdog fault reset. A watchdog fault triggers
12                     watchdog reset.
13         "software": enable watchdog fault interrupt. A watchdog fault asserts
14                     watchdog interrupt.
15 - atmel,idle-halt: present if you want to stop the watchdog when the CPU is
16                    in idle state.
17         CAUTION: This property should be used with care, it actually makes the
18         watchdog not counting when the CPU is in idle state, therefore the
19         watchdog reset time depends on mean CPU usage and will not reset at all
20         if the CPU stop working while it is in idle state, which is probably
21         not what you want.
22 - atmel,dbg-halt: present if you want to stop the watchdog when the CPU is
23                   in debug state.
24
25 Example:
26         watchdog@fc068640 {
27                 compatible = "atmel,sama5d4-wdt";
28                 reg = <0xfc068640 0x10>;
29                 interrupts = <4 IRQ_TYPE_LEVEL_HIGH 5>;
30                 timeout-sec = <10>;
31                 atmel,watchdog-type = "hardware";
32                 atmel,dbg-halt;
33                 atmel,idle-halt;
34         };