1*c66ec88fSEmmanuel Vadot* Device tree bindings for Texas instruments Keystone timer 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotThis document provides bindings for the 64-bit timer in the KeyStone 4*c66ec88fSEmmanuel Vadotarchitecture devices. The timer can be configured as a general-purpose 64-bit 5*c66ec88fSEmmanuel Vadottimer, dual general-purpose 32-bit timers. When configured as dual 32-bit 6*c66ec88fSEmmanuel Vadottimers, each half can operate in conjunction (chain mode) or independently 7*c66ec88fSEmmanuel Vadot(unchained mode) of each other. 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel VadotIt is global timer is a free running up-counter and can generate interrupt 10*c66ec88fSEmmanuel Vadotwhen the counter reaches preset counter values. 11*c66ec88fSEmmanuel Vadot 12*c66ec88fSEmmanuel VadotDocumentation: 13*c66ec88fSEmmanuel Vadothttps://www.ti.com/lit/ug/sprugv5a/sprugv5a.pdf 14*c66ec88fSEmmanuel Vadot 15*c66ec88fSEmmanuel VadotRequired properties: 16*c66ec88fSEmmanuel Vadot 17*c66ec88fSEmmanuel Vadot- compatible : should be "ti,keystone-timer". 18*c66ec88fSEmmanuel Vadot- reg : specifies base physical address and count of the registers. 19*c66ec88fSEmmanuel Vadot- interrupts : interrupt generated by the timer. 20*c66ec88fSEmmanuel Vadot- clocks : the clock feeding the timer clock. 21*c66ec88fSEmmanuel Vadot 22*c66ec88fSEmmanuel VadotExample: 23*c66ec88fSEmmanuel Vadot 24*c66ec88fSEmmanuel Vadottimer@22f0000 { 25*c66ec88fSEmmanuel Vadot compatible = "ti,keystone-timer"; 26*c66ec88fSEmmanuel Vadot reg = <0x022f0000 0x80>; 27*c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 110 IRQ_TYPE_EDGE_RISING>; 28*c66ec88fSEmmanuel Vadot clocks = <&clktimer15>; 29*c66ec88fSEmmanuel Vadot}; 30