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