Debian Codegraph @

Documentation/devicetree/bindings/rtc/fsl,stmp3xxx-rtc.yaml

raw
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/rtc/fsl,stmp3xxx-rtc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: STMP3xxx/i.MX28 Time Clock Controller
8
9 maintainers:
10 - Javier Carrasco <[email protected]>
11
12 allOf:
13 - $ref: rtc.yaml#
14
15 properties:
16 compatible:
17 oneOf:
18 - items:
19 - enum:
20 - fsl,imx28-rtc
21 - fsl,imx23-rtc
22 - const: fsl,stmp3xxx-rtc
23 - const: fsl,stmp3xxx-rtc
24
25 reg:
26 maxItems: 1
27
28 interrupts:
29 maxItems: 1
30
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/uint32
36 enum: [0, 32000, 32768]
37
38 required:
39 - compatible
40 - reg
41 - interrupts
42
43 unevaluatedProperties: false
44
45 examples:
46 - |
47 rtc@80056000 {
48 compatible = "fsl,imx28-rtc", "fsl,stmp3xxx-rtc";
49 reg = <0x80056000 2000>;
50 interrupts = <29>;
51 };