-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mmc: mxs-mmc: add device tree support
It adds device tree probe support for mxs-mmc driver. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Chris Ball <cjb@laptop.org>
- Loading branch information
Shawn Guo
committed
May 13, 2012
1 parent
31b0ff5
commit 6de4d81
Showing
2 changed files
with
68 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
* Freescale MXS MMC controller | ||
|
||
The Freescale MXS Synchronous Serial Ports (SSP) can act as a MMC controller | ||
to support MMC, SD, and SDIO types of memory cards. | ||
|
||
Required properties: | ||
- compatible: Should be "fsl,<chip>-mmc". The supported chips include | ||
imx23 and imx28. | ||
- reg: Should contain registers location and length | ||
- interrupts: Should contain ERROR and DMA interrupts | ||
- fsl,ssp-dma-channel: APBH DMA channel for the SSP | ||
- bus-width: Number of data lines, can be <1>, <4>, or <8> | ||
|
||
Optional properties: | ||
- wp-gpios: Specify GPIOs for write protection | ||
|
||
Examples: | ||
|
||
ssp0: ssp@80010000 { | ||
compatible = "fsl,imx28-mmc"; | ||
reg = <0x80010000 2000>; | ||
interrupts = <96 82>; | ||
fsl,ssp-dma-channel = <0>; | ||
bus-width = <8>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters