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