0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/rtc/arm,pl031.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Arm Primecell PL031 Real Time Clock
0008
0009 select:
0010 properties:
0011 compatible:
0012 contains:
0013 const: arm,pl031
0014 required:
0015 - compatible
0016
0017 allOf:
0018 - $ref: rtc.yaml#
0019
0020 maintainers:
0021 - Rob Herring <robh@kernel.org>
0022
0023 properties:
0024 compatible:
0025 items:
0026 - const: arm,pl031
0027 - const: arm,primecell
0028
0029 reg:
0030 maxItems: 1
0031
0032 interrupts:
0033 maxItems: 1
0034
0035 clocks:
0036 maxItems: 1
0037
0038 clock-names:
0039 maxItems: 1
0040
0041 start-year: true
0042
0043 required:
0044 - compatible
0045 - reg
0046 - clocks
0047 - clock-names
0048
0049 additionalProperties: false
0050
0051 examples:
0052 - |
0053 rtc@10017000 {
0054 compatible = "arm,pl031", "arm,primecell";
0055 reg = <0x10017000 0x1000>;
0056 clocks = <&pclk>;
0057 clock-names = "apb_pclk";
0058 };