1*4882a593Smuzhiyun* EFM32 timer hardware 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunThe efm32 Giant Gecko SoCs come with four 16 bit timers. Two counters can be 4*4882a593Smuzhiyunconnected to form a 32 bit counter. Each timer has three Compare/Capture 5*4882a593Smuzhiyunchannels and can be used as PWM or Quadrature Decoder. Available clock sources 6*4882a593Smuzhiyunare the cpu's HFPERCLK (with a 10-bit prescaler) or an external pin. 7*4882a593Smuzhiyun 8*4882a593SmuzhiyunRequired properties: 9*4882a593Smuzhiyun- compatible : Should be "energymicro,efm32-timer" 10*4882a593Smuzhiyun- reg : Address and length of the register set 11*4882a593Smuzhiyun- clocks : Should contain a reference to the HFPERCLK 12*4882a593Smuzhiyun 13*4882a593SmuzhiyunOptional properties: 14*4882a593Smuzhiyun- interrupts : Reference to the timer interrupt 15*4882a593Smuzhiyun 16*4882a593SmuzhiyunExample: 17*4882a593Smuzhiyun 18*4882a593Smuzhiyuntimer@40010c00 { 19*4882a593Smuzhiyun compatible = "energymicro,efm32-timer"; 20*4882a593Smuzhiyun reg = <0x40010c00 0x400>; 21*4882a593Smuzhiyun interrupts = <14>; 22*4882a593Smuzhiyun clocks = <&cmu clk_HFPERCLKTIMER3>; 23*4882a593Smuzhiyun}; 24