2011-08-23 18:15:33 +00:00
|
|
|
* NVIDIA Tegra Secure Digital Host Controller
|
|
|
|
|
|
|
|
This controller on Tegra family SoCs provides an interface for MMC, SD,
|
|
|
|
and SDIO types of memory cards.
|
|
|
|
|
2012-06-12 01:48:16 +00:00
|
|
|
This file documents differences between the core properties described
|
|
|
|
by mmc.txt and the properties used by the sdhci-tegra driver.
|
|
|
|
|
2011-08-23 18:15:33 +00:00
|
|
|
Required properties:
|
2015-01-30 22:11:04 +00:00
|
|
|
- compatible : For Tegra20, must contain "nvidia,tegra20-sdhci".
|
|
|
|
For Tegra30, must contain "nvidia,tegra30-sdhci". For Tegra114,
|
|
|
|
must contain "nvidia,tegra114-sdhci". For Tegra124, must contain
|
|
|
|
"nvidia,tegra124-sdhci". Otherwise, must contain "nvidia,<chip>-sdhci",
|
|
|
|
plus one of the above, where <chip> is tegra132 or tegra210.
|
2013-11-06 21:00:25 +00:00
|
|
|
- clocks : Must contain one entry, for the module clock.
|
|
|
|
See ../clocks/clock-bindings.txt for details.
|
2013-11-07 17:11:27 +00:00
|
|
|
- resets : Must contain an entry for each entry in reset-names.
|
|
|
|
See ../reset/reset.txt for details.
|
|
|
|
- reset-names : Must include the following entries:
|
|
|
|
- sdhci
|
2011-08-23 18:15:33 +00:00
|
|
|
|
|
|
|
Optional properties:
|
|
|
|
- power-gpios : Specify GPIOs for power control
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
sdhci@c8000200 {
|
|
|
|
compatible = "nvidia,tegra20-sdhci";
|
|
|
|
reg = <0xc8000200 0x200>;
|
|
|
|
interrupts = <47>;
|
2013-11-06 21:00:25 +00:00
|
|
|
clocks = <&tegra_car 14>;
|
2013-11-07 17:11:27 +00:00
|
|
|
resets = <&tegra_car 14>;
|
|
|
|
reset-names = "sdhci";
|
2011-08-23 18:15:33 +00:00
|
|
|
cd-gpios = <&gpio 69 0>; /* gpio PI5 */
|
|
|
|
wp-gpios = <&gpio 57 0>; /* gpio PH1 */
|
|
|
|
power-gpios = <&gpio 155 0>; /* gpio PT3 */
|
2012-05-13 04:14:24 +00:00
|
|
|
bus-width = <8>;
|
2011-08-23 18:15:33 +00:00
|
|
|
};
|