18cc087a1SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 28cc087a1SEmmanuel Vadot%YAML 1.2 38cc087a1SEmmanuel Vadot--- 48cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/rtc/mstar,msc313-rtc.yaml# 58cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 68cc087a1SEmmanuel Vadot 77ef62cebSEmmanuel Vadottitle: Mstar MSC313e RTC 88cc087a1SEmmanuel Vadot 98cc087a1SEmmanuel VadotallOf: 10*fac71e4eSEmmanuel Vadot - $ref: rtc.yaml# 118cc087a1SEmmanuel Vadot 128cc087a1SEmmanuel Vadotmaintainers: 138cc087a1SEmmanuel Vadot - Daniel Palmer <daniel@0x0f.com> 148cc087a1SEmmanuel Vadot - Romain Perier <romain.perier@gmail.com> 158cc087a1SEmmanuel Vadot 168cc087a1SEmmanuel Vadotproperties: 178cc087a1SEmmanuel Vadot compatible: 188cc087a1SEmmanuel Vadot enum: 198cc087a1SEmmanuel Vadot - mstar,msc313-rtc 208cc087a1SEmmanuel Vadot 218cc087a1SEmmanuel Vadot reg: 228cc087a1SEmmanuel Vadot maxItems: 1 238cc087a1SEmmanuel Vadot 248cc087a1SEmmanuel Vadot interrupts: 258cc087a1SEmmanuel Vadot maxItems: 1 268cc087a1SEmmanuel Vadot 278cc087a1SEmmanuel Vadot start-year: true 288cc087a1SEmmanuel Vadot 298cc087a1SEmmanuel Vadot clocks: 308cc087a1SEmmanuel Vadot maxItems: 1 318cc087a1SEmmanuel Vadot 328cc087a1SEmmanuel Vadotrequired: 338cc087a1SEmmanuel Vadot - compatible 348cc087a1SEmmanuel Vadot - reg 358cc087a1SEmmanuel Vadot - interrupts 368cc087a1SEmmanuel Vadot - clocks 378cc087a1SEmmanuel Vadot 388cc087a1SEmmanuel VadotadditionalProperties: false 398cc087a1SEmmanuel Vadot 408cc087a1SEmmanuel Vadotexamples: 418cc087a1SEmmanuel Vadot - | 428cc087a1SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 438cc087a1SEmmanuel Vadot rtc@2400 { 448cc087a1SEmmanuel Vadot compatible = "mstar,msc313-rtc"; 458cc087a1SEmmanuel Vadot reg = <0x2400 0x40>; 468cc087a1SEmmanuel Vadot clocks = <&xtal_div2>; 478cc087a1SEmmanuel Vadot interrupts-extended = <&intc_irq GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; 488cc087a1SEmmanuel Vadot }; 498cc087a1SEmmanuel Vadot... 50