xref: /linux/Documentation/devicetree/bindings/mmc/mxs-mmc.yaml (revision e65b85dd0cf1cc2c0453756e468ee9271822ec0b)
167a69dabSAnson Huang# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
267a69dabSAnson Huang%YAML 1.2
367a69dabSAnson Huang---
467a69dabSAnson Huang$id: http://devicetree.org/schemas/mmc/mxs-mmc.yaml#
567a69dabSAnson Huang$schema: http://devicetree.org/meta-schemas/core.yaml#
667a69dabSAnson Huang
767a69dabSAnson Huangtitle: Freescale MXS MMC controller
867a69dabSAnson Huang
967a69dabSAnson Huangmaintainers:
10*e65b85ddSFabio Estevam  - Shawn Guo <shawnguo@kernel.org>
1167a69dabSAnson Huang
1267a69dabSAnson Huangdescription: |
1367a69dabSAnson Huang  The Freescale MXS Synchronous Serial Ports (SSP) can act as a MMC controller
1467a69dabSAnson Huang  to support MMC, SD, and SDIO types of memory cards.
1567a69dabSAnson Huang
1667a69dabSAnson Huang  This file documents differences between the core properties in mmc.txt
1767a69dabSAnson Huang  and the properties used by the mxsmmc driver.
1867a69dabSAnson Huang
1967a69dabSAnson HuangallOf:
2067a69dabSAnson Huang  - $ref: "mmc-controller.yaml"
2167a69dabSAnson Huang
2267a69dabSAnson Huangproperties:
2367a69dabSAnson Huang  compatible:
2467a69dabSAnson Huang    enum:
2567a69dabSAnson Huang      - fsl,imx23-mmc
2667a69dabSAnson Huang      - fsl,imx28-mmc
2767a69dabSAnson Huang
2867a69dabSAnson Huang  reg:
2967a69dabSAnson Huang    maxItems: 1
3067a69dabSAnson Huang
3167a69dabSAnson Huang  interrupts:
3267a69dabSAnson Huang    maxItems: 1
3367a69dabSAnson Huang
3467a69dabSAnson Huang  dmas:
3567a69dabSAnson Huang    maxItems: 1
3667a69dabSAnson Huang
3767a69dabSAnson Huang  dma-names:
3867a69dabSAnson Huang    const: rx-tx
3967a69dabSAnson Huang
4067a69dabSAnson Huangrequired:
4167a69dabSAnson Huang  - compatible
4267a69dabSAnson Huang  - reg
4367a69dabSAnson Huang  - interrupts
4467a69dabSAnson Huang  - dmas
4567a69dabSAnson Huang  - dma-names
4667a69dabSAnson Huang
4767a69dabSAnson HuangunevaluatedProperties: false
4867a69dabSAnson Huang
4967a69dabSAnson Huangexamples:
5067a69dabSAnson Huang  - |
5167a69dabSAnson Huang    mmc@80010000 {
5267a69dabSAnson Huang        compatible = "fsl,imx28-mmc";
5367a69dabSAnson Huang        reg = <0x80010000 2000>;
5467a69dabSAnson Huang        interrupts = <96>;
5567a69dabSAnson Huang        dmas = <&dma_apbh 0>;
5667a69dabSAnson Huang        dma-names = "rx-tx";
5767a69dabSAnson Huang        bus-width = <8>;
5867a69dabSAnson Huang    };
59