Commit | Line | Data |
---|---|---|
275173b2 GL |
1 | * NVIDIA Tegra Secure Digital Host Controller |
2 | ||
3 | This controller on Tegra family SoCs provides an interface for MMC, SD, | |
4 | and SDIO types of memory cards. | |
5 | ||
6 | Required properties: | |
7 | - compatible : Should be "nvidia,<chip>-sdhci" | |
8 | - reg : Should contain eSDHC registers location and length | |
9 | - interrupts : Should contain eSDHC interrupt | |
10 | ||
11 | Optional properties: | |
12 | - cd-gpios : Specify GPIOs for card detection | |
13 | - wp-gpios : Specify GPIOs for write protection | |
14 | - power-gpios : Specify GPIOs for power control | |
15 | ||
16 | Example: | |
17 | ||
18 | sdhci@c8000200 { | |
19 | compatible = "nvidia,tegra20-sdhci"; | |
20 | reg = <0xc8000200 0x200>; | |
21 | interrupts = <47>; | |
22 | cd-gpios = <&gpio 69 0>; /* gpio PI5 */ | |
23 | wp-gpios = <&gpio 57 0>; /* gpio PH1 */ | |
24 | power-gpios = <&gpio 155 0>; /* gpio PT3 */ | |
25 | }; |