162306a36Sopenharmony_ci* Device tree bindings for Texas instruments Keystone timer
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciThis document provides bindings for the 64-bit timer in the KeyStone
462306a36Sopenharmony_ciarchitecture devices. The timer can be configured as a general-purpose 64-bit
562306a36Sopenharmony_citimer, dual general-purpose 32-bit timers. When configured as dual 32-bit
662306a36Sopenharmony_citimers, each half can operate in conjunction (chain mode) or independently
762306a36Sopenharmony_ci(unchained mode) of each other.
862306a36Sopenharmony_ci
962306a36Sopenharmony_ciIt is global timer is a free running up-counter and can generate interrupt
1062306a36Sopenharmony_ciwhen the counter reaches preset counter values.
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ciDocumentation:
1362306a36Sopenharmony_cihttps://www.ti.com/lit/ug/sprugv5a/sprugv5a.pdf
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ciRequired properties:
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ci- compatible : should be "ti,keystone-timer".
1862306a36Sopenharmony_ci- reg : specifies base physical address and count of the registers.
1962306a36Sopenharmony_ci- interrupts : interrupt generated by the timer.
2062306a36Sopenharmony_ci- clocks : the clock feeding the timer clock.
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ciExample:
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_citimer@22f0000 {
2562306a36Sopenharmony_ci	compatible = "ti,keystone-timer";
2662306a36Sopenharmony_ci	reg = <0x022f0000 0x80>;
2762306a36Sopenharmony_ci	interrupts = <GIC_SPI 110 IRQ_TYPE_EDGE_RISING>;
2862306a36Sopenharmony_ci	clocks = <&clktimer15>;
2962306a36Sopenharmony_ci};
30