Grant Likely | 275173b | 2011-08-23 12:15:33 -0600 | [diff] [blame] | 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" |
Stephen Warren | 55cd65e | 2011-08-30 13:17:16 -0600 | [diff] [blame] | 8 | - reg : Should contain SD/MMC registers location and length |
| 9 | - interrupts : Should contain SD/MMC interrupt |
Arnd Bergmann | 7f21779 | 2012-05-13 00:14:24 -0400 | [diff] [blame] | 10 | - bus-width : Number of data lines, can be <1>, <4>, or <8> |
Grant Likely | 275173b | 2011-08-23 12:15:33 -0600 | [diff] [blame] | 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 */ |
Arnd Bergmann | 7f21779 | 2012-05-13 00:14:24 -0400 | [diff] [blame] | 26 | bus-width = <8>; |
Grant Likely | 275173b | 2011-08-23 12:15:33 -0600 | [diff] [blame] | 27 | }; |