1*4882a593SmuzhiyunMMC/SD/SDIO slot directly connected to a SPI bus 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunThis file documents differences between the core properties described 4*4882a593Smuzhiyunby mmc.txt and the properties used by the mmc_spi driver. 5*4882a593Smuzhiyun 6*4882a593SmuzhiyunRequired properties: 7*4882a593Smuzhiyun- spi-max-frequency : maximum frequency for this device (Hz). 8*4882a593Smuzhiyun- voltage-ranges : two cells are required, first cell specifies minimum 9*4882a593Smuzhiyun slot voltage (mV), second cell specifies maximum slot voltage (mV). 10*4882a593Smuzhiyun Several ranges could be specified. 11*4882a593Smuzhiyun 12*4882a593SmuzhiyunOptional properties: 13*4882a593Smuzhiyun- gpios : may specify GPIOs in this order: Card-Detect GPIO, 14*4882a593Smuzhiyun Write-Protect GPIO. Note that this does not follow the 15*4882a593Smuzhiyun binding from mmc.txt, for historical reasons. 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunExample: 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun mmc-slot@0 { 20*4882a593Smuzhiyun compatible = "fsl,mpc8323rdb-mmc-slot", 21*4882a593Smuzhiyun "mmc-spi-slot"; 22*4882a593Smuzhiyun reg = <0>; 23*4882a593Smuzhiyun gpios = <&qe_pio_d 14 1 24*4882a593Smuzhiyun &qe_pio_d 15 0>; 25*4882a593Smuzhiyun voltage-ranges = <3300 3300>; 26*4882a593Smuzhiyun spi-max-frequency = <50000000>; 27*4882a593Smuzhiyun interrupts = <42>; 28*4882a593Smuzhiyun interrupt-parent = <&PIC>; 29*4882a593Smuzhiyun }; 30