nvidia-sdhci.txt 815 B

12345678910111213141516171819202122232425262728
  1. * NVIDIA Tegra Secure Digital Host Controller
  2. This controller on Tegra family SoCs provides an interface for MMC, SD,
  3. and SDIO types of memory cards.
  4. Required properties:
  5. - compatible : Should be "nvidia,<chip>-sdhci"
  6. - reg : Should contain SD/MMC registers location and length
  7. - interrupts : Should contain SD/MMC interrupt
  8. Optional properties:
  9. - cd-gpios : Specify GPIOs for card detection
  10. - wp-gpios : Specify GPIOs for write protection
  11. - power-gpios : Specify GPIOs for power control
  12. - support-8bit : Boolean, indicates if 8-bit mode should be used.
  13. Example:
  14. sdhci@c8000200 {
  15. compatible = "nvidia,tegra20-sdhci";
  16. reg = <0xc8000200 0x200>;
  17. interrupts = <47>;
  18. cd-gpios = <&gpio 69 0>; /* gpio PI5 */
  19. wp-gpios = <&gpio 57 0>; /* gpio PH1 */
  20. power-gpios = <&gpio 155 0>; /* gpio PT3 */
  21. support-8bit;
  22. };