blob: 0e5e2ec4001dda10fe1b35b57d8ecbe976febf0a [file] [log] [blame]
Anton Vorontsov3f1c6eb2009-03-31 15:24:38 -07001MMC/SD/SDIO slot directly connected to a SPI bus
2
Chris Ball4efafee2012-06-11 21:48:16 -04003This file documents differences between the core properties described
4by mmc.txt and the properties used by the mmc_spi driver.
5
Anton Vorontsov3f1c6eb2009-03-31 15:24:38 -07006Required properties:
Anton Vorontsov3f1c6eb2009-03-31 15:24:38 -07007- spi-max-frequency : maximum frequency for this device (Hz).
8- voltage-ranges : two cells are required, first cell specifies minimum
9 slot voltage (mV), second cell specifies maximum slot voltage (mV).
10 Several ranges could be specified.
Esben Haabendal290293e2011-03-07 20:45:28 -070011
12Optional properties:
13- gpios : may specify GPIOs in this order: Card-Detect GPIO,
Arnd Bergmann7f217792012-05-13 00:14:24 -040014 Write-Protect GPIO. Note that this does not follow the
Chris Ball4efafee2012-06-11 21:48:16 -040015 binding from mmc.txt, for historical reasons.
Esben Haabendal290293e2011-03-07 20:45:28 -070016- interrupt-parent : the phandle for the interrupt controller that
17 services interrupts for this device.
Anton Vorontsov3f1c6eb2009-03-31 15:24:38 -070018
19Example:
20
21 mmc-slot@0 {
22 compatible = "fsl,mpc8323rdb-mmc-slot",
23 "mmc-spi-slot";
24 reg = <0>;
25 gpios = <&qe_pio_d 14 1
26 &qe_pio_d 15 0>;
27 voltage-ranges = <3300 3300>;
28 spi-max-frequency = <50000000>;
Esben Haabendal290293e2011-03-07 20:45:28 -070029 interrupts = <42>;
30 interrupt-parent = <&PIC>;
Anton Vorontsov3f1c6eb2009-03-31 15:24:38 -070031 };