forked from kdave/btrfs-devel
-
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: moxart: Add MOXA ART SD/MMC driver
Add SD/MMC driver for MOXA ART SoCs. The "MOXA ART MMC controller" is likely a faraday "ftsdc010", a controller with support in U-Boot: http://git.denx.de/?p=u-boot.git;a=blob;f=drivers/mmc/ftsdc010_mci.c Signed-off-by: Jonas Jensen <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Ulf Hansson <[email protected]> Signed-off-by: Chris Ball <[email protected]>
- Loading branch information
Showing
4 changed files
with
770 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,30 @@ | ||
MOXA ART MMC Host Controller Interface | ||
|
||
Inherits from mmc binding[1]. | ||
|
||
[1] Documentation/devicetree/bindings/mmc/mmc.txt | ||
|
||
Required properties: | ||
|
||
- compatible : Must be "moxa,moxart-mmc" or "faraday,ftsdc010" | ||
- reg : Should contain registers location and length | ||
- interrupts : Should contain the interrupt number | ||
- clocks : Should contain phandle for the clock feeding the MMC controller | ||
|
||
Optional properties: | ||
|
||
- dmas : Should contain two DMA channels, line request number must be 5 for | ||
both channels | ||
- dma-names : Must be "tx", "rx" | ||
|
||
Example: | ||
|
||
mmc: mmc@98e00000 { | ||
compatible = "moxa,moxart-mmc"; | ||
reg = <0x98e00000 0x5C>; | ||
interrupts = <5 0>; | ||
clocks = <&clk_apb>; | ||
dmas = <&dma 5>, | ||
<&dma 5>; | ||
dma-names = "tx", "rx"; | ||
}; |
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
Oops, something went wrong.