1# 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
27  interrupts:
28    maxItems: 1
29
30  dmas:
31    maxItems: 1
32
33  dma-names:
34    const: rx-tx
35
36required:
37  - compatible
38  - reg
39  - interrupts
40
41unevaluatedProperties: false
42
43examples:
44  - |
45    mmc@10014000 {
46        compatible = "fsl,imx27-mmc", "fsl,imx21-mmc";
47        reg = <0x10014000 0x1000>;
48        interrupts = <11>;
49        dmas = <&dma 7>;
50        dma-names = "rx-tx";
51        bus-width = <4>;
52        cd-gpios = <&gpio3 29>;
53    };
54