fsl-imx-esdhc.txt 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. * Freescale Enhanced Secure Digital Host Controller (eSDHC) for i.MX
  2. The Enhanced Secure Digital Host Controller on Freescale i.MX family
  3. provides an interface for MMC, SD, and SDIO types of memory cards.
  4. Required properties:
  5. - compatible : Should be "fsl,<chip>-esdhc"
  6. - reg : Should contain eSDHC registers location and length
  7. - interrupts : Should contain eSDHC interrupt
  8. Optional properties:
  9. - fsl,card-wired : Indicate the card is wired to host permanently
  10. - fsl,cd-controller : Indicate to use controller internal card detection
  11. - fsl,wp-controller : Indicate to use controller internal write protection
  12. - cd-gpios : Specify GPIOs for card detection
  13. - wp-gpios : Specify GPIOs for write protection
  14. Examples:
  15. esdhc@70004000 {
  16. compatible = "fsl,imx51-esdhc";
  17. reg = <0x70004000 0x4000>;
  18. interrupts = <1>;
  19. fsl,cd-controller;
  20. fsl,wp-controller;
  21. };
  22. esdhc@70008000 {
  23. compatible = "fsl,imx51-esdhc";
  24. reg = <0x70008000 0x4000>;
  25. interrupts = <2>;
  26. cd-gpios = <&gpio0 6 0>; /* GPIO1_6 */
  27. wp-gpios = <&gpio0 5 0>; /* GPIO1_5 */
  28. };