brintos

brintos / linux-shallow public Read only

0
0
Text · 1.0 KiB · 866a958 Raw
31 lines · plain
1Nuvoton NPCM Watchdog2 3Nuvoton NPCM timer module provides five 24-bit timer counters, and a watchdog.4The watchdog supports a pre-timeout interrupt that fires 10ms before the5expiry.6 7Required properties:8- compatible      : "nuvoton,npcm750-wdt" for NPCM750 (Poleg), or9                    "nuvoton,wpcm450-wdt" for WPCM450 (Hermon), or10                    "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 for13                    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 NPCM7xx18                    timer (usually 25000000).19 20Optional properties:21- timeout-sec : Contains the watchdog timeout in seconds22 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