Merge branch 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / mmc / mmc-spi-slot.txt
1 MMC/SD/SDIO slot directly connected to a SPI bus
2
3 This file documents differences between the core properties described
4 by mmc.txt and the properties used by the mmc_spi driver.
5
6 Required properties:
7 - spi-max-frequency : maximum frequency for this device (Hz).
8
9 Optional properties:
10 - voltage-ranges : two cells are required, first cell specifies minimum
11   slot voltage (mV), second cell specifies maximum slot voltage (mV).
12   Several ranges could be specified. If not provided, 3.2v..3.4v is assumed.
13 - gpios : may specify GPIOs in this order: Card-Detect GPIO,
14   Write-Protect GPIO. Note that this does not follow the
15   binding from mmc.txt, for historical reasons.
16
17 Example:
18
19         mmc-slot@0 {
20                 compatible = "fsl,mpc8323rdb-mmc-slot",
21                              "mmc-spi-slot";
22                 reg = <0>;
23                 gpios = <&qe_pio_d 14 1
24                          &qe_pio_d 15 0>;
25                 voltage-ranges = <3300 3300>;
26                 spi-max-frequency = <50000000>;
27                 interrupts = <42>;
28                 interrupt-parent = <&PIC>;
29         };