Mention branches and keyring.
[releases.git] / bindings / rtc / nxp,pcf85063.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/nxp,pcf85063.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: NXP PCF85063 Real Time Clock
8
9 maintainers:
10   - Alexander Stein <alexander.stein@ew.tq-group.com>
11
12 properties:
13   compatible:
14     enum:
15       - microcrystal,rv8263
16       - nxp,pcf85063
17       - nxp,pcf85063a
18       - nxp,pcf85063tp
19       - nxp,pca85073a
20
21   reg:
22     maxItems: 1
23
24   "#clock-cells":
25     const: 0
26
27   clock-output-names:
28     maxItems: 1
29
30   interrupts:
31     maxItems: 1
32
33   quartz-load-femtofarads:
34     description:
35       The capacitive load of the quartz(x-tal).
36     enum: [7000, 12500]
37     default: 7000
38
39   clock:
40     $ref: /schemas/clock/fixed-clock.yaml
41     description:
42       Provide this if the square wave pin is used as boot-enabled
43       fixed clock.
44
45   wakeup-source: true
46
47 allOf:
48   - $ref: rtc.yaml#
49   - if:
50       properties:
51         compatible:
52           contains:
53             enum:
54               - microcrystal,rv8263
55     then:
56       properties:
57         quartz-load-femtofarads: false
58   - if:
59       properties:
60         compatible:
61           contains:
62             enum:
63               - nxp,pcf85063
64     then:
65       properties:
66         quartz-load-femtofarads:
67           const: 7000
68
69 required:
70   - compatible
71   - reg
72
73 additionalProperties: false
74
75 examples:
76   - |
77     i2c {
78         #address-cells = <1>;
79         #size-cells = <0>;
80
81         rtc@51 {
82           compatible = "nxp,pcf85063a";
83           reg = <0x51>;
84           quartz-load-femtofarads = <12500>;
85
86           clock {
87             compatible = "fixed-clock";
88             #clock-cells = <0>;
89             clock-frequency = <32768>;
90           };
91         };
92       };