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