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" | |
55cd65e4 SW |
8 | - reg : Should contain SD/MMC registers location and length |
9 | - interrupts : Should contain SD/MMC interrupt | |
7f217794 | 10 | - bus-width : Number of data lines, can be <1>, <4>, or <8> |
275173b2 GL |
11 | |
12 | Optional properties: | |
13 | - cd-gpios : Specify GPIOs for card detection | |
14 | - wp-gpios : Specify GPIOs for write protection | |
15 | - power-gpios : Specify GPIOs for power control | |
16 | ||
17 | Example: | |
18 | ||
19 | sdhci@c8000200 { | |
20 | compatible = "nvidia,tegra20-sdhci"; | |
21 | reg = <0xc8000200 0x200>; | |
22 | interrupts = <47>; | |
23 | cd-gpios = <&gpio 69 0>; /* gpio PI5 */ | |
24 | wp-gpios = <&gpio 57 0>; /* gpio PH1 */ | |
25 | power-gpios = <&gpio 155 0>; /* gpio PT3 */ | |
7f217794 | 26 | bus-width = <8>; |
275173b2 | 27 | }; |