nvidia,tegra20-sdhci.txt 1.2 KB
Newer Older
1 2 3 4 5
* NVIDIA Tegra Secure Digital Host Controller

This controller on Tegra family SoCs provides an interface for MMC, SD,
and SDIO types of memory cards.

6 7 8
This file documents differences between the core properties described
by mmc.txt and the properties used by the sdhci-tegra driver.

9
Required properties:
10 11 12 13 14 15
- compatible : should be one of:
  - "nvidia,tegra20-sdhci": for Tegra20
  - "nvidia,tegra30-sdhci": for Tegra30
  - "nvidia,tegra114-sdhci": for Tegra114
  - "nvidia,tegra124-sdhci": for Tegra124 and Tegra132
  - "nvidia,tegra210-sdhci": for Tegra210
16 17
- clocks : Must contain one entry, for the module clock.
  See ../clocks/clock-bindings.txt for details.
18 19 20 21
- 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
22 23 24 25 26 27 28 29 30 31

Optional properties:
- power-gpios : Specify GPIOs for power control

Example:

sdhci@c8000200 {
	compatible = "nvidia,tegra20-sdhci";
	reg = <0xc8000200 0x200>;
	interrupts = <47>;
32
	clocks = <&tegra_car 14>;
33 34
	resets = <&tegra_car 14>;
	reset-names = "sdhci";
35 36 37
	cd-gpios = <&gpio 69 0>; /* gpio PI5 */
	wp-gpios = <&gpio 57 0>; /* gpio PH1 */
	power-gpios = <&gpio 155 0>; /* gpio PT3 */
A
Arnd Bergmann 已提交
38
	bus-width = <8>;
39
};