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 75ebe59a5SAlexandre Bellonititle: Microchip RV-3032 RTC Device Tree Bindings 85ebe59a5SAlexandre Belloni 95ebe59a5SAlexandre BelloniallOf: 105ebe59a5SAlexandre Belloni - $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: 355ebe59a5SAlexandre Belloni enum: 365ebe59a5SAlexandre Belloni - 1750 375ebe59a5SAlexandre Belloni - 3000 385ebe59a5SAlexandre Belloni - 4400 395ebe59a5SAlexandre Belloni 405ebe59a5SAlexandre Bellonirequired: 415ebe59a5SAlexandre Belloni - compatible 425ebe59a5SAlexandre Belloni - reg 435ebe59a5SAlexandre Belloni 445ebe59a5SAlexandre BelloniadditionalProperties: false 455ebe59a5SAlexandre Belloni 465ebe59a5SAlexandre Belloniexamples: 475ebe59a5SAlexandre Belloni - | 485ebe59a5SAlexandre Belloni #include <dt-bindings/interrupt-controller/irq.h> 495ebe59a5SAlexandre Belloni i2c { 505ebe59a5SAlexandre Belloni #address-cells = <1>; 515ebe59a5SAlexandre Belloni #size-cells = <0>; 525ebe59a5SAlexandre Belloni 535ebe59a5SAlexandre Belloni rtc@51 { 545ebe59a5SAlexandre Belloni compatible = "microcrystal,rv3032"; 555ebe59a5SAlexandre Belloni reg = <0x51>; 565ebe59a5SAlexandre Belloni status = "okay"; 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