1*4882a593SmuzhiyunSpreadtrum timers 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunThe Spreadtrum SC9860 platform provides 3 general-purpose timers. 4*4882a593SmuzhiyunThese timers can support 32bit or 64bit counter, as well as supporting 5*4882a593Smuzhiyunperiod mode or one-shot mode, and they are can be wakeup source 6*4882a593Smuzhiyunduring deep sleep. 7*4882a593Smuzhiyun 8*4882a593SmuzhiyunRequired properties: 9*4882a593Smuzhiyun- compatible: should be "sprd,sc9860-timer" for SC9860 platform. 10*4882a593Smuzhiyun- reg: The register address of the timer device. 11*4882a593Smuzhiyun- interrupts: Should contain the interrupt for the timer device. 12*4882a593Smuzhiyun- clocks: The phandle to the source clock (usually a 32.768 KHz fixed clock). 13*4882a593Smuzhiyun 14*4882a593SmuzhiyunExample: 15*4882a593Smuzhiyun timer@40050000 { 16*4882a593Smuzhiyun compatible = "sprd,sc9860-timer"; 17*4882a593Smuzhiyun reg = <0 0x40050000 0 0x20>; 18*4882a593Smuzhiyun interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; 19*4882a593Smuzhiyun clocks = <&ext_32k>; 20*4882a593Smuzhiyun }; 21