1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/mmc/fsl-imx-mmc.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Freescale Secure Digital Host Controller for i.MX2/3 series 8 9maintainers: 10 - Markus Pargmann <mpa@pengutronix.de> 11 12allOf: 13 - $ref: mmc-controller.yaml 14 15properties: 16 compatible: 17 oneOf: 18 - const: fsl,imx21-mmc 19 - const: fsl,imx31-mmc 20 - items: 21 - const: fsl,imx27-mmc 22 - const: fsl,imx21-mmc 23 24 reg: 25 maxItems: 1 26 27 clocks: 28 maxItems: 2 29 30 clock-names: 31 items: 32 - const: ipg 33 - const: per 34 35 interrupts: 36 maxItems: 1 37 38 dmas: 39 maxItems: 1 40 41 dma-names: 42 const: rx-tx 43 44required: 45 - clocks 46 - clock-names 47 - compatible 48 - reg 49 - interrupts 50 51unevaluatedProperties: false 52 53examples: 54 - | 55 mmc@10014000 { 56 compatible = "fsl,imx27-mmc", "fsl,imx21-mmc"; 57 reg = <0x10014000 0x1000>; 58 interrupts = <11>; 59 clocks = <&clks 29>, <&clks 60>; 60 clock-names = "ipg", "per"; 61 dmas = <&dma 7>; 62 dma-names = "rx-tx"; 63 bus-width = <4>; 64 cd-gpios = <&gpio3 29>; 65 }; 66