Anton Vorontsov | 34bcda6 | 2009-02-05 22:04:47 +0300 | [diff] [blame] | 1 | * Freescale Enhanced Secure Digital Host Controller (eSDHC) |
| 2 | |
| 3 | The Enhanced Secure Digital Host Controller provides an interface |
| 4 | 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 driver. |
| 8 | |
Anton Vorontsov | 34bcda6 | 2009-02-05 22:04:47 +0300 | [diff] [blame] | 9 | Required properties: |
Anton Vorontsov | 34bcda6 | 2009-02-05 22:04:47 +0300 | [diff] [blame] | 10 | - interrupt-parent : interrupt source phandle. |
| 11 | - clock-frequency : specifies eSDHC base clock frequency. |
Chris Ball | 4efafee | 2012-06-11 21:48:16 -0400 | [diff] [blame] | 12 | |
| 13 | Optional properties: |
| 14 | - sdhci,wp-inverted : specifies that eSDHC controller reports |
| 15 | inverted write-protect state; New devices should use the generic |
| 16 | "wp-inverted" property. |
| 17 | - sdhci,1-bit-only : specifies that a controller can only handle |
| 18 | 1-bit data transfers. New devices should use the generic |
| 19 | "bus-width = <1>" property. |
| 20 | - sdhci,auto-cmd12: specifies that a controller can only handle auto |
| 21 | CMD12. |
Haijun Zhang | 6e9e318 | 2013-08-26 09:19:22 +0800 | [diff] [blame] | 22 | - voltage-ranges : two cells are required, first cell specifies minimum |
| 23 | slot voltage (mV), second cell specifies maximum slot voltage (mV). |
| 24 | Several ranges could be specified. |
yangbo lu | e38eeca | 2015-10-08 18:36:23 +0800 | [diff] [blame] | 25 | - little-endian : If the host controller is little-endian mode, specify |
| 26 | this property. The default endian mode is big-endian. |
Anton Vorontsov | 34bcda6 | 2009-02-05 22:04:47 +0300 | [diff] [blame] | 27 | |
| 28 | Example: |
| 29 | |
| 30 | sdhci@2e000 { |
Kumar Gala | 4046147 | 2009-05-08 08:47:45 -0500 | [diff] [blame] | 31 | compatible = "fsl,mpc8378-esdhc", "fsl,esdhc"; |
Anton Vorontsov | 34bcda6 | 2009-02-05 22:04:47 +0300 | [diff] [blame] | 32 | reg = <0x2e000 0x1000>; |
| 33 | interrupts = <42 0x8>; |
| 34 | interrupt-parent = <&ipic>; |
| 35 | /* Filled in by U-Boot */ |
| 36 | clock-frequency = <0>; |
Haijun Zhang | 6e9e318 | 2013-08-26 09:19:22 +0800 | [diff] [blame] | 37 | voltage-ranges = <3300 3300>; |
Anton Vorontsov | 34bcda6 | 2009-02-05 22:04:47 +0300 | [diff] [blame] | 38 | }; |