xref: /linux/Documentation/devicetree/bindings/rtc/apm,xgene-rtc.yaml (revision 98906f9d850e4882004749eccb8920649dc98456)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/rtc/apm,xgene-rtc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: APM X-Gene Real Time Clock
8
9maintainers:
10  - Khuong Dinh <khuong@os.amperecomputing.com>
11
12properties:
13  compatible:
14    const: apm,xgene-rtc
15
16  reg:
17    maxItems: 1
18
19  interrupts:
20    maxItems: 1
21
22  '#clock-cells':
23    const: 1
24
25  clocks:
26    maxItems: 1
27
28required:
29  - compatible
30  - reg
31  - interrupts
32  - '#clock-cells'
33  - clocks
34
35additionalProperties: false
36
37examples:
38  - |
39    rtc@10510000 {
40        compatible = "apm,xgene-rtc";
41        reg = <0x10510000 0x400>;
42        interrupts = <0x0 0x46 0x4>;
43        #clock-cells = <1>;
44        clocks = <&rtcclk 0>;
45    };
46