Documentation / devicetree / bindings / mmc / ti,omap2420-mmc.yaml


Based on kernel version 7.3. Page generated on 2026-10-19 13:17 EDT.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/mmc/ti,omap2420-mmc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Texas Instruments MMC host controller for OMAP1 and 2420

maintainers:
  - Eduard Bostina <egbostina@gmail.com>

description: |
  The MMC Host Controller on TI OMAP1 and 2420 family provides
  an interface for MMC, SD, and SDIO types of memory cards.

allOf:
  - $ref: /schemas/mmc/mmc-controller.yaml#

properties:
  compatible:
    const: ti,omap2420-mmc

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  ti,hwmods:
    description: |
      Name of the hwmod associated to the MMC controller. Must be
      "msdi<n>" where n is the controller instance starting from 1.
    $ref: /schemas/types.yaml#/definitions/string
    pattern: "^msdi([1-9]|[1-9][0-9]+)$"

  dmas:
    maxItems: 2

  dma-names:
    items:
      - const: tx
      - const: rx

required:
  - compatible
  - reg
  - interrupts

unevaluatedProperties: false

examples:
  - |
    mmc@4809c000 {
        compatible = "ti,omap2420-mmc";
        ti,hwmods = "msdi1";
        reg = <0x4809c000 0x80>;
        interrupts = <83>;
        dmas = <&sdma 61 &sdma 62>;
        dma-names = "tx", "rx";
    };