xref: /freebsd/sys/contrib/device-tree/Bindings/mmc/mxs-mmc.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Freescale MXS MMC controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThe Freescale MXS Synchronous Serial Ports (SSP) can act as a MMC controller
4*c66ec88fSEmmanuel Vadotto support MMC, SD, and SDIO types of memory cards.
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotThis file documents differences between the core properties in mmc.txt
7*c66ec88fSEmmanuel Vadotand the properties used by the mxsmmc driver.
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel VadotRequired properties:
10*c66ec88fSEmmanuel Vadot- compatible: Should be "fsl,<chip>-mmc".  The supported chips include
11*c66ec88fSEmmanuel Vadot  imx23 and imx28.
12*c66ec88fSEmmanuel Vadot- interrupts: Should contain ERROR interrupt number
13*c66ec88fSEmmanuel Vadot- dmas: DMA specifier, consisting of a phandle to DMA controller node
14*c66ec88fSEmmanuel Vadot  and SSP DMA channel ID.
15*c66ec88fSEmmanuel Vadot  Refer to dma.txt and fsl-mxs-dma.txt for details.
16*c66ec88fSEmmanuel Vadot- dma-names: Must be "rx-tx".
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotExamples:
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadotssp0: ssp@80010000 {
21*c66ec88fSEmmanuel Vadot	compatible = "fsl,imx28-mmc";
22*c66ec88fSEmmanuel Vadot	reg = <0x80010000 2000>;
23*c66ec88fSEmmanuel Vadot	interrupts = <96>;
24*c66ec88fSEmmanuel Vadot	dmas = <&dma_apbh 0>;
25*c66ec88fSEmmanuel Vadot	dma-names = "rx-tx";
26*c66ec88fSEmmanuel Vadot	bus-width = <8>;
27*c66ec88fSEmmanuel Vadot};
28