cavium-mmc.txt 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. * Cavium Octeon & ThunderX MMC controller
  2. The highspeed MMC host controller on Caviums SoCs provides an interface
  3. for MMC and SD types of memory cards.
  4. Supported maximum speeds are the ones of the eMMC standard 4.41 as well
  5. as the speed of SD standard 4.0. Only 3.3 Volt is supported.
  6. Required properties:
  7. - compatible : should be one of:
  8. cavium,octeon-6130-mmc
  9. cavium,octeon-7890-mmc
  10. cavium,thunder-8190-mmc
  11. cavium,thunder-8390-mmc
  12. mmc-slot
  13. - reg : mmc controller base registers
  14. - clocks : phandle
  15. Optional properties:
  16. - for cd, bus-width and additional generic mmc parameters
  17. please refer to mmc.txt within this directory
  18. - cavium,cmd-clk-skew : number of coprocessor clocks before sampling command
  19. - cavium,dat-clk-skew : number of coprocessor clocks before sampling data
  20. Deprecated properties:
  21. - spi-max-frequency : use max-frequency instead
  22. - cavium,bus-max-width : use bus-width instead
  23. - power-gpios : use vmmc-supply instead
  24. - cavium,octeon-6130-mmc-slot : use mmc-slot instead
  25. Examples:
  26. mmc_1_4: mmc@1,4 {
  27. compatible = "cavium,thunder-8390-mmc";
  28. reg = <0x0c00 0 0 0 0>; /* DEVFN = 0x0c (1:4) */
  29. #address-cells = <1>;
  30. #size-cells = <0>;
  31. clocks = <&sclk>;
  32. mmc-slot@0 {
  33. compatible = "mmc-slot";
  34. reg = <0>;
  35. vmmc-supply = <&mmc_supply_3v3>;
  36. max-frequency = <42000000>;
  37. bus-width = <4>;
  38. cap-sd-highspeed;
  39. };
  40. mmc-slot@1 {
  41. compatible = "mmc-slot";
  42. reg = <1>;
  43. vmmc-supply = <&mmc_supply_3v3>;
  44. max-frequency = <42000000>;
  45. bus-width = <8>;
  46. cap-mmc-highspeed;
  47. non-removable;
  48. };
  49. };