summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2014-04-28 22:10:26 +0400
committerStephen Warren <swarren@nvidia.com>2014-05-06 21:03:20 +0400
commit2be8f4a66d2d85338ab01048f28f2ab3c08991de (patch)
tree9820b8636920f8c532ef44bab8860dc216eee9b9 /arch
parent6f3df63ffb8b5d1634646fbeb3a018fcbb11e596 (diff)
downloadlinux-2be8f4a66d2d85338ab01048f28f2ab3c08991de.tar.xz
ARM: tegra: add SD wp-gpios to Venice2 DT
Venice2 can detect write-protect on the SD card. Add the required DT entries to allow this. Signed-off-by: Stephen Warren <swarren@nvidia.com> [swarren: fixed GPIO polarity per Thierry's testing] Tested-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/tegra124-venice2.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra124-venice2.dts b/arch/arm/boot/dts/tegra124-venice2.dts
index 84a6ec039e1d..f0bb84244025 100644
--- a/arch/arm/boot/dts/tegra124-venice2.dts
+++ b/arch/arm/boot/dts/tegra124-venice2.dts
@@ -943,6 +943,7 @@
sdhci@0,700b0400 {
cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
+ wp-gpios = <&gpio TEGRA_GPIO(Q, 4) GPIO_ACTIVE_LOW>;
status = "okay";
bus-width = <4>;
vqmmc-supply = <&vddio_sdmmc3>;