162306a36Sopenharmony_ciSpreadtrum timers 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciThe Spreadtrum SC9860 platform provides 3 general-purpose timers. 462306a36Sopenharmony_ciThese timers can support 32bit or 64bit counter, as well as supporting 562306a36Sopenharmony_ciperiod mode or one-shot mode, and they are can be wakeup source 662306a36Sopenharmony_ciduring deep sleep. 762306a36Sopenharmony_ci 862306a36Sopenharmony_ciRequired properties: 962306a36Sopenharmony_ci- compatible: should be "sprd,sc9860-timer" for SC9860 platform. 1062306a36Sopenharmony_ci- reg: The register address of the timer device. 1162306a36Sopenharmony_ci- interrupts: Should contain the interrupt for the timer device. 1262306a36Sopenharmony_ci- clocks: The phandle to the source clock (usually a 32.768 KHz fixed clock). 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ciExample: 1562306a36Sopenharmony_ci timer@40050000 { 1662306a36Sopenharmony_ci compatible = "sprd,sc9860-timer"; 1762306a36Sopenharmony_ci reg = <0 0x40050000 0 0x20>; 1862306a36Sopenharmony_ci interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; 1962306a36Sopenharmony_ci clocks = <&ext_32k>; 2062306a36Sopenharmony_ci }; 21