/Documentation/powerpc/dts-bindings/mmc-spi-slot.txt

https://bitbucket.org/sammyz/iscream_thunderc-2.6.35-rebase · Plain Text · 23 lines · 20 code · 3 blank · 0 comment · 0 complexity · 81fd04b7aaef428d49e310748d70a26b MD5 · raw file

  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. - gpios : (optional) may specify GPIOs in this order: Card-Detect GPIO,
  10. Write-Protect GPIO.
  11. Example:
  12. mmc-slot@0 {
  13. compatible = "fsl,mpc8323rdb-mmc-slot",
  14. "mmc-spi-slot";
  15. reg = <0>;
  16. gpios = <&qe_pio_d 14 1
  17. &qe_pio_d 15 0>;
  18. voltage-ranges = <3300 3300>;
  19. spi-max-frequency = <50000000>;
  20. };