18c2ecf20Sopenharmony_ciNVIDIA Tegra210 timer 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciThe Tegra210 timer provides fourteen 29-bit timer counters and one 32-bit 48c2ecf20Sopenharmony_citimestamp counter. The TMRs run at either a fixed 1 MHz clock rate derived 58c2ecf20Sopenharmony_cifrom the oscillator clock (TMR0-TMR9) or directly at the oscillator clock 68c2ecf20Sopenharmony_ci(TMR10-TMR13). Each TMR can be programmed to generate one-shot, periodic, 78c2ecf20Sopenharmony_cior watchdog interrupts. 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ciRequired properties: 108c2ecf20Sopenharmony_ci- compatible : "nvidia,tegra210-timer". 118c2ecf20Sopenharmony_ci- reg : Specifies base physical address and size of the registers. 128c2ecf20Sopenharmony_ci- interrupts : A list of 14 interrupts; one per each timer channels 0 through 138c2ecf20Sopenharmony_ci 13. 148c2ecf20Sopenharmony_ci- clocks : Must contain one entry, for the module clock. 158c2ecf20Sopenharmony_ci See ../clocks/clock-bindings.txt for details. 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_citimer@60005000 { 188c2ecf20Sopenharmony_ci compatible = "nvidia,tegra210-timer"; 198c2ecf20Sopenharmony_ci reg = <0x0 0x60005000 0x0 0x400>; 208c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>, 218c2ecf20Sopenharmony_ci <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, 228c2ecf20Sopenharmony_ci <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>, 238c2ecf20Sopenharmony_ci <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>, 248c2ecf20Sopenharmony_ci <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>, 258c2ecf20Sopenharmony_ci <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>, 268c2ecf20Sopenharmony_ci <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>, 278c2ecf20Sopenharmony_ci <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>, 288c2ecf20Sopenharmony_ci <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>, 298c2ecf20Sopenharmony_ci <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>, 308c2ecf20Sopenharmony_ci <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>, 318c2ecf20Sopenharmony_ci <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>, 328c2ecf20Sopenharmony_ci <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>, 338c2ecf20Sopenharmony_ci <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>; 348c2ecf20Sopenharmony_ci clocks = <&tegra_car TEGRA210_CLK_TIMER>; 358c2ecf20Sopenharmony_ci clock-names = "timer"; 368c2ecf20Sopenharmony_ci}; 37