Real Time Clock Common Properties

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

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

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

This document describes generic bindings which can be used to describe Real Time Clock devices in a device tree.

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^rtc(@.*|-([0-9]|[1-9][0-9]+))?$"

aux-voltage-chargeable — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

Tells whether the battery/supercap of the RTC (if any) is chargeable or not: 0: not chargeable 1: chargeable

quartz-load-femtofarads — not listed as required here #

The capacitive load of the quartz(x-tal), expressed in femto Farad (fF). The default value shall be listed (if optional), and likewise all valid values.

start-year — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

If provided, the default hardware range supported by the RTC is shifted so the first usable year is the specified one.

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

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Do not use internal trickle charger diode. Should be given if internal trickle charger diode should be disabled.

Deprecated (deprecated): true

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

Selected resistor for trickle charger. Should be given if trickle charger should be enabled.

trickle-voltage-millivolt — not listed as required here #

Selected voltage for trickle charger. Should be given if trickle charger should be enabled and the trickle voltage is different from the RTC main power supply.

wakeup-source — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Enables wake up of host system on alarm.

reset-source — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

The RTC is able to reset the machine.

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

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page