1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/rtc/rtc-mxc_v2.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: i.MX53 Secure Real Time Clock (SRTC)
8
9allOf:
10  - $ref: "rtc.yaml#"
11
12maintainers:
13  - Patrick Bruenn <p.bruenn@beckhoff.com>
14
15properties:
16  compatible:
17    enum:
18      - fsl,imx53-rtc
19
20  reg:
21    maxItems: 1
22
23  clocks:
24    maxItems: 1
25
26  interrupts:
27    maxItems: 1
28
29required:
30  - compatible
31  - reg
32  - clocks
33  - interrupts
34
35additionalProperties: false
36
37examples:
38  - |
39    #include <dt-bindings/clock/imx5-clock.h>
40
41    rtc@53fa4000 {
42        compatible = "fsl,imx53-rtc";
43        reg = <0x53fa4000 0x4000>;
44        interrupts = <24>;
45        clocks = <&clks IMX5_CLK_SRTC_GATE>;
46    };
47