15ebe59a5SAlexandre Belloni# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
25ebe59a5SAlexandre Belloni%YAML 1.2
35ebe59a5SAlexandre Belloni---
45ebe59a5SAlexandre Belloni$id: http://devicetree.org/schemas/rtc/microcrystal,rv3032.yaml#
55ebe59a5SAlexandre Belloni$schema: http://devicetree.org/meta-schemas/core.yaml#
65ebe59a5SAlexandre Belloni
7dd3cb467SAndrew Lunntitle: Microchip RV-3032 RTC
85ebe59a5SAlexandre Belloni
95ebe59a5SAlexandre BelloniallOf:
10*ab0fccc3SRob Herring  - $ref: rtc.yaml#
115ebe59a5SAlexandre Belloni
125ebe59a5SAlexandre Bellonimaintainers:
135ebe59a5SAlexandre Belloni  - Alexandre Belloni <alexandre.belloni@bootlin.com>
145ebe59a5SAlexandre Belloni
155ebe59a5SAlexandre Belloniproperties:
165ebe59a5SAlexandre Belloni  compatible:
175ebe59a5SAlexandre Belloni    const: microcrystal,rv3032
185ebe59a5SAlexandre Belloni
195ebe59a5SAlexandre Belloni  reg:
205ebe59a5SAlexandre Belloni    maxItems: 1
215ebe59a5SAlexandre Belloni
225ebe59a5SAlexandre Belloni  interrupts:
235ebe59a5SAlexandre Belloni    maxItems: 1
245ebe59a5SAlexandre Belloni
255ebe59a5SAlexandre Belloni  start-year: true
265ebe59a5SAlexandre Belloni
275ebe59a5SAlexandre Belloni  trickle-resistor-ohms:
285ebe59a5SAlexandre Belloni    enum:
295ebe59a5SAlexandre Belloni      - 1000
305ebe59a5SAlexandre Belloni      - 2000
315ebe59a5SAlexandre Belloni      - 7000
325ebe59a5SAlexandre Belloni      - 11000
335ebe59a5SAlexandre Belloni
345ebe59a5SAlexandre Belloni  trickle-voltage-millivolt:
3528303201SRob Herring    $ref: /schemas/types.yaml#/definitions/uint32
365ebe59a5SAlexandre Belloni    enum:
375ebe59a5SAlexandre Belloni      - 1750
385ebe59a5SAlexandre Belloni      - 3000
395ebe59a5SAlexandre Belloni      - 4400
405ebe59a5SAlexandre Belloni
415ebe59a5SAlexandre Bellonirequired:
425ebe59a5SAlexandre Belloni  - compatible
435ebe59a5SAlexandre Belloni  - reg
445ebe59a5SAlexandre Belloni
455ebe59a5SAlexandre BelloniadditionalProperties: false
465ebe59a5SAlexandre Belloni
475ebe59a5SAlexandre Belloniexamples:
485ebe59a5SAlexandre Belloni  - |
495ebe59a5SAlexandre Belloni    #include <dt-bindings/interrupt-controller/irq.h>
505ebe59a5SAlexandre Belloni    i2c {
515ebe59a5SAlexandre Belloni        #address-cells = <1>;
525ebe59a5SAlexandre Belloni        #size-cells = <0>;
535ebe59a5SAlexandre Belloni
545ebe59a5SAlexandre Belloni        rtc@51 {
555ebe59a5SAlexandre Belloni            compatible = "microcrystal,rv3032";
565ebe59a5SAlexandre Belloni            reg = <0x51>;
575ebe59a5SAlexandre Belloni            pinctrl-0 = <&rtc_nint_pins>;
585ebe59a5SAlexandre Belloni            interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>;
595ebe59a5SAlexandre Belloni            trickle-resistor-ohms = <7000>;
605ebe59a5SAlexandre Belloni            trickle-voltage-millivolt = <1750>;
615ebe59a5SAlexandre Belloni        };
625ebe59a5SAlexandre Belloni    };
635ebe59a5SAlexandre Belloni
645ebe59a5SAlexandre Belloni...
65