GNU Linux-libre 5.15.137-gnu
[releases.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).
10 - reg             : Offset and length of the register set for the device.
11 - interrupts      : Contain the timer interrupt with flags for
12                     falling edge.
13
14 Required clocking property, have to be one of:
15 - clocks          : phandle of timer reference clock.
16 - clock-frequency : The frequency in Hz of the clock that drives the NPCM7xx
17                     timer (usually 25000000).
18
19 Optional properties:
20 - timeout-sec : Contains the watchdog timeout in seconds
21
22 Example:
23
24 timer@f000801c {
25     compatible = "nuvoton,npcm750-wdt";
26     interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
27     reg = <0xf000801c 0x4>;
28     clocks = <&clk NPCM7XX_CLK_TIMER>;
29 };