1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/mmc/ti,omap2420-mmc.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Texas Instruments MMC host controller for OMAP1 and 2420 8 9maintainers: 10 - Eduard Bostina <egbostina@gmail.com> 11 12description: | 13 The MMC Host Controller on TI OMAP1 and 2420 family provides 14 an interface for MMC, SD, and SDIO types of memory cards. 15 16allOf: 17 - $ref: /schemas/mmc/mmc-controller.yaml# 18 19properties: 20 compatible: 21 const: ti,omap2420-mmc 22 23 reg: 24 maxItems: 1 25 26 interrupts: 27 maxItems: 1 28 29 ti,hwmods: 30 description: | 31 Name of the hwmod associated to the MMC controller. Must be 32 "msdi<n>" where n is the controller instance starting from 1. 33 $ref: /schemas/types.yaml#/definitions/string 34 pattern: "^msdi([1-9]|[1-9][0-9]+)$" 35 36 dmas: 37 maxItems: 2 38 39 dma-names: 40 items: 41 - const: tx 42 - const: rx 43 44required: 45 - compatible 46 - reg 47 - interrupts 48 49unevaluatedProperties: false 50 51examples: 52 - | 53 mmc@4809c000 { 54 compatible = "ti,omap2420-mmc"; 55 ti,hwmods = "msdi1"; 56 reg = <0x4809c000 0x80>; 57 interrupts = <83>; 58 dmas = <&sdma 61 &sdma 62>; 59 dma-names = "tx", "rx"; 60 }; 61