Merge existing fixes from regulator/for-5.12
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / rtc / sa1100-rtc.yaml
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
7 title: Marvell Real Time Clock controller bindings
8
9 allOf:
10   - $ref: rtc.yaml#
11
12 maintainers:
13   - Alessandro Zummo <a.zummo@towertech.it>
14   - Alexandre Belloni <alexandre.belloni@bootlin.com>
15   - Rob Herring <robh+dt@kernel.org>
16
17 properties:
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
40 required:
41   - compatible
42   - reg
43   - interrupts
44   - interrupt-names
45
46 additionalProperties: false
47
48 examples:
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 ...