Some hosts (hardware configurations, or particular SD/MMC slots) may not support 4-bit bus. For example, on MPC8569E-MDS boards we can switch between serial (1-bit only) and nibble (4-bit) modes, thought we have to disable more peripherals to work in 4-bit mode. Along with some small core changes, this patch modifies sdhci-of driver, so that now it looks for "sdhci,1-bit-only" property in the device-tree, and if specified we enable a proper quirk. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Pierre Ossman <pierre@ossman.eu>
26 lines
786 B
Plaintext
26 lines
786 B
Plaintext
* Freescale Enhanced Secure Digital Host Controller (eSDHC)
|
|
|
|
The Enhanced Secure Digital Host Controller provides an interface
|
|
for MMC, SD, and SDIO types of memory cards.
|
|
|
|
Required properties:
|
|
- compatible : should be
|
|
"fsl,<chip>-esdhc", "fsl,esdhc"
|
|
- reg : should contain eSDHC registers location and length.
|
|
- interrupts : should contain eSDHC interrupt.
|
|
- interrupt-parent : interrupt source phandle.
|
|
- clock-frequency : specifies eSDHC base clock frequency.
|
|
- sdhci,1-bit-only : (optional) specifies that a controller can
|
|
only handle 1-bit data transfers.
|
|
|
|
Example:
|
|
|
|
sdhci@2e000 {
|
|
compatible = "fsl,mpc8378-esdhc", "fsl,esdhc";
|
|
reg = <0x2e000 0x1000>;
|
|
interrupts = <42 0x8>;
|
|
interrupt-parent = <&ipic>;
|
|
/* Filled in by U-Boot */
|
|
clock-frequency = <0>;
|
|
};
|