xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Freescale Enhanced Secure Digital Host Controller (eSDHC)
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThe Enhanced Secure Digital Host Controller provides an interface
4*4882a593Smuzhiyunfor MMC, SD, and SDIO types of memory cards.
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunThis file documents differences between the core properties described
7*4882a593Smuzhiyunby mmc.txt and the properties used by the sdhci-esdhc driver.
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunRequired properties:
10*4882a593Smuzhiyun  - compatible : should be "fsl,esdhc", or "fsl,<chip>-esdhc".
11*4882a593Smuzhiyun    Possible compatibles for PowerPC:
12*4882a593Smuzhiyun	"fsl,mpc8536-esdhc"
13*4882a593Smuzhiyun	"fsl,mpc8378-esdhc"
14*4882a593Smuzhiyun	"fsl,p2020-esdhc"
15*4882a593Smuzhiyun	"fsl,p4080-esdhc"
16*4882a593Smuzhiyun	"fsl,t1040-esdhc"
17*4882a593Smuzhiyun	"fsl,t4240-esdhc"
18*4882a593Smuzhiyun    Possible compatibles for ARM:
19*4882a593Smuzhiyun	"fsl,ls1012a-esdhc"
20*4882a593Smuzhiyun	"fsl,ls1028a-esdhc"
21*4882a593Smuzhiyun	"fsl,ls1088a-esdhc"
22*4882a593Smuzhiyun	"fsl,ls1043a-esdhc"
23*4882a593Smuzhiyun	"fsl,ls1046a-esdhc"
24*4882a593Smuzhiyun	"fsl,ls2080a-esdhc"
25*4882a593Smuzhiyun  - clock-frequency : specifies eSDHC base clock frequency.
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunOptional properties:
28*4882a593Smuzhiyun  - sdhci,wp-inverted : specifies that eSDHC controller reports
29*4882a593Smuzhiyun    inverted write-protect state; New devices should use the generic
30*4882a593Smuzhiyun    "wp-inverted" property.
31*4882a593Smuzhiyun  - sdhci,1-bit-only : specifies that a controller can only handle
32*4882a593Smuzhiyun    1-bit data transfers. New devices should use the generic
33*4882a593Smuzhiyun    "bus-width = <1>" property.
34*4882a593Smuzhiyun  - sdhci,auto-cmd12: specifies that a controller can only handle auto
35*4882a593Smuzhiyun    CMD12.
36*4882a593Smuzhiyun  - voltage-ranges : two cells are required, first cell specifies minimum
37*4882a593Smuzhiyun    slot voltage (mV), second cell specifies maximum slot voltage (mV).
38*4882a593Smuzhiyun    Several ranges could be specified.
39*4882a593Smuzhiyun  - little-endian : If the host controller is little-endian mode, specify
40*4882a593Smuzhiyun    this property. The default endian mode is big-endian.
41*4882a593Smuzhiyun
42*4882a593SmuzhiyunExample:
43*4882a593Smuzhiyun
44*4882a593Smuzhiyunsdhci@2e000 {
45*4882a593Smuzhiyun	compatible = "fsl,mpc8378-esdhc", "fsl,esdhc";
46*4882a593Smuzhiyun	reg = <0x2e000 0x1000>;
47*4882a593Smuzhiyun	interrupts = <42 0x8>;
48*4882a593Smuzhiyun	interrupt-parent = <&ipic>;
49*4882a593Smuzhiyun	/* Filled in by U-Boot */
50*4882a593Smuzhiyun	clock-frequency = <0>;
51*4882a593Smuzhiyun	voltage-ranges = <3300 3300>;
52*4882a593Smuzhiyun};
53