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