Back to home page

OSCL-LXR

 
 

    


0001 * TI OMAP SDHCI Controller
0002 
0003 Refer to mmc.txt for standard MMC bindings.
0004 
0005 For 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.
0006 
0007 Required properties:
0008 - compatible: Should be "ti,omap2430-sdhci" for omap2430 controllers
0009               Should be "ti,omap3-sdhci" for omap3 controllers
0010               Should be "ti,omap4-sdhci" for omap4 and ti81 controllers
0011               Should be "ti,omap5-sdhci" for omap5 controllers
0012               Should be "ti,dra7-sdhci" for DRA7 and DRA72 controllers
0013               Should be "ti,k2g-sdhci" for K2G
0014               Should be "ti,am335-sdhci" for am335x controllers
0015               Should be "ti,am437-sdhci" for am437x controllers
0016 - ti,hwmods: Must be "mmc<n>", <n> is controller instance starting 1
0017              (Not required for K2G).
0018 - pinctrl-names: Should be subset of "default", "hs", "sdr12", "sdr25", "sdr50",
0019                  "ddr50-rev11", "sdr104-rev11", "ddr50", "sdr104",
0020                  "ddr_1_8v-rev11", "ddr_1_8v" or "ddr_3_3v", "hs200_1_8v-rev11",
0021                  "hs200_1_8v",
0022 - pinctrl-<n> : Pinctrl states as described in bindings/pinctrl/pinctrl-bindings.txt
0023 
0024 Optional properties:
0025 - dmas:         List of DMA specifiers with the controller specific format as described
0026                 in the generic DMA client binding. A tx and rx specifier is required.
0027 - dma-names:    List of DMA request names. These strings correspond 1:1 with the
0028                 DMA specifiers listed in dmas. The string naming is to be "tx"
0029                 and "rx" for TX and RX DMA requests, respectively.
0030 
0031 Deprecated properties:
0032 - ti,non-removable: Compatible with the generic non-removable property
0033 
0034 Example:
0035         mmc1: mmc@4809c000 {
0036                 compatible = "ti,dra7-sdhci";
0037                 reg = <0x4809c000 0x400>;
0038                 ti,hwmods = "mmc1";
0039                 bus-width = <4>;
0040                 vmmc-supply = <&vmmc>; /* phandle to regulator node */
0041                 dmas = <&sdma 61 &sdma 62>;
0042                 dma-names = "tx", "rx";
0043         };