mmc-spi-slot.txt 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. MMC/SD/SDIO slot directly connected to a SPI bus
  2. Required properties:
  3. - compatible : should be "mmc-spi-slot".
  4. - reg : should specify SPI address (chip-select number).
  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 historic reasons.
  13. - interrupts : the interrupt of a card detect interrupt.
  14. - interrupt-parent : the phandle for the interrupt controller that
  15. services interrupts for this device.
  16. Example:
  17. mmc-slot@0 {
  18. compatible = "fsl,mpc8323rdb-mmc-slot",
  19. "mmc-spi-slot";
  20. reg = <0>;
  21. gpios = <&qe_pio_d 14 1
  22. &qe_pio_d 15 0>;
  23. voltage-ranges = <3300 3300>;
  24. spi-max-frequency = <50000000>;
  25. interrupts = <42>;
  26. interrupt-parent = <&PIC>;
  27. };