Merge tag 'regmap-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / timer / st,stm32-timer.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/timer/st,stm32-timer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: STMicroelectronics STM32 general-purpose 16 and 32 bits timers bindings
8
9 maintainers:
10   - Benjamin Gaignard <benjamin.gaignard@st.com>
11
12 properties:
13   compatible:
14     const: st,stm32-timer
15
16   reg:
17     maxItems: 1
18
19   interrupts:
20     maxItems: 1
21
22   clocks:
23     maxItems: 1
24
25   resets:
26     maxItems: 1
27
28 required:
29   - compatible
30   - reg
31   - interrupts
32   - clocks
33
34 additionalProperties: false
35
36 examples:
37   - |
38     #include <dt-bindings/interrupt-controller/arm-gic.h>
39     #include <dt-bindings/clock/stm32mp1-clks.h>
40     timer: timer@40000c00 {
41         compatible = "st,stm32-timer";
42         reg = <0x40000c00 0x400>;
43         interrupts = <50>;
44         clocks = <&clk_pmtr1>;
45     };
46
47 ...