Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / rtc / ti,bq32000.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/ti,bq32000.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: TI BQ32000 I2C Serial Real-Time Clock
8
9 maintainers:
10   - Alexandre Belloni <alexandre.belloni@bootlin.com>
11
12 allOf:
13   - $ref: rtc.yaml#
14
15 properties:
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
32 required:
33   - compatible
34   - reg
35
36 additionalProperties: false
37
38 examples:
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     };