1# SPDX-License-Identifier: GPL-2.0 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/rtc/rtc.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: RTC Generic Binding 8 9maintainers: 10 - Alexandre Belloni <alexandre.belloni@bootlin.com> 11 12description: | 13 This document describes generic bindings which can be used to 14 describe Real Time Clock devices in a device tree. 15 16properties: 17 $nodename: 18 pattern: "^rtc(@.*|-[0-9a-f])*$" 19 20 quartz-load-femtofarads: 21 $ref: /schemas/types.yaml#/definitions/uint32 22 description: 23 The capacitive load of the quartz(x-tal), expressed in femto 24 Farad (fF). The default value shall be listed (if optional), 25 and likewise all valid values. 26 27 start-year: 28 $ref: /schemas/types.yaml#/definitions/uint32 29 description: 30 If provided, the default hardware range supported by the RTC is 31 shifted so the first usable year is the specified one. 32 33 trickle-diode-disable: 34 $ref: /schemas/types.yaml#/definitions/flag 35 description: 36 Do not use internal trickle charger diode. Should be given if 37 internal trickle charger diode should be disabled. 38 39 trickle-resistor-ohms: 40 $ref: /schemas/types.yaml#/definitions/uint32 41 description: 42 Selected resistor for trickle charger. Should be given 43 if trickle charger should be enabled. 44 45 wakeup-source: 46 $ref: /schemas/types.yaml#/definitions/flag 47 description: 48 Enables wake up of host system on alarm. 49 50... 51