xref: /linux/Documentation/devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
11daa85d1SJoel StanleyNuvoton NPCM Watchdog
21daa85d1SJoel Stanley
31daa85d1SJoel StanleyNuvoton NPCM timer module provides five 24-bit timer counters, and a watchdog.
41daa85d1SJoel StanleyThe watchdog supports a pre-timeout interrupt that fires 10ms before the
51daa85d1SJoel Stanleyexpiry.
61daa85d1SJoel Stanley
71daa85d1SJoel StanleyRequired properties:
89b39efacSJonathan Neuschäfer- compatible      : "nuvoton,npcm750-wdt" for NPCM750 (Poleg), or
9*5e1f5ea3STomer Maimon                    "nuvoton,wpcm450-wdt" for WPCM450 (Hermon), or
10*5e1f5ea3STomer Maimon                    "nuvoton,npcm845-wdt" for NPCM845 (Arbel).
111daa85d1SJoel Stanley- reg             : Offset and length of the register set for the device.
121daa85d1SJoel Stanley- interrupts      : Contain the timer interrupt with flags for
131daa85d1SJoel Stanley                    falling edge.
141daa85d1SJoel Stanley
151daa85d1SJoel StanleyRequired clocking property, have to be one of:
161daa85d1SJoel Stanley- clocks          : phandle of timer reference clock.
171daa85d1SJoel Stanley- clock-frequency : The frequency in Hz of the clock that drives the NPCM7xx
181daa85d1SJoel Stanley                    timer (usually 25000000).
191daa85d1SJoel Stanley
201daa85d1SJoel StanleyOptional properties:
211daa85d1SJoel Stanley- timeout-sec : Contains the watchdog timeout in seconds
221daa85d1SJoel Stanley
231daa85d1SJoel StanleyExample:
241daa85d1SJoel Stanley
251daa85d1SJoel Stanleytimer@f000801c {
261daa85d1SJoel Stanley    compatible = "nuvoton,npcm750-wdt";
271daa85d1SJoel Stanley    interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
281daa85d1SJoel Stanley    reg = <0xf000801c 0x4>;
291daa85d1SJoel Stanley    clocks = <&clk NPCM7XX_CLK_TIMER>;
301daa85d1SJoel Stanley};
31