1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/rtc/rtc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Real Time Clock Common Properties
10 - Alexandre Belloni <alexandre.belloni@bootlin.com>
13 This document describes generic bindings which can be used to
14 describe Real Time Clock devices in a device tree.
18 pattern: "^rtc(@.*|-([0-9]|[1-9][0-9]+))?$"
20 aux-voltage-chargeable:
21 $ref: /schemas/types.yaml#/definitions/uint32
24 Tells whether the battery/supercap of the RTC (if any) is
29 quartz-load-femtofarads:
31 The capacitive load of the quartz(x-tal), expressed in femto
32 Farad (fF). The default value shall be listed (if optional),
33 and likewise all valid values.
36 $ref: /schemas/types.yaml#/definitions/uint32
38 If provided, the default hardware range supported by the RTC is
39 shifted so the first usable year is the specified one.
41 trickle-diode-disable:
42 $ref: /schemas/types.yaml#/definitions/flag
44 Do not use internal trickle charger diode. Should be given if
45 internal trickle charger diode should be disabled.
48 trickle-resistor-ohms:
50 Selected resistor for trickle charger. Should be given
51 if trickle charger should be enabled.
53 trickle-voltage-millivolt:
55 Selected voltage for trickle charger. Should be given
56 if trickle charger should be enabled and the trickle voltage is different
57 from the RTC main power supply.
60 $ref: /schemas/types.yaml#/definitions/flag
62 Enables wake up of host system on alarm.
65 $ref: /schemas/types.yaml#/definitions/flag
67 The RTC is able to reset the machine.
69 additionalProperties: true