xref: /linux/Documentation/devicetree/bindings/rtc/nxp,pcf8523.yaml (revision a23e1966932464e1c5226cb9ac4ce1d5fc10ba22)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/rtc/nxp,pcf8523.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NXP PCF8523 Real Time Clock
8
9maintainers:
10  - Sam Ravnborg <sam@ravnborg.org>
11
12allOf:
13  - $ref: rtc.yaml#
14
15properties:
16  compatible:
17    const: nxp,pcf8523
18
19  reg:
20    maxItems: 1
21
22  quartz-load-femtofarads:
23    description:
24      The capacitive load of the crystal, expressed in femto Farad (fF).
25    enum: [ 7000, 12500 ]
26    default: 12500
27
28required:
29  - compatible
30  - reg
31
32unevaluatedProperties: false
33
34examples:
35  - |
36    i2c {
37        #address-cells = <1>;
38        #size-cells = <0>;
39
40        rtc@68 {
41            compatible = "nxp,pcf8523";
42            reg = <0x68>;
43            quartz-load-femtofarads = <7000>;
44        };
45    };
46