ti-omap-hsmmc.txt 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. * TI Highspeed MMC host controller for OMAP
  2. The Highspeed MMC Host Controller on TI OMAP family
  3. provides an interface for MMC, SD, 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 omap_hsmmc driver.
  6. Required properties:
  7. - compatible:
  8. Should be "ti,omap2-hsmmc", for OMAP2 controllers
  9. Should be "ti,omap3-hsmmc", for OMAP3 controllers
  10. Should be "ti,omap4-hsmmc", for OMAP4 controllers
  11. - ti,hwmods: Must be "mmc<n>", n is controller instance starting 1
  12. Optional properties:
  13. ti,dual-volt: boolean, supports dual voltage cards
  14. <supply-name>-supply: phandle to the regulator device tree node
  15. "supply-name" examples are "vmmc", "vmmc_aux" etc
  16. ti,non-removable: non-removable slot (like eMMC)
  17. ti,needs-special-reset: Requires a special softreset sequence
  18. ti,needs-special-hs-handling: HSMMC IP needs special setting for handling High Speed
  19. dmas: List of DMA specifiers with the controller specific format
  20. as described in the generic DMA client binding. A tx and rx
  21. specifier is required.
  22. dma-names: List of DMA request names. These strings correspond
  23. 1:1 with the DMA specifiers listed in dmas. The string naming is
  24. to be "rx" and "tx" for RX and TX DMA requests, respectively.
  25. Examples:
  26. [hwmod populated DMA resources]
  27. mmc1: mmc@0x4809c000 {
  28. compatible = "ti,omap4-hsmmc";
  29. reg = <0x4809c000 0x400>;
  30. ti,hwmods = "mmc1";
  31. ti,dual-volt;
  32. bus-width = <4>;
  33. vmmc-supply = <&vmmc>; /* phandle to regulator node */
  34. ti,non-removable;
  35. };
  36. [generic DMA request binding]
  37. mmc1: mmc@0x4809c000 {
  38. compatible = "ti,omap4-hsmmc";
  39. reg = <0x4809c000 0x400>;
  40. ti,hwmods = "mmc1";
  41. ti,dual-volt;
  42. bus-width = <4>;
  43. vmmc-supply = <&vmmc>; /* phandle to regulator node */
  44. ti,non-removable;
  45. dmas = <&edma 24
  46. &edma 25>;
  47. dma-names = "tx", "rx";
  48. };