TI BQ32000 I2C Serial Real-Time Clock

Schema identifier ($id): "http://devicetree.org/schemas/rtc/ti,bq32000.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Alexandre Belloni <alexandre.belloni@bootlin.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): rtc.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,bq32000"

reg — required here #

Exact value (const): 104

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

start-year — not listed as required here #

true — No constraints added by this property rule.

trickle-resistor-ohms — not listed as required here #

Allowed values (enum): 1120, 20180

trickle-diode-disable — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

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

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page