xref: /freebsd/sys/contrib/device-tree/Bindings/timer/nuvoton,npcm7xx-timer.txt (revision 2eb4d8dc723da3cf7d735a3226ae49da4c8c5dbc)
1c66ec88fSEmmanuel VadotNuvoton NPCM7xx timer
2c66ec88fSEmmanuel Vadot
3c66ec88fSEmmanuel VadotNuvoton NPCM7xx have three timer modules, each timer module provides five 24-bit
4c66ec88fSEmmanuel Vadottimer counters.
5c66ec88fSEmmanuel Vadot
6c66ec88fSEmmanuel VadotRequired properties:
7*2eb4d8dcSEmmanuel Vadot- compatible      : "nuvoton,npcm750-timer" for Poleg NPCM750, or
8*2eb4d8dcSEmmanuel Vadot                    "nuvoton,wpcm450-timer" for Hermon WPCM450.
9c66ec88fSEmmanuel Vadot- reg             : Offset and length of the register set for the device.
105def4c47SEmmanuel Vadot- interrupts      : Contain the timer interrupt of timer 0.
11c66ec88fSEmmanuel Vadot- clocks          : phandle of timer reference clock (usually a 25 MHz clock).
12c66ec88fSEmmanuel Vadot
13c66ec88fSEmmanuel VadotExample:
14c66ec88fSEmmanuel Vadot
15c66ec88fSEmmanuel Vadottimer@f0008000 {
16c66ec88fSEmmanuel Vadot    compatible = "nuvoton,npcm750-timer";
17c66ec88fSEmmanuel Vadot    interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
18c66ec88fSEmmanuel Vadot    reg = <0xf0008000 0x50>;
19c66ec88fSEmmanuel Vadot    clocks = <&clk NPCM7XX_CLK_TIMER>;
20c66ec88fSEmmanuel Vadot};
21c66ec88fSEmmanuel Vadot
22