Linux 6.7-rc7
[linux-modified.git] / Documentation / devicetree / bindings / watchdog / nuvoton,npcm-wdt.txt
1 Nuvoton NPCM Watchdog
2
3 Nuvoton NPCM timer module provides five 24-bit timer counters, and a watchdog.
4 The watchdog supports a pre-timeout interrupt that fires 10ms before the
5 expiry.
6
7 Required properties:
8 - compatible      : "nuvoton,npcm750-wdt" for NPCM750 (Poleg), or
9                     "nuvoton,wpcm450-wdt" for WPCM450 (Hermon), or
10                     "nuvoton,npcm845-wdt" for NPCM845 (Arbel).
11 - reg             : Offset and length of the register set for the device.
12 - interrupts      : Contain the timer interrupt with flags for
13                     falling edge.
14
15 Required clocking property, have to be one of:
16 - clocks          : phandle of timer reference clock.
17 - clock-frequency : The frequency in Hz of the clock that drives the NPCM7xx
18                     timer (usually 25000000).
19
20 Optional properties:
21 - timeout-sec : Contains the watchdog timeout in seconds
22
23 Example:
24
25 timer@f000801c {
26     compatible = "nuvoton,npcm750-wdt";
27     interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
28     reg = <0xf000801c 0x4>;
29     clocks = <&clk NPCM7XX_CLK_TIMER>;
30 };