About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / powerpc / dts-bindings / mmc-spi-slot.txt


Based on kernel version 2.6.37. Page generated on 2011-03-22 21:57 EST.

1	MMC/SD/SDIO slot directly connected to a SPI bus
2	
3	Required properties:
4	- compatible : should be "mmc-spi-slot".
5	- reg : should specify SPI address (chip-select number).
6	- spi-max-frequency : maximum frequency for this device (Hz).
7	- voltage-ranges : two cells are required, first cell specifies minimum
8	  slot voltage (mV), second cell specifies maximum slot voltage (mV).
9	  Several ranges could be specified.
10	- gpios : (optional) may specify GPIOs in this order: Card-Detect GPIO,
11	  Write-Protect GPIO.
12	
13	Example:
14	
15		mmc-slot@0 {
16			compatible = "fsl,mpc8323rdb-mmc-slot",
17				     "mmc-spi-slot";
18			reg = <0>;
19			gpios = <&qe_pio_d 14 1
20				 &qe_pio_d 15 0>;
21			voltage-ranges = <3300 3300>;
22			spi-max-frequency = <50000000>;
23		};
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog