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