Staging
v0.7.0
https://github.com/torvalds/linux
Raw File
Tip revision: 5d0c230f1de8c7515b6567d9afba1f196fb4e2f4 authored by Linus Torvalds on 30 July 2023, 20:23:47 UTC
Linux 6.5-rc4
Tip revision: 5d0c230
ti,bq32000.yaml
# 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>;
            };
    };
back to top