xref: /freebsd/sys/contrib/device-tree/Bindings/watchdog/nuvoton,npcm-wdt.txt (revision 7ef62cebc2f965b0f640263e179276928885e33d)
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), 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
15Required 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
20Optional properties:
21- timeout-sec : Contains the watchdog timeout in seconds
22
23Example:
24
25timer@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};
31