0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/rtc/rtc-mxc_v2.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: i.MX53 Secure Real Time Clock (SRTC)
0008
0009 allOf:
0010 - $ref: "rtc.yaml#"
0011
0012 maintainers:
0013 - Patrick Bruenn <p.bruenn@beckhoff.com>
0014
0015 properties:
0016 compatible:
0017 enum:
0018 - fsl,imx53-rtc
0019
0020 reg:
0021 maxItems: 1
0022
0023 clocks:
0024 maxItems: 1
0025
0026 interrupts:
0027 maxItems: 1
0028
0029 required:
0030 - compatible
0031 - reg
0032 - clocks
0033 - interrupts
0034
0035 additionalProperties: false
0036
0037 examples:
0038 - |
0039 #include <dt-bindings/clock/imx5-clock.h>
0040
0041 rtc@53fa4000 {
0042 compatible = "fsl,imx53-rtc";
0043 reg = <0x53fa4000 0x4000>;
0044 interrupts = <24>;
0045 clocks = <&clks IMX5_CLK_SRTC_GATE>;
0046 };