Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/mmc/fsl-imx-mmc.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Freescale Secure Digital Host Controller for i.MX2/3 series
0008 
0009 maintainers:
0010   - Markus Pargmann <mpa@pengutronix.de>
0011 
0012 allOf:
0013   - $ref: "mmc-controller.yaml"
0014 
0015 properties:
0016   compatible:
0017     oneOf:
0018       - const: fsl,imx21-mmc
0019       - const: fsl,imx31-mmc
0020       - items:
0021           - const: fsl,imx27-mmc
0022           - const: fsl,imx21-mmc
0023 
0024   reg:
0025     maxItems: 1
0026 
0027   interrupts:
0028     maxItems: 1
0029 
0030   dmas:
0031     maxItems: 1
0032 
0033   dma-names:
0034     const: rx-tx
0035 
0036 required:
0037   - compatible
0038   - reg
0039   - interrupts
0040 
0041 unevaluatedProperties: false
0042 
0043 examples:
0044   - |
0045     mmc@10014000 {
0046         compatible = "fsl,imx27-mmc", "fsl,imx21-mmc";
0047         reg = <0x10014000 0x1000>;
0048         interrupts = <11>;
0049         dmas = <&dma 7>;
0050         dma-names = "rx-tx";
0051         bus-width = <4>;
0052         cd-gpios = <&gpio3 29>;
0053     };