1# SPDX-License-Identifier: GPL-2.0-only
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/rtc/sa1100-rtc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Marvell Real Time Clock controller
8
9allOf:
10  - $ref: rtc.yaml#
11
12maintainers:
13  - Alessandro Zummo <a.zummo@towertech.it>
14  - Alexandre Belloni <alexandre.belloni@bootlin.com>
15  - Rob Herring <robh+dt@kernel.org>
16
17properties:
18  compatible:
19    enum:
20      - mrvl,sa1100-rtc
21      - mrvl,mmp-rtc
22
23  reg:
24    maxItems: 1
25
26  clocks:
27    maxItems: 1
28
29  resets:
30    maxItems: 1
31
32  interrupts:
33    minItems: 2
34
35  interrupt-names:
36    items:
37      - const: rtc 1Hz
38      - const: rtc alarm
39
40required:
41  - compatible
42  - reg
43  - interrupts
44  - interrupt-names
45
46additionalProperties: false
47
48examples:
49  - |
50    rtc: rtc@d4010000 {
51        compatible = "mrvl,mmp-rtc";
52        reg = <0xd4010000 0x1000>;
53        interrupts = <5>, <6>;
54        interrupt-names = "rtc 1Hz", "rtc alarm";
55    };
56
57...
58