summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/rtc/sa1100-rtc.yaml
blob: fcf52d2cac9ec04eb79c144a78fdebf50b7f9295 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# SPDX-License-Identifier: GPL-2.0-only
%YAML 1.2
---
$id: http://devicetree.org/schemas/rtc/sa1100-rtc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Marvell Real Time Clock controller

allOf:
  - $ref: rtc.yaml#

maintainers:
  - Alessandro Zummo <a.zummo@towertech.it>
  - Alexandre Belloni <alexandre.belloni@bootlin.com>
  - Rob Herring <robh@kernel.org>

properties:
  compatible:
    enum:
      - mrvl,sa1100-rtc
      - mrvl,mmp-rtc

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  resets:
    maxItems: 1

  interrupts:
    minItems: 2

  interrupt-names:
    items:
      - const: rtc 1Hz
      - const: rtc alarm

required:
  - compatible
  - reg
  - interrupts
  - interrupt-names

additionalProperties: false

examples:
  - |
    rtc: rtc@d4010000 {
        compatible = "mrvl,mmp-rtc";
        reg = <0xd4010000 0x1000>;
        interrupts = <5>, <6>;
        interrupt-names = "rtc 1Hz", "rtc alarm";
    };

...