xref: /freebsd/sys/contrib/device-tree/Bindings/timer/nvidia,tegra210-timer.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotNVIDIA Tegra210 timer
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThe Tegra210 timer provides fourteen 29-bit timer counters and one 32-bit
4*c66ec88fSEmmanuel Vadottimestamp counter. The TMRs run at either a fixed 1 MHz clock rate derived
5*c66ec88fSEmmanuel Vadotfrom the oscillator clock (TMR0-TMR9) or directly at the oscillator clock
6*c66ec88fSEmmanuel Vadot(TMR10-TMR13). Each TMR can be programmed to generate one-shot, periodic,
7*c66ec88fSEmmanuel Vadotor watchdog interrupts.
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel VadotRequired properties:
10*c66ec88fSEmmanuel Vadot- compatible : "nvidia,tegra210-timer".
11*c66ec88fSEmmanuel Vadot- reg : Specifies base physical address and size of the registers.
12*c66ec88fSEmmanuel Vadot- interrupts : A list of 14 interrupts; one per each timer channels 0 through
13*c66ec88fSEmmanuel Vadot  13.
14*c66ec88fSEmmanuel Vadot- clocks : Must contain one entry, for the module clock.
15*c66ec88fSEmmanuel Vadot  See ../clocks/clock-bindings.txt for details.
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadottimer@60005000 {
18*c66ec88fSEmmanuel Vadot	compatible = "nvidia,tegra210-timer";
19*c66ec88fSEmmanuel Vadot	reg = <0x0 0x60005000 0x0 0x400>;
20*c66ec88fSEmmanuel Vadot	interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>,
21*c66ec88fSEmmanuel Vadot		     <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
22*c66ec88fSEmmanuel Vadot		     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
23*c66ec88fSEmmanuel Vadot		     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
24*c66ec88fSEmmanuel Vadot		     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
25*c66ec88fSEmmanuel Vadot		     <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
26*c66ec88fSEmmanuel Vadot		     <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>,
27*c66ec88fSEmmanuel Vadot		     <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
28*c66ec88fSEmmanuel Vadot		     <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
29*c66ec88fSEmmanuel Vadot		     <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>,
30*c66ec88fSEmmanuel Vadot		     <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>,
31*c66ec88fSEmmanuel Vadot		     <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>,
32*c66ec88fSEmmanuel Vadot		     <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>,
33*c66ec88fSEmmanuel Vadot		     <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>;
34*c66ec88fSEmmanuel Vadot	clocks = <&tegra_car TEGRA210_CLK_TIMER>;
35*c66ec88fSEmmanuel Vadot	clock-names = "timer";
36*c66ec88fSEmmanuel Vadot};
37