2011-08-23 18:15:33 +00:00
|
|
|
* NVIDIA Tegra Secure Digital Host Controller
|
|
|
|
|
|
|
|
This controller on Tegra family SoCs provides an interface for MMC, SD,
|
|
|
|
and SDIO types of memory cards.
|
|
|
|
|
|
|
|
Required properties:
|
|
|
|
- compatible : Should be "nvidia,<chip>-sdhci"
|
2011-08-30 19:17:16 +00:00
|
|
|
- reg : Should contain SD/MMC registers location and length
|
|
|
|
- interrupts : Should contain SD/MMC interrupt
|
2012-05-13 04:14:24 +00:00
|
|
|
- bus-width : Number of data lines, can be <1>, <4>, or <8>
|
2011-08-23 18:15:33 +00:00
|
|
|
|
|
|
|
Optional properties:
|
|
|
|
- cd-gpios : Specify GPIOs for card detection
|
|
|
|
- wp-gpios : Specify GPIOs for write protection
|
|
|
|
- power-gpios : Specify GPIOs for power control
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
sdhci@c8000200 {
|
|
|
|
compatible = "nvidia,tegra20-sdhci";
|
|
|
|
reg = <0xc8000200 0x200>;
|
|
|
|
interrupts = <47>;
|
|
|
|
cd-gpios = <&gpio 69 0>; /* gpio PI5 */
|
|
|
|
wp-gpios = <&gpio 57 0>; /* gpio PH1 */
|
|
|
|
power-gpios = <&gpio 155 0>; /* gpio PT3 */
|
2012-05-13 04:14:24 +00:00
|
|
|
bus-width = <8>;
|
2011-08-23 18:15:33 +00:00
|
|
|
};
|