xref: /linux/Documentation/devicetree/bindings/rtc/allwinner,sun4i-a10-rtc.yaml (revision 3f2a1903af06672f416efd506f029066b9243cbd)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/rtc/allwinner,sun4i-a10-rtc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Allwinner A10 RTC
8
9allOf:
10  - $ref: rtc.yaml#
11
12maintainers:
13  - Chen-Yu Tsai <wens@csie.org>
14  - Maxime Ripard <mripard@kernel.org>
15
16properties:
17  compatible:
18    enum:
19      - allwinner,sun4i-a10-rtc
20      - allwinner,sun7i-a20-rtc
21
22  reg:
23    maxItems: 1
24
25  interrupts:
26    maxItems: 1
27
28required:
29  - compatible
30  - reg
31  - interrupts
32
33additionalProperties: false
34
35examples:
36  - |
37    rtc: rtc@1c20d00 {
38        compatible = "allwinner,sun4i-a10-rtc";
39        reg = <0x01c20d00 0x20>;
40        interrupts = <24>;
41    };
42
43...
44