xref: /freebsd/sys/contrib/device-tree/Bindings/mmc/sdhci-omap.txt (revision 8cc087a1eee9ec1ca9f7ac1e63ad51bdb5a682eb)
1c66ec88fSEmmanuel Vadot* TI OMAP SDHCI Controller
2c66ec88fSEmmanuel Vadot
3c66ec88fSEmmanuel VadotRefer to mmc.txt for standard MMC bindings.
4c66ec88fSEmmanuel Vadot
5c66ec88fSEmmanuel VadotFor 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.
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel VadotRequired properties:
8*8cc087a1SEmmanuel Vadot- compatible: Should be "ti,omap2430-sdhci" for omap2430 controllers
9*8cc087a1SEmmanuel Vadot	      Should be "ti,omap3-sdhci" for omap3 controllers
10*8cc087a1SEmmanuel Vadot	      Should be "ti,omap4-sdhci" for omap4 and ti81 controllers
11*8cc087a1SEmmanuel Vadot	      Should be "ti,omap5-sdhci" for omap5 controllers
12*8cc087a1SEmmanuel Vadot	      Should be "ti,dra7-sdhci" for DRA7 and DRA72 controllers
13c66ec88fSEmmanuel Vadot	      Should be "ti,k2g-sdhci" for K2G
14c66ec88fSEmmanuel Vadot	      Should be "ti,am335-sdhci" for am335x controllers
15c66ec88fSEmmanuel Vadot	      Should be "ti,am437-sdhci" for am437x controllers
16c66ec88fSEmmanuel Vadot- ti,hwmods: Must be "mmc<n>", <n> is controller instance starting 1
17c66ec88fSEmmanuel Vadot	     (Not required for K2G).
18c66ec88fSEmmanuel Vadot- pinctrl-names: Should be subset of "default", "hs", "sdr12", "sdr25", "sdr50",
19c66ec88fSEmmanuel Vadot		 "ddr50-rev11", "sdr104-rev11", "ddr50", "sdr104",
20c66ec88fSEmmanuel Vadot		 "ddr_1_8v-rev11", "ddr_1_8v" or "ddr_3_3v", "hs200_1_8v-rev11",
21c66ec88fSEmmanuel Vadot		 "hs200_1_8v",
22c66ec88fSEmmanuel Vadot- pinctrl-<n> : Pinctrl states as described in bindings/pinctrl/pinctrl-bindings.txt
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel VadotOptional properties:
25c66ec88fSEmmanuel Vadot- dmas:		List of DMA specifiers with the controller specific format as described
26c66ec88fSEmmanuel Vadot		in the generic DMA client binding. A tx and rx specifier is required.
27c66ec88fSEmmanuel Vadot- dma-names:	List of DMA request names. These strings correspond 1:1 with the
28c66ec88fSEmmanuel Vadot		DMA specifiers listed in dmas. The string naming is to be "tx"
29c66ec88fSEmmanuel Vadot		and "rx" for TX and RX DMA requests, respectively.
30c66ec88fSEmmanuel Vadot
31*8cc087a1SEmmanuel VadotDeprecated properties:
32*8cc087a1SEmmanuel Vadot- ti,non-removable: Compatible with the generic non-removable property
33*8cc087a1SEmmanuel Vadot
34c66ec88fSEmmanuel VadotExample:
35c66ec88fSEmmanuel Vadot	mmc1: mmc@4809c000 {
36c66ec88fSEmmanuel Vadot		compatible = "ti,dra7-sdhci";
37c66ec88fSEmmanuel Vadot		reg = <0x4809c000 0x400>;
38c66ec88fSEmmanuel Vadot		ti,hwmods = "mmc1";
39c66ec88fSEmmanuel Vadot		bus-width = <4>;
40c66ec88fSEmmanuel Vadot		vmmc-supply = <&vmmc>; /* phandle to regulator node */
41c66ec88fSEmmanuel Vadot		dmas = <&sdma 61 &sdma 62>;
42c66ec88fSEmmanuel Vadot		dma-names = "tx", "rx";
43c66ec88fSEmmanuel Vadot	};
44