mmc.txt 846 B

123456789101112131415161718192021222324252627
  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. Required properties:
  5. - bus-width: Number of data lines, can be <1>, <4>, or <8>
  6. Optional properties:
  7. - cd-gpios : Specify GPIOs for card detection, see gpio binding
  8. - wp-gpios : Specify GPIOs for write protection, see gpio binding
  9. - cd-inverted: when present, polarity on the wp gpio line is inverted
  10. - wp-inverted: when present, polarity on the wp gpio line is inverted
  11. - non-removable: non-removable slot (like eMMC)
  12. - max-frequency: maximum operating clock frequency
  13. Example:
  14. sdhci@ab000000 {
  15. compatible = "sdhci";
  16. reg = <0xab000000 0x200>;
  17. interrupts = <23>;
  18. bus-width = <4>;
  19. cd-gpios = <&gpio 69 0>;
  20. cd-inverted;
  21. wp-gpios = <&gpio 70 0>;
  22. max-frequency = <50000000>;
  23. }