samsung,s3cmci.txt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. * Samsung's S3C24XX MMC/SD/SDIO controller device tree bindings
  2. Samsung's S3C24XX MMC/SD/SDIO controller is used as a connectivity interface
  3. with external MMC, SD and SDIO storage mediums.
  4. This file documents differences between the core mmc properties described by
  5. mmc.txt and the properties used by the Samsung S3C24XX MMC/SD/SDIO controller
  6. implementation.
  7. Required SoC Specific Properties:
  8. - compatible: should be one of the following
  9. - "samsung,s3c2410-sdi": for controllers compatible with s3c2410
  10. - "samsung,s3c2412-sdi": for controllers compatible with s3c2412
  11. - "samsung,s3c2440-sdi": for controllers compatible with s3c2440
  12. - reg: register location and length
  13. - interrupts: mmc controller interrupt
  14. - clocks: Should reference the controller clock
  15. - clock-names: Should contain "sdi"
  16. Required Board Specific Properties:
  17. - pinctrl-0: Should specify pin control groups used for this controller.
  18. - pinctrl-names: Should contain only one value - "default".
  19. Optional Properties:
  20. - bus-width: number of data lines (see mmc.txt)
  21. - cd-gpios: gpio for card detection (see mmc.txt)
  22. - wp-gpios: gpio for write protection (see mmc.txt)
  23. Example:
  24. mmc0: mmc@5a000000 {
  25. compatible = "samsung,s3c2440-sdi";
  26. pinctrl-names = "default";
  27. pinctrl-0 = <&sdi_pins>;
  28. reg = <0x5a000000 0x100000>;
  29. interrupts = <0 0 21 3>;
  30. clocks = <&clocks PCLK_SDI>;
  31. clock-names = "sdi";
  32. bus-width = <4>;
  33. cd-gpios = <&gpg 8 GPIO_ACTIVE_LOW>;
  34. wp-gpios = <&gph 8 GPIO_ACTIVE_LOW>;
  35. };