1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/rtc/adi,max31335.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices MAX31335 RTC
10 - Antoniu Miclaus <antoniu.miclaus@analog.com>
13 Analog Devices MAX31335 I2C RTC ±2ppm Automotive Real-Time Clock with
14 Integrated MEMS Resonator.
31 RTC can be used as a clock source through its clock output pin.
36 Select the diode configuration for the trickle charger.
37 schottky - Schottky diode in series.
38 standard+schottky - standard diode + Schottky diode in series.
39 enum: [schottky, standard+schottky]
41 trickle-resistor-ohms:
43 Selected resistor for trickle charger. Should be specified if trickle
44 charger should be enabled.
45 enum: [3000, 6000, 11000]
51 unevaluatedProperties: false
55 #include <dt-bindings/interrupt-controller/irq.h>
61 compatible = "adi,max31335";
63 pinctrl-0 = <&rtc_nint_pins>;
64 interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>;
65 aux-voltage-chargeable = <1>;
66 trickle-resistor-ohms = <6000>;
67 adi,tc-diode = "schottky";