xref: /linux/Documentation/devicetree/bindings/mmc/fsl-imx-mmc.yaml (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
14f35f196SAnson Huang# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
24f35f196SAnson Huang%YAML 1.2
34f35f196SAnson Huang---
44f35f196SAnson Huang$id: http://devicetree.org/schemas/mmc/fsl-imx-mmc.yaml#
54f35f196SAnson Huang$schema: http://devicetree.org/meta-schemas/core.yaml#
64f35f196SAnson Huang
74f35f196SAnson Huangtitle: Freescale Secure Digital Host Controller for i.MX2/3 series
84f35f196SAnson Huang
94f35f196SAnson Huangmaintainers:
104f35f196SAnson Huang  - Markus Pargmann <mpa@pengutronix.de>
114f35f196SAnson Huang
124f35f196SAnson HuangallOf:
131e52a7e6SKrzysztof Kozlowski  - $ref: mmc-controller.yaml
144f35f196SAnson Huang
154f35f196SAnson Huangproperties:
164f35f196SAnson Huang  compatible:
174f35f196SAnson Huang    oneOf:
184f35f196SAnson Huang      - const: fsl,imx21-mmc
194f35f196SAnson Huang      - const: fsl,imx31-mmc
204f35f196SAnson Huang      - items:
214f35f196SAnson Huang          - const: fsl,imx27-mmc
224f35f196SAnson Huang          - const: fsl,imx21-mmc
234f35f196SAnson Huang
244f35f196SAnson Huang  reg:
254f35f196SAnson Huang    maxItems: 1
264f35f196SAnson Huang
27*a119357fSFabio Estevam  clocks:
28*a119357fSFabio Estevam    maxItems: 2
29*a119357fSFabio Estevam
30*a119357fSFabio Estevam  clock-names:
31*a119357fSFabio Estevam    items:
32*a119357fSFabio Estevam      - const: ipg
33*a119357fSFabio Estevam      - const: per
34*a119357fSFabio Estevam
354f35f196SAnson Huang  interrupts:
364f35f196SAnson Huang    maxItems: 1
374f35f196SAnson Huang
384f35f196SAnson Huang  dmas:
394f35f196SAnson Huang    maxItems: 1
404f35f196SAnson Huang
414f35f196SAnson Huang  dma-names:
424f35f196SAnson Huang    const: rx-tx
434f35f196SAnson Huang
444f35f196SAnson Huangrequired:
45*a119357fSFabio Estevam  - clocks
46*a119357fSFabio Estevam  - clock-names
474f35f196SAnson Huang  - compatible
484f35f196SAnson Huang  - reg
494f35f196SAnson Huang  - interrupts
504f35f196SAnson Huang
514f35f196SAnson HuangunevaluatedProperties: false
524f35f196SAnson Huang
534f35f196SAnson Huangexamples:
544f35f196SAnson Huang  - |
554f35f196SAnson Huang    mmc@10014000 {
564f35f196SAnson Huang        compatible = "fsl,imx27-mmc", "fsl,imx21-mmc";
574f35f196SAnson Huang        reg = <0x10014000 0x1000>;
584f35f196SAnson Huang        interrupts = <11>;
59*a119357fSFabio Estevam        clocks = <&clks 29>, <&clks 60>;
60*a119357fSFabio Estevam        clock-names = "ipg", "per";
614f35f196SAnson Huang        dmas = <&dma 7>;
624f35f196SAnson Huang        dma-names = "rx-tx";
634f35f196SAnson Huang        bus-width = <4>;
644f35f196SAnson Huang        cd-gpios = <&gpio3 29>;
654f35f196SAnson Huang    };
66