summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/rtc/cirrus,ep9301-rtc.yaml
blob: a95f6af2b1c068d98c81fb0d303724fc1aad3f51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/rtc/cirrus,ep9301-rtc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Cirrus EP93xx Real Time Clock controller

maintainers:
  - Hartley Sweeten <hsweeten@visionengravers.com>
  - Alexander Sverdlin <alexander.sverdlin@gmail.com>

allOf:
  - $ref: rtc.yaml#

properties:
  compatible:
    oneOf:
      - const: cirrus,ep9301-rtc
      - items:
          - enum:
              - cirrus,ep9302-rtc
              - cirrus,ep9307-rtc
              - cirrus,ep9312-rtc
              - cirrus,ep9315-rtc
          - const: cirrus,ep9301-rtc

  reg:
    maxItems: 1

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    rtc@80920000 {
        compatible = "cirrus,ep9301-rtc";
        reg = <0x80920000 0x100>;
    };