blob: 1dd622546d06b711bf262358b387b4bb9af3f68a [file] [log] [blame]
Shawn Guoabfafc22011-06-30 15:44:44 +08001* Freescale Enhanced Secure Digital Host Controller (eSDHC) for i.MX
2
3The Enhanced Secure Digital Host Controller on Freescale i.MX family
4provides an interface for MMC, SD, and SDIO types of memory cards.
5
Chris Ball4efafee2012-06-11 21:48:16 -04006This file documents differences between the core properties described
7by mmc.txt and the properties used by the sdhci-esdhc-imx driver.
8
Shawn Guoabfafc22011-06-30 15:44:44 +08009Required properties:
10- compatible : Should be "fsl,<chip>-esdhc"
Shawn Guoabfafc22011-06-30 15:44:44 +080011
12Optional properties:
Shawn Guoa46d2612012-08-22 21:46:39 +080013- fsl,cd-controller : Indicate to use controller internal card detection
14- fsl,wp-controller : Indicate to use controller internal write protection
Shawn Guoabfafc22011-06-30 15:44:44 +080015
16Examples:
17
18esdhc@70004000 {
19 compatible = "fsl,imx51-esdhc";
20 reg = <0x70004000 0x4000>;
21 interrupts = <1>;
Shawn Guoa46d2612012-08-22 21:46:39 +080022 fsl,cd-controller;
23 fsl,wp-controller;
Shawn Guoabfafc22011-06-30 15:44:44 +080024};
25
26esdhc@70008000 {
27 compatible = "fsl,imx51-esdhc";
28 reg = <0x70008000 0x4000>;
29 interrupts = <2>;
Fabio Estevam06693fc2012-06-10 14:24:07 -030030 cd-gpios = <&gpio1 6 0>; /* GPIO1_6 */
31 wp-gpios = <&gpio1 5 0>; /* GPIO1_5 */
Shawn Guoabfafc22011-06-30 15:44:44 +080032};