Merge tag 'linux-kselftest-kunit-5.15-rc1' of git://git.kernel.org/pub/scm/linux...
[linux-2.6-microblaze.git] / Documentation / devicetree / 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 Device Tree Bindings
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     enum:
36       - 1750
37       - 3000
38       - 4400
39
40 required:
41   - compatible
42   - reg
43
44 additionalProperties: false
45
46 examples:
47   - |
48     #include <dt-bindings/interrupt-controller/irq.h>
49     i2c {
50         #address-cells = <1>;
51         #size-cells = <0>;
52
53         rtc@51 {
54             compatible = "microcrystal,rv3032";
55             reg = <0x51>;
56             pinctrl-0 = <&rtc_nint_pins>;
57             interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>;
58             trickle-resistor-ohms = <7000>;
59             trickle-voltage-millivolt = <1750>;
60         };
61     };
62
63 ...