ARM: u300: Convert to the common mmc DT bindings for highspeed mode
[deliverable/linux.git] / Documentation / devicetree / bindings / mmc / mmci.txt
CommitLineData
8dde8c46
LJ
1* ARM PrimeCell MultiMedia Card Interface (MMCI) PL180/1
2
4efafee0 3The ARM PrimeCell MMCI PL180 and PL181 provides an interface for
8dde8c46
LJ
4reading and writing to MultiMedia and SD cards alike.
5
4efafee0 6This file documents differences between the core properties described
ae94cafe
UH
7by mmc.txt and the properties used by the mmci driver. Using "st" as
8the prefix for a property, indicates support by the ST Micro variant.
4efafee0 9
8dde8c46
LJ
10Required properties:
11- compatible : contains "arm,pl18x", "arm,primecell".
dc03294a
UH
12- vmmc-supply : phandle to the regulator device tree node, mentioned
13 as the VCC/VDD supply in the eMMC/SD specs.
8dde8c46
LJ
14
15Optional properties:
dc03294a
UH
16- arm,primecell-periphid : contains the PrimeCell Peripheral ID, it overrides
17 the ID provided by the HW
18- mmc-cap-mmc-highspeed : indicates whether MMC is high speed capable.
19- mmc-cap-sd-highspeed : indicates whether SD is high speed capable.
20- vqmmc-supply : phandle to the regulator device tree node, mentioned
21 as the VCCQ/VDD_IO supply in the eMMC/SD specs.
ae94cafe
UH
22- st,sig-dir-dat0 : bus signal direction pin used for DAT[0].
23- st,sig-dir-dat2 : bus signal direction pin used for DAT[2].
24- st,sig-dir-dat31 : bus signal direction pin used for DAT[3] and DAT[1].
25- st,sig-dir-dat74 : bus signal direction pin used for DAT[4] to DAT[7].
26- st,sig-dir-cmd : cmd signal direction pin used for CMD.
1a7e99c1 27- st,sig-pin-fbclk : feedback clock signal pin used.
dc03294a
UH
28
29Example:
30
31sdi0_per1@80126000 {
32 compatible = "arm,pl18x", "arm,primecell";
33 reg = <0x80126000 0x1000>;
34 interrupts = <0 60 IRQ_TYPE_LEVEL_HIGH>;
35
36 dmas = <&dma 29 0 0x2>, /* Logical - DevToMem */
37 <&dma 29 0 0x0>; /* Logical - MemToDev */
38 dma-names = "rx", "tx";
39
40 clocks = <&prcc_kclk 1 5>, <&prcc_pclk 1 5>;
41 clock-names = "sdi", "apb_pclk";
42
43 max-frequency = <100000000>;
44 bus-width = <4>;
45 mmc-cap-sd-highspeed;
46 mmc-cap-mmc-highspeed;
47 cd-gpios = <&gpio2 31 0x4>; // 95
ae94cafe
UH
48 st,sig-dir-dat0;
49 st,sig-dir-dat2;
50 st,sig-dir-cmd;
1a7e99c1 51 st,sig-pin-fbclk;
dc03294a
UH
52
53 vmmc-supply = <&ab8500_ldo_aux3_reg>;
54 vqmmc-supply = <&vmmci>;
55
56 pinctrl-names = "default", "sleep";
57 pinctrl-0 = <&sdi0_default_mode>;
58 pinctrl-1 = <&sdi0_sleep_mode>;
59};
This page took 0.161745 seconds and 5 git commands to generate.