1* Allwinner sunxi MMC controller
2
3The highspeed MMC host controller on Allwinner SoCs provides an interface
4for MMC, SD and SDIO types of memory cards.
5
6Supported maximum speeds are the ones of the eMMC standard 4.5 as well
7as the speed of SD standard 3.0.
8Absolute maximum transfer rate is 200MB/s
9
10Required properties:
11 - compatible : "allwinner,sun4i-a10-mmc" or "allwinner,sun5i-a13-mmc"
12 - reg : mmc controller base registers
13 - clocks : a list with 4 phandle + clock specifier pairs
14 - clock-names : must contain "ahb", "mmc", "output" and "sample"
15 - interrupts : mmc controller interrupt
16
17Optional properties:
18 - resets : phandle + reset specifier pair
19 - reset-names : must contain "ahb"
20 - for cd, bus-width and additional generic mmc parameters
21   please refer to mmc.txt within this directory
22
23Examples:
24	- Within .dtsi:
25	mmc0: mmc@01c0f000 {
26		compatible = "allwinner,sun5i-a13-mmc";
27		reg = <0x01c0f000 0x1000>;
28		clocks = <&ahb_gates 8>, <&mmc0_clk>, <&mmc0_output_clk>, <&mmc0_sample_clk>;
29		clock-names = "ahb", "mod", "output", "sample";
30		interrupts = <0 32 4>;
31		status = "disabled";
32	};
33
34	- Within dts:
35	mmc0: mmc@01c0f000 {
36		pinctrl-names = "default", "default";
37		pinctrl-0 = <&mmc0_pins_a>;
38		pinctrl-1 = <&mmc0_cd_pin_reference_design>;
39		bus-width = <4>;
40		cd-gpios = <&pio 7 1 0>; /* PH1 */
41		cd-inverted;
42		status = "okay";
43	};
44