xref: /freebsd/sys/contrib/device-tree/Bindings/rtc/arm,pl031.yaml (revision b197d4b893974c9eb4d7b38704c6d5c486235d6f)
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
7title: Arm Primecell PL031 Real Time Clock
8
9select:
10  properties:
11    compatible:
12      contains:
13        const: arm,pl031
14  required:
15    - compatible
16
17allOf:
18  - $ref: rtc.yaml#
19
20maintainers:
21  - Rob Herring <robh@kernel.org>
22
23properties:
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
43required:
44  - compatible
45  - reg
46  - clocks
47  - clock-names
48
49additionalProperties: false
50
51examples:
52  - |
53    rtc@10017000 {
54        compatible = "arm,pl031", "arm,primecell";
55        reg = <0x10017000 0x1000>;
56        clocks = <&pclk>;
57        clock-names = "apb_pclk";
58    };
59