Rajendra Nayak | 46856a6 | 2012-03-12 20:32:37 +0530 | [diff] [blame] | 1 | * TI Highspeed MMC host controller for OMAP |
| 2 | |
| 3 | The Highspeed MMC Host Controller on TI OMAP family |
| 4 | provides an interface for MMC, SD, and SDIO types of memory cards. |
| 5 | |
Chris Ball | 4efafee | 2012-06-11 21:48:16 -0400 | [diff] [blame] | 6 | This file documents differences between the core properties described |
| 7 | by mmc.txt and the properties used by the omap_hsmmc driver. |
| 8 | |
Rajendra Nayak | 46856a6 | 2012-03-12 20:32:37 +0530 | [diff] [blame] | 9 | Required properties: |
| 10 | - compatible: |
| 11 | Should be "ti,omap2-hsmmc", for OMAP2 controllers |
| 12 | Should be "ti,omap3-hsmmc", for OMAP3 controllers |
Nishanth Menon | 59445b1 | 2014-02-13 23:45:48 -0600 | [diff] [blame] | 13 | Should be "ti,omap3-pre-es3-hsmmc" for OMAP3 controllers pre ES3.0 |
Rajendra Nayak | 46856a6 | 2012-03-12 20:32:37 +0530 | [diff] [blame] | 14 | Should be "ti,omap4-hsmmc", for OMAP4 controllers |
Andreas Fenkart | 2cd3a2a | 2014-05-29 10:28:00 +0200 | [diff] [blame^] | 15 | Should be "ti,am33xx-hsmmc", for AM335x controllers |
Rajendra Nayak | 46856a6 | 2012-03-12 20:32:37 +0530 | [diff] [blame] | 16 | - ti,hwmods: Must be "mmc<n>", n is controller instance starting 1 |
Rajendra Nayak | 46856a6 | 2012-03-12 20:32:37 +0530 | [diff] [blame] | 17 | |
| 18 | Optional properties: |
| 19 | ti,dual-volt: boolean, supports dual voltage cards |
| 20 | <supply-name>-supply: phandle to the regulator device tree node |
| 21 | "supply-name" examples are "vmmc", "vmmc_aux" etc |
Rajendra Nayak | 46856a6 | 2012-03-12 20:32:37 +0530 | [diff] [blame] | 22 | ti,non-removable: non-removable slot (like eMMC) |
| 23 | ti,needs-special-reset: Requires a special softreset sequence |
Hebbar, Gururaja | cd58709 | 2012-11-19 21:59:58 +0530 | [diff] [blame] | 24 | ti,needs-special-hs-handling: HSMMC IP needs special setting for handling High Speed |
Matt Porter | 55b4452 | 2013-09-10 14:24:39 -0500 | [diff] [blame] | 25 | dmas: List of DMA specifiers with the controller specific format |
| 26 | as described in the generic DMA client binding. A tx and rx |
| 27 | specifier is required. |
| 28 | dma-names: List of DMA request names. These strings correspond |
| 29 | 1:1 with the DMA specifiers listed in dmas. The string naming is |
| 30 | to be "rx" and "tx" for RX and TX DMA requests, respectively. |
Rajendra Nayak | 46856a6 | 2012-03-12 20:32:37 +0530 | [diff] [blame] | 31 | |
Matt Porter | 55b4452 | 2013-09-10 14:24:39 -0500 | [diff] [blame] | 32 | Examples: |
| 33 | |
| 34 | [hwmod populated DMA resources] |
| 35 | |
Rajendra Nayak | 46856a6 | 2012-03-12 20:32:37 +0530 | [diff] [blame] | 36 | mmc1: mmc@0x4809c000 { |
| 37 | compatible = "ti,omap4-hsmmc"; |
| 38 | reg = <0x4809c000 0x400>; |
| 39 | ti,hwmods = "mmc1"; |
| 40 | ti,dual-volt; |
Arnd Bergmann | 7f21779 | 2012-05-13 00:14:24 -0400 | [diff] [blame] | 41 | bus-width = <4>; |
Rajendra Nayak | 46856a6 | 2012-03-12 20:32:37 +0530 | [diff] [blame] | 42 | vmmc-supply = <&vmmc>; /* phandle to regulator node */ |
| 43 | ti,non-removable; |
| 44 | }; |
Matt Porter | 55b4452 | 2013-09-10 14:24:39 -0500 | [diff] [blame] | 45 | |
| 46 | [generic DMA request binding] |
| 47 | |
| 48 | mmc1: mmc@0x4809c000 { |
| 49 | compatible = "ti,omap4-hsmmc"; |
| 50 | reg = <0x4809c000 0x400>; |
| 51 | ti,hwmods = "mmc1"; |
| 52 | ti,dual-volt; |
| 53 | bus-width = <4>; |
| 54 | vmmc-supply = <&vmmc>; /* phandle to regulator node */ |
| 55 | ti,non-removable; |
| 56 | dmas = <&edma 24 |
| 57 | &edma 25>; |
| 58 | dma-names = "tx", "rx"; |
| 59 | }; |