xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mmc/sdhci-omap.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* TI OMAP SDHCI Controller
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRefer to mmc.txt for standard MMC bindings.
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunFor UHS devices which require tuning, the device tree should have a "cpu_thermal" node which maps to the appropriate thermal zone. This is used to get the temperature of the zone during tuning.
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunRequired properties:
8*4882a593Smuzhiyun- compatible: Should be "ti,dra7-sdhci" for DRA7 and DRA72 controllers
9*4882a593Smuzhiyun	      Should be "ti,k2g-sdhci" for K2G
10*4882a593Smuzhiyun	      Should be "ti,am335-sdhci" for am335x controllers
11*4882a593Smuzhiyun	      Should be "ti,am437-sdhci" for am437x controllers
12*4882a593Smuzhiyun- ti,hwmods: Must be "mmc<n>", <n> is controller instance starting 1
13*4882a593Smuzhiyun	     (Not required for K2G).
14*4882a593Smuzhiyun- pinctrl-names: Should be subset of "default", "hs", "sdr12", "sdr25", "sdr50",
15*4882a593Smuzhiyun		 "ddr50-rev11", "sdr104-rev11", "ddr50", "sdr104",
16*4882a593Smuzhiyun		 "ddr_1_8v-rev11", "ddr_1_8v" or "ddr_3_3v", "hs200_1_8v-rev11",
17*4882a593Smuzhiyun		 "hs200_1_8v",
18*4882a593Smuzhiyun- pinctrl-<n> : Pinctrl states as described in bindings/pinctrl/pinctrl-bindings.txt
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunOptional properties:
21*4882a593Smuzhiyun- dmas:		List of DMA specifiers with the controller specific format as described
22*4882a593Smuzhiyun		in the generic DMA client binding. A tx and rx specifier is required.
23*4882a593Smuzhiyun- dma-names:	List of DMA request names. These strings correspond 1:1 with the
24*4882a593Smuzhiyun		DMA specifiers listed in dmas. The string naming is to be "tx"
25*4882a593Smuzhiyun		and "rx" for TX and RX DMA requests, respectively.
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunExample:
28*4882a593Smuzhiyun	mmc1: mmc@4809c000 {
29*4882a593Smuzhiyun		compatible = "ti,dra7-sdhci";
30*4882a593Smuzhiyun		reg = <0x4809c000 0x400>;
31*4882a593Smuzhiyun		ti,hwmods = "mmc1";
32*4882a593Smuzhiyun		bus-width = <4>;
33*4882a593Smuzhiyun		vmmc-supply = <&vmmc>; /* phandle to regulator node */
34*4882a593Smuzhiyun		dmas = <&sdma 61 &sdma 62>;
35*4882a593Smuzhiyun		dma-names = "tx", "rx";
36*4882a593Smuzhiyun	};
37