xref: /freebsd/sys/contrib/device-tree/Bindings/rtc/ti,bq32000.yaml (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/rtc/ti,bq32000.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: TI BQ32000 I2C Serial Real-Time Clock
8
9maintainers:
10  - Alexandre Belloni <alexandre.belloni@bootlin.com>
11
12allOf:
13  - $ref: rtc.yaml#
14
15properties:
16  compatible:
17    const: ti,bq32000
18
19  reg:
20    const: 0x68
21
22  interrupts:
23    maxItems: 1
24
25  start-year: true
26
27  trickle-resistor-ohms:
28    enum: [ 1120, 20180 ]
29
30  trickle-diode-disable: true
31
32required:
33  - compatible
34  - reg
35
36additionalProperties: false
37
38examples:
39  - |
40    i2c {
41            #address-cells = <1>;
42            #size-cells = <0>;
43
44            bq32000: rtc@68 {
45                    compatible = "ti,bq32000";
46                    reg = <0x68>;
47                    trickle-resistor-ohms = <1120>;
48            };
49    };
50