mmc-spi-slot.txt 1006 B

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