| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | . STMicroelectronics STM32 timer |
| 2 | |
| 3 | The STM32 MCUs family has several general-purpose 16 and 32 bits timers. |
| 4 | |
| 5 | Required properties: |
| 6 | - compatible : Should be "st,stm32-timer" |
| 7 | - reg : Address and length of the register set |
| 8 | - clocks : Reference on the timer input clock |
| 9 | - interrupts : Reference to the timer interrupt |
| 10 | |
| 11 | Optional properties: |
| 12 | - resets: Reference to a reset controller asserting the timer |
| 13 | |
| 14 | Example: |
| 15 | |
| 16 | timer5: timer@40000c00 { |
| 17 | compatible = "st,stm32-timer"; |
| 18 | reg = <0x40000c00 0x400>; |
| 19 | interrupts = <50>; |
| 20 | resets = <&rrc 259>; |
| 21 | clocks = <&clk_pmtr1>; |
| 22 | }; |