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