58 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/rtc-mxc.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Real Time Clock of the i.MX SoCs8 9allOf:10 - $ref: rtc.yaml#11 12maintainers:13 - Philippe Reynes <tremyfr@gmail.com>14 15properties:16 compatible:17 enum:18 - fsl,imx1-rtc19 - fsl,imx21-rtc20 21 reg:22 maxItems: 123 24 interrupts:25 maxItems: 126 27 clocks:28 items:29 - description: input reference30 - description: the SoC RTC clock31 32 clock-names:33 items:34 - const: ref35 - const: ipg36 37required:38 - compatible39 - reg40 - interrupts41 - clocks42 - clock-names43 44additionalProperties: false45 46examples:47 - |48 #include <dt-bindings/clock/imx27-clock.h>49 50 rtc@10007000 {51 compatible = "fsl,imx21-rtc";52 reg = <0x10007000 0x1000>;53 interrupts = <22>;54 clocks = <&clks IMX27_CLK_CKIL>,55 <&clks IMX27_CLK_RTC_IPG_GATE>;56 clock-names = "ref", "ipg";57 };58