blob: 7911316fbd6ae27e6315b27fa2ef5842808022b9 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mmc/fsl-imx-mmc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale Secure Digital Host Controller for i.MX2/3 series
8
9maintainers:
10 - Markus Pargmann <mpa@pengutronix.de>
11
12allOf:
13 - $ref: mmc-controller.yaml
14
15properties:
16 compatible:
17 oneOf:
18 - const: fsl,imx21-mmc
19 - const: fsl,imx31-mmc
20 - items:
21 - const: fsl,imx27-mmc
22 - const: fsl,imx21-mmc
23
24 reg:
25 maxItems: 1
26
Tom Rini6bb92fc2024-05-20 09:54:58 -060027 clocks:
28 maxItems: 2
29
30 clock-names:
31 items:
32 - const: ipg
33 - const: per
34
Tom Rini53633a82024-02-29 12:33:36 -050035 interrupts:
36 maxItems: 1
37
38 dmas:
39 maxItems: 1
40
41 dma-names:
42 const: rx-tx
43
44required:
Tom Rini6bb92fc2024-05-20 09:54:58 -060045 - clocks
46 - clock-names
Tom Rini53633a82024-02-29 12:33:36 -050047 - compatible
48 - reg
49 - interrupts
50
51unevaluatedProperties: false
52
53examples:
54 - |
55 mmc@10014000 {
56 compatible = "fsl,imx27-mmc", "fsl,imx21-mmc";
57 reg = <0x10014000 0x1000>;
58 interrupts = <11>;
Tom Rini6bb92fc2024-05-20 09:54:58 -060059 clocks = <&clks 29>, <&clks 60>;
60 clock-names = "ipg", "per";
Tom Rini53633a82024-02-29 12:33:36 -050061 dmas = <&dma 7>;
62 dma-names = "rx-tx";
63 bus-width = <4>;
64 cd-gpios = <&gpio3 29>;
65 };