xref: /linux/Documentation/devicetree/bindings/timer/fsl,timrot.yaml (revision 70de5572a82b3d510df31d2c572c15cd53a00870)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/timer/fsl,timrot.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale MXS Timer
8
9maintainers:
10  - Frank Li <Frank.Li@nxp.com>
11
12properties:
13  compatible:
14    items:
15      - enum:
16          - fsl,imx23-timrot
17          - fsl,imx28-timrot
18      - const: fsl,timrot
19
20  reg:
21    maxItems: 1
22
23  interrupts:
24    items:
25      - description: irq for timer0
26      - description: irq for timer1
27      - description: irq for timer2
28      - description: irq for timer3
29
30  clocks:
31    maxItems: 1
32
33required:
34  - compatible
35  - reg
36  - interrupts
37  - clocks
38
39additionalProperties: false
40
41examples:
42  - |
43    timer: timer@80068000 {
44        compatible = "fsl,imx28-timrot", "fsl,timrot";
45        reg = <0x80068000 0x2000>;
46        interrupts = <48>, <49>, <50>, <51>;
47        clocks = <&clks 26>;
48    };
49