mmc-spi-slot.txt 900 B

1234567891011121314151617181920212223242526272829
  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. Example:
  14. mmc-slot@0 {
  15. compatible = "fsl,mpc8323rdb-mmc-slot",
  16. "mmc-spi-slot";
  17. reg = <0>;
  18. gpios = <&qe_pio_d 14 1
  19. &qe_pio_d 15 0>;
  20. voltage-ranges = <3300 3300>;
  21. spi-max-frequency = <50000000>;
  22. interrupts = <42>;
  23. interrupt-parent = <&PIC>;
  24. };