xref: /linux/Documentation/devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
1Nuvoton NPCM Watchdog
2
3Nuvoton NPCM timer module provides five 24-bit timer counters, and a watchdog.
4The watchdog supports a pre-timeout interrupt that fires 10ms before the
5expiry.
6
7Required 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
14Required 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
19Optional properties:
20- timeout-sec : Contains the watchdog timeout in seconds
21
22Example:
23
24timer@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};
30