Debian Codegraph @

Documentation/devicetree/bindings/rtc/rtc-mxc_v2.yaml

raw
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
7 title: i.MX53 Secure Real Time Clock (SRTC)
8
9 allOf:
10 - $ref: rtc.yaml#
11
12 maintainers:
13 - Patrick Bruenn <[email protected]>
14
15 properties:
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
29 required:
30 - compatible
31 - reg
32 - clocks
33 - interrupts
34
35 additionalProperties: false
36
37 examples:
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 };