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,rv3032.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Microchip RV-3032 RTC 8 9allOf: 10 - $ref: rtc.yaml# 11 12maintainers: 13 - Alexandre Belloni <alexandre.belloni@bootlin.com> 14 15properties: 16 compatible: 17 const: microcrystal,rv3032 18 19 reg: 20 maxItems: 1 21 22 interrupts: 23 maxItems: 1 24 25 start-year: true 26 27 trickle-resistor-ohms: 28 enum: 29 - 1000 30 - 2000 31 - 7000 32 - 11000 33 34 trickle-voltage-millivolt: 35 $ref: /schemas/types.yaml#/definitions/uint32 36 enum: 37 - 1750 38 - 3000 39 - 4400 40 41required: 42 - compatible 43 - reg 44 45additionalProperties: false 46 47examples: 48 - | 49 #include <dt-bindings/interrupt-controller/irq.h> 50 i2c { 51 #address-cells = <1>; 52 #size-cells = <0>; 53 54 rtc@51 { 55 compatible = "microcrystal,rv3032"; 56 reg = <0x51>; 57 pinctrl-0 = <&rtc_nint_pins>; 58 interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>; 59 trickle-resistor-ohms = <7000>; 60 trickle-voltage-millivolt = <1750>; 61 }; 62 }; 63 64... 65