1d524dac9SGrant Likely* Freescale Enhanced Secure Digital Host Controller (eSDHC)
2d524dac9SGrant Likely
3d524dac9SGrant LikelyThe Enhanced Secure Digital Host Controller provides an interface
4d524dac9SGrant Likelyfor MMC, SD, and SDIO types of memory cards.
5d524dac9SGrant Likely
64efafee0SChris BallThis file documents differences between the core properties described
74efafee0SChris Ballby mmc.txt and the properties used by the sdhci-esdhc driver.
84efafee0SChris Ball
9d524dac9SGrant LikelyRequired properties:
109f6c2098SYangbo Lu  - compatible : should be "fsl,esdhc", or "fsl,<chip>-esdhc".
119f6c2098SYangbo Lu    Possible compatibles for PowerPC:
129f6c2098SYangbo Lu	"fsl,mpc8536-esdhc"
139f6c2098SYangbo Lu	"fsl,mpc8378-esdhc"
149f6c2098SYangbo Lu	"fsl,p2020-esdhc"
159f6c2098SYangbo Lu	"fsl,p4080-esdhc"
169f6c2098SYangbo Lu	"fsl,t1040-esdhc"
179f6c2098SYangbo Lu	"fsl,t4240-esdhc"
189f6c2098SYangbo Lu    Possible compatibles for ARM:
199f6c2098SYangbo Lu	"fsl,ls1012a-esdhc"
2034368217SYinbo Zhu	"fsl,ls1028a-esdhc"
219f6c2098SYangbo Lu	"fsl,ls1088a-esdhc"
229f6c2098SYangbo Lu	"fsl,ls1043a-esdhc"
239f6c2098SYangbo Lu	"fsl,ls1046a-esdhc"
249f6c2098SYangbo Lu	"fsl,ls2080a-esdhc"
25d524dac9SGrant Likely  - clock-frequency : specifies eSDHC base clock frequency.
264efafee0SChris Ball
274efafee0SChris BallOptional properties:
284efafee0SChris Ball  - sdhci,wp-inverted : specifies that eSDHC controller reports
294efafee0SChris Ball    inverted write-protect state; New devices should use the generic
304efafee0SChris Ball    "wp-inverted" property.
314efafee0SChris Ball  - sdhci,1-bit-only : specifies that a controller can only handle
324efafee0SChris Ball    1-bit data transfers. New devices should use the generic
334efafee0SChris Ball    "bus-width = <1>" property.
344efafee0SChris Ball  - sdhci,auto-cmd12: specifies that a controller can only handle auto
354efafee0SChris Ball    CMD12.
366e9e318bSHaijun Zhang  - voltage-ranges : two cells are required, first cell specifies minimum
376e9e318bSHaijun Zhang    slot voltage (mV), second cell specifies maximum slot voltage (mV).
386e9e318bSHaijun Zhang    Several ranges could be specified.
39e38eeca5Syangbo lu  - little-endian : If the host controller is little-endian mode, specify
40e38eeca5Syangbo lu    this property. The default endian mode is big-endian.
41d524dac9SGrant Likely
42d524dac9SGrant LikelyExample:
43d524dac9SGrant Likely
44d524dac9SGrant Likelysdhci@2e000 {
45d524dac9SGrant Likely	compatible = "fsl,mpc8378-esdhc", "fsl,esdhc";
46d524dac9SGrant Likely	reg = <0x2e000 0x1000>;
47d524dac9SGrant Likely	interrupts = <42 0x8>;
48d524dac9SGrant Likely	interrupt-parent = <&ipic>;
49d524dac9SGrant Likely	/* Filled in by U-Boot */
50d524dac9SGrant Likely	clock-frequency = <0>;
516e9e318bSHaijun Zhang	voltage-ranges = <3300 3300>;
52d524dac9SGrant Likely};
53