mirror of
https://github.com/torvalds/linux.git
synced 2024-11-19 10:31:48 +00:00
1b66e94e6b
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 <jonas.jensen@gmail.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Chris Ball <chris@printf.net>
31 lines
740 B
Plaintext
31 lines
740 B
Plaintext
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";
|
|
};
|