xref: /freebsd/sys/contrib/device-tree/Bindings/rtc/cirrus,ep9301-rtc.yaml (revision b64c5a0ace59af62eff52bfe110a521dc73c937b)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/rtc/cirrus,ep9301-rtc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Cirrus EP93xx Real Time Clock controller
8
9maintainers:
10  - Hartley Sweeten <hsweeten@visionengravers.com>
11  - Alexander Sverdlin <alexander.sverdlin@gmail.com>
12
13allOf:
14  - $ref: rtc.yaml#
15
16properties:
17  compatible:
18    oneOf:
19      - const: cirrus,ep9301-rtc
20      - items:
21          - enum:
22              - cirrus,ep9302-rtc
23              - cirrus,ep9307-rtc
24              - cirrus,ep9312-rtc
25              - cirrus,ep9315-rtc
26          - const: cirrus,ep9301-rtc
27
28  reg:
29    maxItems: 1
30
31required:
32  - compatible
33  - reg
34
35unevaluatedProperties: false
36
37examples:
38  - |
39    rtc@80920000 {
40        compatible = "cirrus,ep9301-rtc";
41        reg = <0x80920000 0x100>;
42    };
43