103 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/rtc/rtc-ds1307.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Dallas DS1307 and compatible RTC8 9maintainers:10 - Alexandre Belloni <alexandre.belloni@bootlin.com>11 12properties:13 compatible:14 oneOf:15 - enum:16 - dallas,ds130717 - dallas,ds130818 - dallas,ds133719 - dallas,ds133820 - dallas,ds133921 - dallas,ds138822 - dallas,ds134023 - dallas,ds134124 - maxim,ds323125 - st,m41t026 - st,m41t0027 - st,m41t1128 - microchip,mcp7940x29 - microchip,mcp7941x30 - pericom,pt7c433831 - epson,rx802532 - isil,isl1205733 - epson,rx813034 35 - items:36 - enum:37 - st,m41t0038 - const: dallas,ds133839 40 reg:41 maxItems: 142 43 interrupts:44 minItems: 145 maxItems: 246 47 interrupt-names:48 maxItems: 249 50 "#clock-cells":51 const: 152 53 clock-output-names:54 description: From common clock binding to override the default output clock name.55 56 wakeup-source:57 description: Enables wake up of host system on alarm.58 59 vcc-supply: true60 61allOf:62 - $ref: rtc.yaml63 - if:64 properties:65 compatible:66 contains:67 enum:68 - dallas,ds133969 - dallas,ds134070 - dallas,ds138871 then:72 properties:73 trickle-resistor-ohms:74 description: Selected resistor for trickle charger. Should be specified if trickle75 charger should be enabled.76 enum: [ 250, 2000, 4000 ]77 78 trickle-diode-disable:79 description: Do not use internal trickle charger diode. Should be given if internal80 trickle charger diode should be disabled (superseded by aux-voltage-chargeable)81 deprecated: true82 83unevaluatedProperties: false84 85required:86 - compatible87 - reg88 89examples:90 - |91 i2c {92 #address-cells = <1>;93 #size-cells = <0>;94 95 rtc@68 {96 compatible = "dallas,ds1337";97 reg = <0x68>;98 interrupt-parent = <&gpio4>;99 interrupts = <20 0>;100 trickle-resistor-ohms = <250>;101 };102 };103