Mention branches and keyring.
[releases.git] / bindings / rtc / microcrystal,rv3032.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/microcrystal,rv3032.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Microchip RV-3032 RTC
8
9 allOf:
10   - $ref: rtc.yaml#
11
12 maintainers:
13   - Alexandre Belloni <alexandre.belloni@bootlin.com>
14
15 properties:
16   compatible:
17     const: microcrystal,rv3032
18
19   reg:
20     maxItems: 1
21
22   interrupts:
23     maxItems: 1
24
25   start-year: true
26
27   trickle-resistor-ohms:
28     enum:
29       - 1000
30       - 2000
31       - 7000
32       - 11000
33
34   trickle-voltage-millivolt:
35     $ref: /schemas/types.yaml#/definitions/uint32
36     enum:
37       - 1750
38       - 3000
39       - 4400
40
41   wakeup-source: true
42
43 required:
44   - compatible
45   - reg
46
47 additionalProperties: false
48
49 examples:
50   - |
51     #include <dt-bindings/interrupt-controller/irq.h>
52     i2c {
53         #address-cells = <1>;
54         #size-cells = <0>;
55
56         rtc@51 {
57             compatible = "microcrystal,rv3032";
58             reg = <0x51>;
59             pinctrl-0 = <&rtc_nint_pins>;
60             interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>;
61             trickle-resistor-ohms = <7000>;
62             trickle-voltage-millivolt = <1750>;
63         };
64     };
65
66 ...