18c2ecf20Sopenharmony_ci* Device tree bindings for Texas instruments Keystone timer 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciThis document provides bindings for the 64-bit timer in the KeyStone 48c2ecf20Sopenharmony_ciarchitecture devices. The timer can be configured as a general-purpose 64-bit 58c2ecf20Sopenharmony_citimer, dual general-purpose 32-bit timers. When configured as dual 32-bit 68c2ecf20Sopenharmony_citimers, each half can operate in conjunction (chain mode) or independently 78c2ecf20Sopenharmony_ci(unchained mode) of each other. 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ciIt is global timer is a free running up-counter and can generate interrupt 108c2ecf20Sopenharmony_ciwhen the counter reaches preset counter values. 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciDocumentation: 138c2ecf20Sopenharmony_cihttps://www.ti.com/lit/ug/sprugv5a/sprugv5a.pdf 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciRequired properties: 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci- compatible : should be "ti,keystone-timer". 188c2ecf20Sopenharmony_ci- reg : specifies base physical address and count of the registers. 198c2ecf20Sopenharmony_ci- interrupts : interrupt generated by the timer. 208c2ecf20Sopenharmony_ci- clocks : the clock feeding the timer clock. 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ciExample: 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_citimer@22f0000 { 258c2ecf20Sopenharmony_ci compatible = "ti,keystone-timer"; 268c2ecf20Sopenharmony_ci reg = <0x022f0000 0x80>; 278c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 110 IRQ_TYPE_EDGE_RISING>; 288c2ecf20Sopenharmony_ci clocks = <&clktimer15>; 298c2ecf20Sopenharmony_ci}; 30