1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/rtc/microchip,pic32mzda-rtc.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Microchip PIC32 Real Time Clock and Calendar 8 9maintainers: 10 - Alexandre Belloni <alexandre.belloni@bootlin.com> 11 12description: | 13 The Microchip PIC32 Real Time Clock and Calendar (RTCC) keeps time in hours, 14 minutes, seconds, and one half second. It also provides a calendar with 15 weekday, date, month, and year, along with a configurable alarm. 16 17allOf: 18 - $ref: rtc.yaml# 19 20properties: 21 compatible: 22 const: microchip,pic32mzda-rtc 23 24 reg: 25 maxItems: 1 26 27 interrupts: 28 maxItems: 1 29 30 clocks: 31 maxItems: 1 32 33required: 34 - compatible 35 - reg 36 - interrupts 37 - clocks 38 39additionalProperties: false 40 41examples: 42 - | 43 #include <dt-bindings/interrupt-controller/irq.h> 44 45 rtc@1f8c0000 { 46 compatible = "microchip,pic32mzda-rtc"; 47 reg = <0x1f8c0000 0x60>; 48 interrupts = <166 IRQ_TYPE_EDGE_RISING>; 49 clocks = <&PBCLK6>; 50 }; 51