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: |
Dong Aisheng | e4a51ce | 2015-05-27 18:13:29 +0800 | [diff] [blame] | 10 | - compatible : Should be "fsl,<chip>-esdhc", the supported chips include |
| 11 | "fsl,imx25-esdhc" |
| 12 | "fsl,imx35-esdhc" |
| 13 | "fsl,imx51-esdhc" |
| 14 | "fsl,imx53-esdhc" |
| 15 | "fsl,imx6q-usdhc" |
| 16 | "fsl,imx6sl-usdhc" |
| 17 | "fsl,imx6sx-usdhc" |
Shawn Guo | abfafc2 | 2011-06-30 15:44:44 +0800 | [diff] [blame] | 18 | |
| 19 | Optional properties: |
Shawn Guo | a46d261 | 2012-08-22 21:46:39 +0800 | [diff] [blame] | 20 | - fsl,wp-controller : Indicate to use controller internal write protection |
Dong Aisheng | 602519b | 2013-10-18 19:48:47 +0800 | [diff] [blame] | 21 | - fsl,delay-line : Specify the number of delay cells for override mode. |
| 22 | This is used to set the clock delay for DLL(Delay Line) on override mode |
| 23 | to select a proper data sampling window in case the clock quality is not good |
| 24 | due to signal path is too long on the board. Please refer to eSDHC/uSDHC |
| 25 | chapter, DLL (Delay Line) section in RM for details. |
Sascha Hauer | 07bf2b5 | 2015-03-24 14:45:04 +0100 | [diff] [blame] | 26 | - voltage-ranges : Specify the voltage range in case there are software |
| 27 | transparent level shifters on the outputs of the controller. Two cells are |
| 28 | required, first cell specifies minimum slot voltage (mV), second cell |
| 29 | specifies maximum slot voltage (mV). Several ranges could be specified. |
Shawn Guo | abfafc2 | 2011-06-30 15:44:44 +0800 | [diff] [blame] | 30 | |
| 31 | Examples: |
| 32 | |
| 33 | esdhc@70004000 { |
| 34 | compatible = "fsl,imx51-esdhc"; |
| 35 | reg = <0x70004000 0x4000>; |
| 36 | interrupts = <1>; |
Shawn Guo | a46d261 | 2012-08-22 21:46:39 +0800 | [diff] [blame] | 37 | fsl,wp-controller; |
Shawn Guo | abfafc2 | 2011-06-30 15:44:44 +0800 | [diff] [blame] | 38 | }; |
| 39 | |
| 40 | esdhc@70008000 { |
| 41 | compatible = "fsl,imx51-esdhc"; |
| 42 | reg = <0x70008000 0x4000>; |
| 43 | interrupts = <2>; |
Fabio Estevam | 06693fc | 2012-06-10 14:24:07 -0300 | [diff] [blame] | 44 | cd-gpios = <&gpio1 6 0>; /* GPIO1_6 */ |
| 45 | wp-gpios = <&gpio1 5 0>; /* GPIO1_5 */ |
Shawn Guo | abfafc2 | 2011-06-30 15:44:44 +0800 | [diff] [blame] | 46 | }; |