GNU Linux-libre 4.19.304-gnu1
[releases.git] / Documentation / devicetree / bindings / mmc / fsl-esdhc.txt
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
6 This file documents differences between the core properties described
7 by mmc.txt and the properties used by the sdhci-esdhc driver.
8
9 Required properties:
10   - compatible : should be "fsl,esdhc", or "fsl,<chip>-esdhc".
11     Possible compatibles for PowerPC:
12         "fsl,mpc8536-esdhc"
13         "fsl,mpc8378-esdhc"
14         "fsl,p2020-esdhc"
15         "fsl,p4080-esdhc"
16         "fsl,t1040-esdhc"
17         "fsl,t4240-esdhc"
18     Possible compatibles for ARM:
19         "fsl,ls1012a-esdhc"
20         "fsl,ls1088a-esdhc"
21         "fsl,ls1043a-esdhc"
22         "fsl,ls1046a-esdhc"
23         "fsl,ls2080a-esdhc"
24   - clock-frequency : specifies eSDHC base clock frequency.
25
26 Optional properties:
27   - sdhci,wp-inverted : specifies that eSDHC controller reports
28     inverted write-protect state; New devices should use the generic
29     "wp-inverted" property.
30   - sdhci,1-bit-only : specifies that a controller can only handle
31     1-bit data transfers. New devices should use the generic
32     "bus-width = <1>" property.
33   - sdhci,auto-cmd12: specifies that a controller can only handle auto
34     CMD12.
35   - voltage-ranges : two cells are required, first cell specifies minimum
36     slot voltage (mV), second cell specifies maximum slot voltage (mV).
37     Several ranges could be specified.
38   - little-endian : If the host controller is little-endian mode, specify
39     this property. The default endian mode is big-endian.
40
41 Example:
42
43 sdhci@2e000 {
44         compatible = "fsl,mpc8378-esdhc", "fsl,esdhc";
45         reg = <0x2e000 0x1000>;
46         interrupts = <42 0x8>;
47         interrupt-parent = <&ipic>;
48         /* Filled in by U-Boot */
49         clock-frequency = <0>;
50         voltage-ranges = <3300 3300>;
51 };