xref: /linux/Documentation/devicetree/bindings/mmc/moxa,moxart-mmc.txt (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
1*1b66e94eSJonas JensenMOXA ART MMC Host Controller Interface
2*1b66e94eSJonas Jensen
3*1b66e94eSJonas Jensen  Inherits from mmc binding[1].
4*1b66e94eSJonas Jensen
5*1b66e94eSJonas Jensen  [1] Documentation/devicetree/bindings/mmc/mmc.txt
6*1b66e94eSJonas Jensen
7*1b66e94eSJonas JensenRequired properties:
8*1b66e94eSJonas Jensen
9*1b66e94eSJonas Jensen- compatible :	Must be "moxa,moxart-mmc" or "faraday,ftsdc010"
10*1b66e94eSJonas Jensen- reg :		Should contain registers location and length
11*1b66e94eSJonas Jensen- interrupts :	Should contain the interrupt number
12*1b66e94eSJonas Jensen- clocks :	Should contain phandle for the clock feeding the MMC controller
13*1b66e94eSJonas Jensen
14*1b66e94eSJonas JensenOptional properties:
15*1b66e94eSJonas Jensen
16*1b66e94eSJonas Jensen- dmas :	Should contain two DMA channels, line request number must be 5 for
17*1b66e94eSJonas Jensen		both channels
18*1b66e94eSJonas Jensen- dma-names :	Must be "tx", "rx"
19*1b66e94eSJonas Jensen
20*1b66e94eSJonas JensenExample:
21*1b66e94eSJonas Jensen
22*1b66e94eSJonas Jensen	mmc: mmc@98e00000 {
23*1b66e94eSJonas Jensen		compatible = "moxa,moxart-mmc";
24*1b66e94eSJonas Jensen		reg = <0x98e00000 0x5C>;
25*1b66e94eSJonas Jensen		interrupts = <5 0>;
26*1b66e94eSJonas Jensen		clocks = <&clk_apb>;
27*1b66e94eSJonas Jensen		dmas =  <&dma 5>,
28*1b66e94eSJonas Jensen			<&dma 5>;
29*1b66e94eSJonas Jensen		dma-names = "tx", "rx";
30*1b66e94eSJonas Jensen	};
31