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