Back to home page

OSCL-LXR

 
 

    


0001 * Freescale Enhanced Secure Digital Host Controller (eSDHC)
0002 
0003 The Enhanced Secure Digital Host Controller provides an interface
0004 for MMC, SD, and SDIO types of memory cards.
0005 
0006 This file documents differences between the core properties described
0007 by mmc.txt and the properties used by the sdhci-esdhc driver.
0008 
0009 Required properties:
0010   - compatible : should be "fsl,esdhc", or "fsl,<chip>-esdhc".
0011     Possible compatibles for PowerPC:
0012         "fsl,mpc8536-esdhc"
0013         "fsl,mpc8378-esdhc"
0014         "fsl,p2020-esdhc"
0015         "fsl,p4080-esdhc"
0016         "fsl,t1040-esdhc"
0017         "fsl,t4240-esdhc"
0018     Possible compatibles for ARM:
0019         "fsl,ls1012a-esdhc"
0020         "fsl,ls1028a-esdhc"
0021         "fsl,ls1088a-esdhc"
0022         "fsl,ls1043a-esdhc"
0023         "fsl,ls1046a-esdhc"
0024         "fsl,ls2080a-esdhc"
0025   - clock-frequency : specifies eSDHC base clock frequency.
0026 
0027 Optional properties:
0028   - sdhci,wp-inverted : specifies that eSDHC controller reports
0029     inverted write-protect state; New devices should use the generic
0030     "wp-inverted" property.
0031   - sdhci,1-bit-only : specifies that a controller can only handle
0032     1-bit data transfers. New devices should use the generic
0033     "bus-width = <1>" property.
0034   - sdhci,auto-cmd12: specifies that a controller can only handle auto
0035     CMD12.
0036   - voltage-ranges : two cells are required, first cell specifies minimum
0037     slot voltage (mV), second cell specifies maximum slot voltage (mV).
0038     Several ranges could be specified.
0039   - little-endian : If the host controller is little-endian mode, specify
0040     this property. The default endian mode is big-endian.
0041 
0042 Example:
0043 
0044 sdhci@2e000 {
0045         compatible = "fsl,mpc8378-esdhc", "fsl,esdhc";
0046         reg = <0x2e000 0x1000>;
0047         interrupts = <42 0x8>;
0048         interrupt-parent = <&ipic>;
0049         /* Filled in by U-Boot */
0050         clock-frequency = <0>;
0051         voltage-ranges = <3300 3300>;
0052 };