^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) * TI OMAP SDHCI Controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Refer to mmc.txt for standard MMC bindings.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) 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.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) - compatible: Should be "ti,dra7-sdhci" for DRA7 and DRA72 controllers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) Should be "ti,k2g-sdhci" for K2G
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Should be "ti,am335-sdhci" for am335x controllers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Should be "ti,am437-sdhci" for am437x controllers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) - ti,hwmods: Must be "mmc<n>", <n> is controller instance starting 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) (Not required for K2G).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) - pinctrl-names: Should be subset of "default", "hs", "sdr12", "sdr25", "sdr50",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) "ddr50-rev11", "sdr104-rev11", "ddr50", "sdr104",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) "ddr_1_8v-rev11", "ddr_1_8v" or "ddr_3_3v", "hs200_1_8v-rev11",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) "hs200_1_8v",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) - pinctrl-<n> : Pinctrl states as described in bindings/pinctrl/pinctrl-bindings.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) - dmas: List of DMA specifiers with the controller specific format as described
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) in the generic DMA client binding. A tx and rx specifier is required.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) - dma-names: List of DMA request names. These strings correspond 1:1 with the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) DMA specifiers listed in dmas. The string naming is to be "tx"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) and "rx" for TX and RX DMA requests, respectively.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) mmc1: mmc@4809c000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) compatible = "ti,dra7-sdhci";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) reg = <0x4809c000 0x400>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) ti,hwmods = "mmc1";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) bus-width = <4>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) vmmc-supply = <&vmmc>; /* phandle to regulator node */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) dmas = <&sdma 61 &sdma 62>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) dma-names = "tx", "rx";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) };