diff options
author | Jonas Jensen <jonas.jensen@gmail.com> | 2014-04-09 15:54:11 +0200 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2014-05-12 18:05:16 -0400 |
commit | 1b66e94e6b9995323190f31c51d8e1a6f516627e (patch) | |
tree | b34a2283f3071e65cd0ef30fec335fe3a6301ed9 /Documentation/devicetree/bindings/mmc/moxa,moxart-mmc.txt | |
parent | c7f6558d84afe60016b8103c0737df6e376a1c2d (diff) | |
download | blackbird-op-linux-1b66e94e6b9995323190f31c51d8e1a6f516627e.tar.gz blackbird-op-linux-1b66e94e6b9995323190f31c51d8e1a6f516627e.zip |
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 <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>
Diffstat (limited to 'Documentation/devicetree/bindings/mmc/moxa,moxart-mmc.txt')
-rw-r--r-- | Documentation/devicetree/bindings/mmc/moxa,moxart-mmc.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mmc/moxa,moxart-mmc.txt b/Documentation/devicetree/bindings/mmc/moxa,moxart-mmc.txt new file mode 100644 index 000000000000..b63819149f22 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/moxa,moxart-mmc.txt @@ -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"; + }; |