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. |
Anton Vorontsov | 34bcda6 | 2009-02-05 22:04:47 +0300 | [diff] [blame] | 25 | |
| 26 | Example: |
| 27 | |
| 28 | sdhci@2e000 { |
Kumar Gala | 4046147 | 2009-05-08 08:47:45 -0500 | [diff] [blame] | 29 | compatible = "fsl,mpc8378-esdhc", "fsl,esdhc"; |
Anton Vorontsov | 34bcda6 | 2009-02-05 22:04:47 +0300 | [diff] [blame] | 30 | reg = <0x2e000 0x1000>; |
| 31 | interrupts = <42 0x8>; |
| 32 | interrupt-parent = <&ipic>; |
| 33 | /* Filled in by U-Boot */ |
| 34 | clock-frequency = <0>; |
Haijun Zhang | 6e9e318 | 2013-08-26 09:19:22 +0800 | [diff] [blame] | 35 | voltage-ranges = <3300 3300>; |
Anton Vorontsov | 34bcda6 | 2009-02-05 22:04:47 +0300 | [diff] [blame] | 36 | }; |