ti-omap-hsmmc.txt 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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. Required properties:
  5. - compatible:
  6. Should be "ti,omap2-hsmmc", for OMAP2 controllers
  7. Should be "ti,omap3-hsmmc", for OMAP3 controllers
  8. Should be "ti,omap4-hsmmc", for OMAP4 controllers
  9. - ti,hwmods: Must be "mmc<n>", n is controller instance starting 1
  10. - reg : should contain hsmmc registers location and length
  11. Optional properties:
  12. ti,dual-volt: boolean, supports dual voltage cards
  13. <supply-name>-supply: phandle to the regulator device tree node
  14. "supply-name" examples are "vmmc", "vmmc_aux" etc
  15. ti,bus-width: Number of data lines, default assumed is 1 if the property is missing.
  16. cd-gpios: GPIOs for card detection
  17. wp-gpios: GPIOs for write protection
  18. ti,non-removable: non-removable slot (like eMMC)
  19. ti,needs-special-reset: Requires a special softreset sequence
  20. Example:
  21. mmc1: mmc@0x4809c000 {
  22. compatible = "ti,omap4-hsmmc";
  23. reg = <0x4809c000 0x400>;
  24. ti,hwmods = "mmc1";
  25. ti,dual-volt;
  26. ti,bus-width = <4>;
  27. vmmc-supply = <&vmmc>; /* phandle to regulator node */
  28. ti,non-removable;
  29. };