e4a51cebf4
Using specific compatible string in binding doc to make the binding more clear. It's also used to avoid checkpatch warning in the future like follows: WARNING: DT compatible string "fsl,imx6sx-usdhc" appears un-documented -- check ./Documentation/devicetree/bindings/ + { .compatible = "fsl,imx6sx-usdhc", .data = &usdhc_imx6sx_data, }, total: 0 errors, 1 warnings, 18 lines checked Signed-off-by: Dong Aisheng <b29396@freescale.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
49 lines
1.7 KiB
Plaintext
49 lines
1.7 KiB
Plaintext
* Freescale Enhanced Secure Digital Host Controller (eSDHC) for i.MX
|
|
|
|
The Enhanced Secure Digital Host Controller on Freescale i.MX family
|
|
provides an interface for MMC, SD, and SDIO types of memory cards.
|
|
|
|
This file documents differences between the core properties described
|
|
by mmc.txt and the properties used by the sdhci-esdhc-imx driver.
|
|
|
|
Required properties:
|
|
- compatible : Should be "fsl,<chip>-esdhc", the supported chips include
|
|
"fsl,imx25-esdhc"
|
|
"fsl,imx35-esdhc"
|
|
"fsl,imx51-esdhc"
|
|
"fsl,imx53-esdhc"
|
|
"fsl,imx6q-usdhc"
|
|
"fsl,imx6sl-usdhc"
|
|
"fsl,imx6sx-usdhc"
|
|
|
|
Optional properties:
|
|
- fsl,cd-controller : Indicate to use controller internal card detection
|
|
- fsl,wp-controller : Indicate to use controller internal write protection
|
|
- fsl,delay-line : Specify the number of delay cells for override mode.
|
|
This is used to set the clock delay for DLL(Delay Line) on override mode
|
|
to select a proper data sampling window in case the clock quality is not good
|
|
due to signal path is too long on the board. Please refer to eSDHC/uSDHC
|
|
chapter, DLL (Delay Line) section in RM for details.
|
|
- voltage-ranges : Specify the voltage range in case there are software
|
|
transparent level shifters on the outputs of the controller. Two cells are
|
|
required, first cell specifies minimum slot voltage (mV), second cell
|
|
specifies maximum slot voltage (mV). Several ranges could be specified.
|
|
|
|
Examples:
|
|
|
|
esdhc@70004000 {
|
|
compatible = "fsl,imx51-esdhc";
|
|
reg = <0x70004000 0x4000>;
|
|
interrupts = <1>;
|
|
fsl,cd-controller;
|
|
fsl,wp-controller;
|
|
};
|
|
|
|
esdhc@70008000 {
|
|
compatible = "fsl,imx51-esdhc";
|
|
reg = <0x70008000 0x4000>;
|
|
interrupts = <2>;
|
|
cd-gpios = <&gpio1 6 0>; /* GPIO1_6 */
|
|
wp-gpios = <&gpio1 5 0>; /* GPIO1_5 */
|
|
};
|