52 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/fsl,stmp3xxx-rtc.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: STMP3xxx/i.MX28 Time Clock Controller8 9maintainers:10 - Javier Carrasco <javier.carrasco.cruz@gmail.com>11 12allOf:13 - $ref: rtc.yaml#14 15properties:16 compatible:17 oneOf:18 - items:19 - enum:20 - fsl,imx28-rtc21 - fsl,imx23-rtc22 - const: fsl,stmp3xxx-rtc23 - const: fsl,stmp3xxx-rtc24 25 reg:26 maxItems: 127 28 interrupts:29 maxItems: 130 31 stmp,crystal-freq:32 description:33 Override crystal frequency as determined from fuse bits.34 Use <0> for "no crystal".35 $ref: /schemas/types.yaml#/definitions/uint3236 enum: [0, 32000, 32768]37 38required:39 - compatible40 - reg41 - interrupts42 43unevaluatedProperties: false44 45examples:46 - |47 rtc@80056000 {48 compatible = "fsl,imx28-rtc", "fsl,stmp3xxx-rtc";49 reg = <0x80056000 2000>;50 interrupts = <29>;51 };52