xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunNuvoton NPCM Watchdog
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunNuvoton NPCM timer module provides five 24-bit timer counters, and a watchdog.
4*4882a593SmuzhiyunThe watchdog supports a pre-timeout interrupt that fires 10ms before the
5*4882a593Smuzhiyunexpiry.
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunRequired properties:
8*4882a593Smuzhiyun- compatible      : "nuvoton,npcm750-wdt" for NPCM750 (Poleg).
9*4882a593Smuzhiyun- reg             : Offset and length of the register set for the device.
10*4882a593Smuzhiyun- interrupts      : Contain the timer interrupt with flags for
11*4882a593Smuzhiyun                    falling edge.
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunRequired clocking property, have to be one of:
14*4882a593Smuzhiyun- clocks          : phandle of timer reference clock.
15*4882a593Smuzhiyun- clock-frequency : The frequency in Hz of the clock that drives the NPCM7xx
16*4882a593Smuzhiyun                    timer (usually 25000000).
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunOptional properties:
19*4882a593Smuzhiyun- timeout-sec : Contains the watchdog timeout in seconds
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunExample:
22*4882a593Smuzhiyun
23*4882a593Smuzhiyuntimer@f000801c {
24*4882a593Smuzhiyun    compatible = "nuvoton,npcm750-wdt";
25*4882a593Smuzhiyun    interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
26*4882a593Smuzhiyun    reg = <0xf000801c 0x4>;
27*4882a593Smuzhiyun    clocks = <&clk NPCM7XX_CLK_TIMER>;
28*4882a593Smuzhiyun};
29