xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mmc/davinci_mmc.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* TI Highspeed MMC host controller for DaVinci
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThe Highspeed MMC Host Controller on TI DaVinci family
4*4882a593Smuzhiyunprovides an interface for MMC, SD and SDIO types of memory cards.
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunThis file documents the properties used by the davinci_mmc driver.
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunRequired properties:
9*4882a593Smuzhiyun- compatible:
10*4882a593Smuzhiyun Should be "ti,da830-mmc": for da830, da850, dm365
11*4882a593Smuzhiyun Should be "ti,dm355-mmc": for dm355, dm644x
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunOptional properties:
14*4882a593Smuzhiyun- bus-width: Number of data lines, can be <1>, <4>, or <8>, default <1>
15*4882a593Smuzhiyun- max-frequency: Maximum operating clock frequency, default 25MHz.
16*4882a593Smuzhiyun- dmas: List of DMA specifiers with the controller specific format
17*4882a593Smuzhiyun	as described in the generic DMA client binding. A tx and rx
18*4882a593Smuzhiyun	specifier is required.
19*4882a593Smuzhiyun- dma-names: RX and TX  DMA request names. These strings correspond
20*4882a593Smuzhiyun	1:1 with the DMA specifiers listed in dmas.
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunExample:
23*4882a593Smuzhiyunmmc0: mmc@1c40000 {
24*4882a593Smuzhiyun	compatible = "ti,da830-mmc",
25*4882a593Smuzhiyun	reg = <0x40000 0x1000>;
26*4882a593Smuzhiyun	interrupts = <16>;
27*4882a593Smuzhiyun	bus-width = <4>;
28*4882a593Smuzhiyun	max-frequency = <50000000>;
29*4882a593Smuzhiyun	dmas = <&edma 16
30*4882a593Smuzhiyun		&edma 17>;
31*4882a593Smuzhiyun	dma-names = "rx", "tx";
32*4882a593Smuzhiyun};
33