mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 12:14:01 +08:00
7f217794ff
This patch unifies the current DT MMC bindings documentation and code, adds generic MMC DT bindings documentation, and updates .dts files for consistency. [cjb: typo fixes, addition of max-frequency property] Signed-off-by: Chris Ball <cjb@laptop.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
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,wp-inverted : (optional) specifies that eSDHC controller
|
|
reports inverted write-protect state; New devices should use
|
|
the generic "wp-inverted" property.
|
|
- sdhci,1-bit-only : (optional) specifies that a controller can
|
|
only handle 1-bit data transfers. New devices should use the
|
|
generic "bus-width = <1>" property.
|
|
- sdhci,auto-cmd12: (optional) specifies that a controller can
|
|
only handle auto CMD12.
|
|
|
|
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>;
|
|
};
|