mtk-sd.txt 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. * MTK MMC controller
  2. The MTK MSDC can act as a MMC controller
  3. to support MMC, SD, and SDIO types of memory cards.
  4. This file documents differences between the core properties in mmc.txt
  5. and the properties used by the msdc driver.
  6. Required properties:
  7. - compatible: Should be "mediatek,mt8173-mmc","mediatek,mt8135-mmc"
  8. - interrupts: Should contain MSDC interrupt number
  9. - clocks: MSDC source clock, HCLK
  10. - clock-names: "source", "hclk"
  11. - pinctrl-names: should be "default", "state_uhs"
  12. - pinctrl-0: should contain default/high speed pin ctrl
  13. - pinctrl-1: should contain uhs mode pin ctrl
  14. - vmmc-supply: power to the Core
  15. - vqmmc-supply: power to the IO
  16. Examples:
  17. mmc0: mmc@11230000 {
  18. compatible = "mediatek,mt8173-mmc", "mediatek,mt8135-mmc";
  19. reg = <0 0x11230000 0 0x108>;
  20. interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_LOW>;
  21. vmmc-supply = <&mt6397_vemc_3v3_reg>;
  22. vqmmc-supply = <&mt6397_vio18_reg>;
  23. clocks = <&pericfg CLK_PERI_MSDC30_0>, <&topckgen CLK_TOP_MSDC50_0_H_SEL>;
  24. clock-names = "source", "hclk";
  25. pinctrl-names = "default", "state_uhs";
  26. pinctrl-0 = <&mmc0_pins_default>;
  27. pinctrl-1 = <&mmc0_pins_uhs>;
  28. };