Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / rtc / arm,pl031.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/rtc/arm,pl031.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Arm Primecell PL031 Real Time Clock
8
9 select:
10   properties:
11     compatible:
12       contains:
13         const: arm,pl031
14   required:
15     - compatible
16
17 allOf:
18   - $ref: rtc.yaml#
19
20 maintainers:
21   - Rob Herring <robh@kernel.org>
22
23 properties:
24   compatible:
25     items:
26       - const: arm,pl031
27       - const: arm,primecell
28
29   reg:
30     maxItems: 1
31
32   interrupts:
33     maxItems: 1
34
35   clocks:
36     maxItems: 1
37
38   clock-names:
39     maxItems: 1
40
41   start-year: true
42
43 required:
44   - compatible
45   - reg
46   - clocks
47   - clock-names
48
49 additionalProperties: false
50
51 examples:
52   - |
53     rtc@10017000 {
54         compatible = "arm,pl031", "arm,primecell";
55         reg = <0x10017000 0x1000>;
56         clocks = <&pclk>;
57         clock-names = "apb_pclk";
58     };