1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/rtc/microcrystal,rv3028.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Microchip RV-3028 RTC 8 9allOf: 10 - $ref: rtc.yaml# 11 12maintainers: 13 - Alexandre Belloni <alexandre.belloni@bootlin.com> 14 15properties: 16 compatible: 17 const: microcrystal,rv3028 18 19 reg: 20 maxItems: 1 21 22 interrupts: 23 maxItems: 1 24 25 "#clock-cells": 26 const: 0 27 28 trickle-resistor-ohms: 29 enum: 30 - 3000 31 - 5000 32 - 9000 33 - 15000 34 35 vdd-supply: true 36 37required: 38 - compatible 39 - reg 40 41unevaluatedProperties: false 42 43examples: 44 - | 45 #include <dt-bindings/interrupt-controller/irq.h> 46 i2c { 47 #address-cells = <1>; 48 #size-cells = <0>; 49 50 rtc@51 { 51 compatible = "microcrystal,rv3028"; 52 reg = <0x51>; 53 pinctrl-0 = <&rtc_nint_pins>; 54 interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>; 55 trickle-resistor-ohms = <3000>; 56 }; 57 }; 58 59... 60