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 | |
| 6 | Required properties: |
| 7 | - compatible: |
| 8 | Should be "ti,omap2-hsmmc", for OMAP2 controllers |
| 9 | Should be "ti,omap3-hsmmc", for OMAP3 controllers |
| 10 | Should be "ti,omap4-hsmmc", for OMAP4 controllers |
| 11 | - ti,hwmods: Must be "mmc<n>", n is controller instance starting 1 |
| 12 | - reg : should contain hsmmc registers location and length |
| 13 | |
| 14 | Optional properties: |
| 15 | ti,dual-volt: boolean, supports dual voltage cards |
| 16 | <supply-name>-supply: phandle to the regulator device tree node |
| 17 | "supply-name" examples are "vmmc", "vmmc_aux" etc |
Arnd Bergmann | 7f21779 | 2012-05-13 00:14:24 -0400 | [diff] [blame^] | 18 | bus-width: Number of data lines, default assumed is 1 if the property is missing. |
Rajendra Nayak | 46856a6 | 2012-03-12 20:32:37 +0530 | [diff] [blame] | 19 | cd-gpios: GPIOs for card detection |
| 20 | wp-gpios: GPIOs for write protection |
| 21 | ti,non-removable: non-removable slot (like eMMC) |
| 22 | ti,needs-special-reset: Requires a special softreset sequence |
| 23 | |
| 24 | Example: |
| 25 | mmc1: mmc@0x4809c000 { |
| 26 | compatible = "ti,omap4-hsmmc"; |
| 27 | reg = <0x4809c000 0x400>; |
| 28 | ti,hwmods = "mmc1"; |
| 29 | ti,dual-volt; |
Arnd Bergmann | 7f21779 | 2012-05-13 00:14:24 -0400 | [diff] [blame^] | 30 | bus-width = <4>; |
Rajendra Nayak | 46856a6 | 2012-03-12 20:32:37 +0530 | [diff] [blame] | 31 | vmmc-supply = <&vmmc>; /* phandle to regulator node */ |
| 32 | ti,non-removable; |
| 33 | }; |