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