mmc.txt 964 B

12345678910111213141516171819202122232425262728293031
  1. These properties are common to multiple MMC host controllers. Any host
  2. that requires the respective functionality should implement them using
  3. these definitions.
  4. Interpreted by the OF core:
  5. - reg: Registers location and length.
  6. - interrupts: Interrupts used by the MMC controller.
  7. Required properties:
  8. - bus-width: Number of data lines, can be <1>, <4>, or <8>
  9. Optional properties:
  10. - cd-gpios: Specify GPIOs for card detection, see gpio binding
  11. - wp-gpios: Specify GPIOs for write protection, see gpio binding
  12. - cd-inverted: when present, polarity on the cd gpio line is inverted
  13. - wp-inverted: when present, polarity on the wp gpio line is inverted
  14. - non-removable: non-removable slot (like eMMC)
  15. - max-frequency: maximum operating clock frequency
  16. Example:
  17. sdhci@ab000000 {
  18. compatible = "sdhci";
  19. reg = <0xab000000 0x200>;
  20. interrupts = <23>;
  21. bus-width = <4>;
  22. cd-gpios = <&gpio 69 0>;
  23. cd-inverted;
  24. wp-gpios = <&gpio 70 0>;
  25. max-frequency = <50000000>;
  26. }