xref: /linux/Documentation/devicetree/bindings/mmc/mxs-mmc.yaml (revision 1622d35453132a1acd6d650175f9f45e4bcf553e)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mmc/mxs-mmc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale MXS MMC controller
8
9maintainers:
10  - Shawn Guo <shawnguo@kernel.org>
11
12description: |
13  The Freescale MXS Synchronous Serial Ports (SSP) can act as a MMC controller
14  to support MMC, SD, and SDIO types of memory cards.
15
16  This file documents differences between the core properties in mmc.txt
17  and the properties used by the mxsmmc driver.
18
19allOf:
20  - $ref: "mmc-controller.yaml"
21
22properties:
23  compatible:
24    enum:
25      - fsl,imx23-mmc
26      - fsl,imx28-mmc
27
28  reg:
29    maxItems: 1
30
31  interrupts:
32    maxItems: 1
33
34  dmas:
35    maxItems: 1
36
37  dma-names:
38    const: rx-tx
39
40required:
41  - compatible
42  - reg
43  - interrupts
44  - dmas
45  - dma-names
46
47unevaluatedProperties: false
48
49examples:
50  - |
51    mmc@80010000 {
52        compatible = "fsl,imx28-mmc";
53        reg = <0x80010000 2000>;
54        interrupts = <96>;
55        dmas = <&dma_apbh 0>;
56        dma-names = "rx-tx";
57        bus-width = <8>;
58    };
59