Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / timer / st,stm32-timer.yaml
blob176aa3c9baf88c7ed59befe88e80b3161dbcdd41
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#
7 title: STMicroelectronics STM32 general-purpose 16 and 32 bits timers bindings
9 maintainers:
10   - Benjamin Gaignard <benjamin.gaignard@st.com>
12 properties:
13   compatible:
14     const: st,stm32-timer
16   reg:
17     maxItems: 1
19   interrupts:
20     maxItems: 1
22   clocks:
23     maxItems: 1
25   resets:
26     maxItems: 1
28 required:
29   - compatible
30   - reg
31   - interrupts
32   - clocks
34 additionalProperties: false
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     };
47 ...