mmci.txt 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. * ARM PrimeCell MultiMedia Card Interface (MMCI) PL180/1
  2. The ARM PrimeCell MMCI PL180 and PL181 provides an interface for
  3. reading and writing to MultiMedia and SD cards alike.
  4. This file documents differences between the core properties described
  5. by mmc.txt and the properties used by the mmci driver. Using "st" as
  6. the prefix for a property, indicates support by the ST Micro variant.
  7. Required properties:
  8. - compatible : contains "arm,pl18x", "arm,primecell".
  9. - vmmc-supply : phandle to the regulator device tree node, mentioned
  10. as the VCC/VDD supply in the eMMC/SD specs.
  11. Optional properties:
  12. - arm,primecell-periphid : contains the PrimeCell Peripheral ID, it overrides
  13. the ID provided by the HW
  14. - vqmmc-supply : phandle to the regulator device tree node, mentioned
  15. as the VCCQ/VDD_IO supply in the eMMC/SD specs.
  16. - st,sig-dir-dat0 : bus signal direction pin used for DAT[0].
  17. - st,sig-dir-dat2 : bus signal direction pin used for DAT[2].
  18. - st,sig-dir-dat31 : bus signal direction pin used for DAT[3] and DAT[1].
  19. - st,sig-dir-dat74 : bus signal direction pin used for DAT[4] to DAT[7].
  20. - st,sig-dir-cmd : cmd signal direction pin used for CMD.
  21. - st,sig-pin-fbclk : feedback clock signal pin used.
  22. Deprecated properties:
  23. - mmc-cap-mmc-highspeed : indicates whether MMC is high speed capable.
  24. - mmc-cap-sd-highspeed : indicates whether SD is high speed capable.
  25. Example:
  26. sdi0_per1@80126000 {
  27. compatible = "arm,pl18x", "arm,primecell";
  28. reg = <0x80126000 0x1000>;
  29. interrupts = <0 60 IRQ_TYPE_LEVEL_HIGH>;
  30. dmas = <&dma 29 0 0x2>, /* Logical - DevToMem */
  31. <&dma 29 0 0x0>; /* Logical - MemToDev */
  32. dma-names = "rx", "tx";
  33. clocks = <&prcc_kclk 1 5>, <&prcc_pclk 1 5>;
  34. clock-names = "sdi", "apb_pclk";
  35. max-frequency = <100000000>;
  36. bus-width = <4>;
  37. cap-sd-highspeed;
  38. cap-mmc-highspeed;
  39. cd-gpios = <&gpio2 31 0x4>; // 95
  40. st,sig-dir-dat0;
  41. st,sig-dir-dat2;
  42. st,sig-dir-cmd;
  43. st,sig-pin-fbclk;
  44. vmmc-supply = <&ab8500_ldo_aux3_reg>;
  45. vqmmc-supply = <&vmmci>;
  46. pinctrl-names = "default", "sleep";
  47. pinctrl-0 = <&sdi0_default_mode>;
  48. pinctrl-1 = <&sdi0_sleep_mode>;
  49. };