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: RTC Generic Binding
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-9a-f])*$"
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:
30 $ref: /schemas/types.yaml#/definitions/uint32
32 The capacitive load of the quartz(x-tal), expressed in femto
33 Farad (fF). The default value shall be listed (if optional),
34 and likewise all valid values.
37 $ref: /schemas/types.yaml#/definitions/uint32
39 If provided, the default hardware range supported by the RTC is
40 shifted so the first usable year is the specified one.
42 trickle-diode-disable:
43 $ref: /schemas/types.yaml#/definitions/flag
45 Do not use internal trickle charger diode. Should be given if
46 internal trickle charger diode should be disabled.
49 trickle-resistor-ohms:
50 $ref: /schemas/types.yaml#/definitions/uint32
52 Selected resistor for trickle charger. Should be given
53 if trickle charger should be enabled.
55 trickle-voltage-millivolt:
57 Selected voltage for trickle charger. Should be given
58 if trickle charger should be enabled and the trickle voltage is different
59 from the RTC main power supply.
62 $ref: /schemas/types.yaml#/definitions/flag
64 Enables wake up of host system on alarm.
67 $ref: /schemas/types.yaml#/definitions/flag
69 The RTC is able to reset the machine.
71 additionalProperties: true