summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-02-01 16:29:57 -0700
committerOlof Johansson <olof@lixom.net>2012-02-26 13:48:11 -0800
commit850c4c8f9de4e1d4d60f83d252b4ae66a688c8ce (patch)
tree63a515b1cd61d107431d5ff8e0aabb7d25966eae /arch
parent07d4563e58dea39923456939e7d4138fb608b98b (diff)
downloadop-kernel-dev-850c4c8f9de4e1d4d60f83d252b4ae66a688c8ce.zip
op-kernel-dev-850c4c8f9de4e1d4d60f83d252b4ae66a688c8ce.tar.gz
ARM: dt: Add SD controller configuration to Tegra Cardhu
Cardhu uses Tegra's SD ports as follows: SDMMC1: User SD slot, with GPIOs for power, CD, and WP. SDMMC2: Not used SDMMC3: WiFi (currently disabled pending future investigation) SDMMC4: Internal eMMC Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/tegra-cardhu.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra-cardhu.dts b/arch/arm/boot/dts/tegra-cardhu.dts
index 70c41fc..7326350 100644
--- a/arch/arm/boot/dts/tegra-cardhu.dts
+++ b/arch/arm/boot/dts/tegra-cardhu.dts
@@ -33,4 +33,22 @@
i2c@7000d000 {
clock-frequency = <100000>;
};
+
+ sdhci@78000000 {
+ cd-gpios = <&gpio 69 0>; /* gpio PI5 */
+ wp-gpios = <&gpio 155 0>; /* gpio PT3 */
+ power-gpios = <&gpio 31 0>; /* gpio PD7 */
+ };
+
+ sdhci@78000200 {
+ status = "disable";
+ };
+
+ sdhci@78000400 {
+ status = "disable";
+ };
+
+ sdhci@78000400 {
+ support-8bit;
+ };
};
OpenPOWER on IntegriCloud