blob: 8a53958c9a9f50e71073daa1b8aa0650308ea13c [file] [log] [blame]
Rajendra Nayak46856a62012-03-12 20:32:37 +05301* TI Highspeed MMC host controller for OMAP
2
3The Highspeed MMC Host Controller on TI OMAP family
4provides an interface for MMC, SD, and SDIO types of memory cards.
5
6Required 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
14Optional properties:
15ti,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 Bergmann7f217792012-05-13 00:14:24 -040018bus-width: Number of data lines, default assumed is 1 if the property is missing.
Rajendra Nayak46856a62012-03-12 20:32:37 +053019cd-gpios: GPIOs for card detection
20wp-gpios: GPIOs for write protection
21ti,non-removable: non-removable slot (like eMMC)
22ti,needs-special-reset: Requires a special softreset sequence
23
24Example:
25 mmc1: mmc@0x4809c000 {
26 compatible = "ti,omap4-hsmmc";
27 reg = <0x4809c000 0x400>;
28 ti,hwmods = "mmc1";
29 ti,dual-volt;
Arnd Bergmann7f217792012-05-13 00:14:24 -040030 bus-width = <4>;
Rajendra Nayak46856a62012-03-12 20:32:37 +053031 vmmc-supply = <&vmmc>; /* phandle to regulator node */
32 ti,non-removable;
33 };