xref: /freebsd/sys/contrib/device-tree/Bindings/rtc/imxdi-rtc.yaml (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/rtc/imxdi-rtc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: i.MX25 Real Time Clock controller
8
9maintainers:
10  - Roland Stigge <stigge@antcom.de>
11
12properties:
13  compatible:
14    const: fsl,imx25-rtc
15
16  reg:
17    maxItems: 1
18
19  interrupts:
20    items:
21      - description: rtc alarm interrupt
22      - description: dryice security violation interrupt
23    minItems: 1
24    maxItems: 2
25
26  clocks:
27    maxItems: 1
28
29required:
30  - compatible
31  - reg
32  - interrupts
33  - clocks
34
35additionalProperties: false
36
37examples:
38  - |
39    rtc@53ffc000 {
40        compatible = "fsl,imx25-rtc";
41        reg = <0x53ffc000 0x4000>;
42        clocks = <&clks 81>;
43        interrupts = <25>, <56>;
44    };
45