forked from torvalds/linux
-
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: sdhci-pxa: Add device tree support
Tested on an OLPC XO-1.75. (MMP2, sdhci-pxav3, CONFIG_MACH_MMP2_DT=y) Signed-off-by: Chris Ball <[email protected]> Acked-by: Haojian Zhuang <[email protected]>
- Loading branch information
Showing
3 changed files
with
127 additions
and
0 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,21 @@ | ||
* Marvell sdhci-pxa v2/v3 controller | ||
|
||
This file documents differences between the core properties in mmc.txt | ||
and the properties used by the sdhci-pxav2 and sdhci-pxav3 drivers. | ||
|
||
Required properties: | ||
- compatible: Should be "mrvl,pxav2-mmc" or "mrvl,pxav3-mmc". | ||
|
||
Optional properties: | ||
- mrvl,clk-delay-cycles: Specify a number of cycles to delay for tuning. | ||
|
||
Example: | ||
|
||
sdhci@d4280800 { | ||
compatible = "mrvl,pxav3-mmc"; | ||
reg = <0xd4280800 0x800>; | ||
bus-width = <8>; | ||
interrupts = <27>; | ||
non-removable; | ||
mrvl,clk-delay-cycles = <31>; | ||
}; |
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
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