Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / mmc / nvidia-sdhci.txt
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 SD/MMC registers location and length
9 - interrupts : Should contain SD/MMC interrupt
10 - bus-width : Number of data lines, can be <1>, <4>, or <8>
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 */
26         bus-width = <8>;
27 };