Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Freescale MXS MMC controller |
| 8 | |
| 9 | maintainers: |
| 10 | - Shawn Guo <shawnguo@kernel.org> |
| 11 | |
| 12 | description: | |
| 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 | |
| 19 | allOf: |
| 20 | - $ref: mmc-controller.yaml |
| 21 | |
| 22 | properties: |
| 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 | |
| 40 | required: |
| 41 | - compatible |
| 42 | - reg |
| 43 | - interrupts |
| 44 | - dmas |
| 45 | - dma-names |
| 46 | |
| 47 | unevaluatedProperties: false |
| 48 | |
| 49 | examples: |
| 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 | }; |