summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/rtc/ti,bq32000.yaml
blob: bf9c1c4ddb7e504fd9f198aee61b6bbea17e4703 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/rtc/ti,bq32000.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: TI BQ32000 I2C Serial Real-Time Clock

maintainers:
  - Alexandre Belloni <alexandre.belloni@bootlin.com>

allOf:
  - $ref: rtc.yaml#

properties:
  compatible:
    const: ti,bq32000

  reg:
    const: 0x68

  interrupts:
    maxItems: 1

  start-year: true

  trickle-resistor-ohms:
    enum: [ 1120, 20180 ]

  trickle-diode-disable: true

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    i2c {
            #address-cells = <1>;
            #size-cells = <0>;

            bq32000: rtc@68 {
                    compatible = "ti,bq32000";
                    reg = <0x68>;
                    trickle-resistor-ohms = <1120>;
            };
    };