nvidia,tegra20-sdhci.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. This file documents differences between the core properties described
  5. by mmc.txt and the properties used by the sdhci-tegra driver.
  6. Required properties:
  7. - compatible : For Tegra20, must contain "nvidia,tegra20-sdhci".
  8. For Tegra30, must contain "nvidia,tegra30-sdhci". For Tegra114,
  9. must contain "nvidia,tegra114-sdhci". For Tegra124, must contain
  10. "nvidia,tegra124-sdhci". Otherwise, must contain "nvidia,<chip>-sdhci",
  11. plus one of the above, where <chip> is tegra132 or tegra210.
  12. - clocks : Must contain one entry, for the module clock.
  13. See ../clocks/clock-bindings.txt for details.
  14. - resets : Must contain an entry for each entry in reset-names.
  15. See ../reset/reset.txt for details.
  16. - reset-names : Must include the following entries:
  17. - sdhci
  18. Optional properties:
  19. - power-gpios : Specify GPIOs for power control
  20. Example:
  21. sdhci@c8000200 {
  22. compatible = "nvidia,tegra20-sdhci";
  23. reg = <0xc8000200 0x200>;
  24. interrupts = <47>;
  25. clocks = <&tegra_car 14>;
  26. resets = <&tegra_car 14>;
  27. reset-names = "sdhci";
  28. cd-gpios = <&gpio 69 0>; /* gpio PI5 */
  29. wp-gpios = <&gpio 57 0>; /* gpio PH1 */
  30. power-gpios = <&gpio 155 0>; /* gpio PT3 */
  31. bus-width = <8>;
  32. };