Shawn Guo | abfafc2 | 2011-06-30 15:44:44 +0800 | [diff] [blame] | 1 | * Freescale Enhanced Secure Digital Host Controller (eSDHC) for i.MX |
| 2 | |
| 3 | The Enhanced Secure Digital Host Controller on Freescale i.MX 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 sdhci-esdhc-imx driver. |
| 8 | |
Shawn Guo | abfafc2 | 2011-06-30 15:44:44 +0800 | [diff] [blame] | 9 | Required properties: |
| 10 | - compatible : Should be "fsl,<chip>-esdhc" |
Shawn Guo | abfafc2 | 2011-06-30 15:44:44 +0800 | [diff] [blame] | 11 | |
| 12 | Optional properties: |
Shawn Guo | a46d261 | 2012-08-22 21:46:39 +0800 | [diff] [blame] | 13 | - fsl,cd-controller : Indicate to use controller internal card detection |
| 14 | - fsl,wp-controller : Indicate to use controller internal write protection |
Shawn Guo | abfafc2 | 2011-06-30 15:44:44 +0800 | [diff] [blame] | 15 | |
| 16 | Examples: |
| 17 | |
| 18 | esdhc@70004000 { |
| 19 | compatible = "fsl,imx51-esdhc"; |
| 20 | reg = <0x70004000 0x4000>; |
| 21 | interrupts = <1>; |
Shawn Guo | a46d261 | 2012-08-22 21:46:39 +0800 | [diff] [blame] | 22 | fsl,cd-controller; |
| 23 | fsl,wp-controller; |
Shawn Guo | abfafc2 | 2011-06-30 15:44:44 +0800 | [diff] [blame] | 24 | }; |
| 25 | |
| 26 | esdhc@70008000 { |
| 27 | compatible = "fsl,imx51-esdhc"; |
| 28 | reg = <0x70008000 0x4000>; |
| 29 | interrupts = <2>; |
Fabio Estevam | 06693fc | 2012-06-10 14:24:07 -0300 | [diff] [blame] | 30 | cd-gpios = <&gpio1 6 0>; /* GPIO1_6 */ |
| 31 | wp-gpios = <&gpio1 5 0>; /* GPIO1_5 */ |
Shawn Guo | abfafc2 | 2011-06-30 15:44:44 +0800 | [diff] [blame] | 32 | }; |