50 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/rtc/mstar,msc313-rtc.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Mstar MSC313e RTC8 9allOf:10 - $ref: rtc.yaml#11 12maintainers:13 - Daniel Palmer <daniel@0x0f.com>14 - Romain Perier <romain.perier@gmail.com>15 16properties:17 compatible:18 enum:19 - mstar,msc313-rtc20 21 reg:22 maxItems: 123 24 interrupts:25 maxItems: 126 27 start-year: true28 29 clocks:30 maxItems: 131 32required:33 - compatible34 - reg35 - interrupts36 - clocks37 38additionalProperties: false39 40examples:41 - |42 #include <dt-bindings/interrupt-controller/arm-gic.h>43 rtc@2400 {44 compatible = "mstar,msc313-rtc";45 reg = <0x2400 0x40>;46 clocks = <&xtal_div2>;47 interrupts-extended = <&intc_irq GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;48 };49...50