0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/mmc/mxs-mmc.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Freescale MXS MMC controller
0008
0009 maintainers:
0010 - Shawn Guo <shawnguo@kernel.org>
0011
0012 description: |
0013 The Freescale MXS Synchronous Serial Ports (SSP) can act as a MMC controller
0014 to support MMC, SD, and SDIO types of memory cards.
0015
0016 This file documents differences between the core properties in mmc.txt
0017 and the properties used by the mxsmmc driver.
0018
0019 allOf:
0020 - $ref: "mmc-controller.yaml"
0021
0022 properties:
0023 compatible:
0024 enum:
0025 - fsl,imx23-mmc
0026 - fsl,imx28-mmc
0027
0028 reg:
0029 maxItems: 1
0030
0031 interrupts:
0032 maxItems: 1
0033
0034 dmas:
0035 maxItems: 1
0036
0037 dma-names:
0038 const: rx-tx
0039
0040 required:
0041 - compatible
0042 - reg
0043 - interrupts
0044 - dmas
0045 - dma-names
0046
0047 unevaluatedProperties: false
0048
0049 examples:
0050 - |
0051 mmc@80010000 {
0052 compatible = "fsl,imx28-mmc";
0053 reg = <0x80010000 2000>;
0054 interrupts = <96>;
0055 dmas = <&dma_apbh 0>;
0056 dma-names = "rx-tx";
0057 bus-width = <8>;
0058 };