18c2ecf20Sopenharmony_ciNuvoton NPCM Watchdog
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciNuvoton NPCM timer module provides five 24-bit timer counters, and a watchdog.
48c2ecf20Sopenharmony_ciThe watchdog supports a pre-timeout interrupt that fires 10ms before the
58c2ecf20Sopenharmony_ciexpiry.
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ciRequired properties:
88c2ecf20Sopenharmony_ci- compatible      : "nuvoton,npcm750-wdt" for NPCM750 (Poleg).
98c2ecf20Sopenharmony_ci- reg             : Offset and length of the register set for the device.
108c2ecf20Sopenharmony_ci- interrupts      : Contain the timer interrupt with flags for
118c2ecf20Sopenharmony_ci                    falling edge.
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ciRequired clocking property, have to be one of:
148c2ecf20Sopenharmony_ci- clocks          : phandle of timer reference clock.
158c2ecf20Sopenharmony_ci- clock-frequency : The frequency in Hz of the clock that drives the NPCM7xx
168c2ecf20Sopenharmony_ci                    timer (usually 25000000).
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciOptional properties:
198c2ecf20Sopenharmony_ci- timeout-sec : Contains the watchdog timeout in seconds
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ciExample:
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_citimer@f000801c {
248c2ecf20Sopenharmony_ci    compatible = "nuvoton,npcm750-wdt";
258c2ecf20Sopenharmony_ci    interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
268c2ecf20Sopenharmony_ci    reg = <0xf000801c 0x4>;
278c2ecf20Sopenharmony_ci    clocks = <&clk NPCM7XX_CLK_TIMER>;
288c2ecf20Sopenharmony_ci};
29