ARM: tegra: add SD wp-gpios to Venice2 DT
authorStephen Warren <swarren@nvidia.com>
Mon, 28 Apr 2014 18:10:26 +0000 (12:10 -0600)
committerStephen Warren <swarren@nvidia.com>
Tue, 6 May 2014 17:03:20 +0000 (11:03 -0600)
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>
arch/arm/boot/dts/tegra124-venice2.dts

index 84a6ec0..f0bb842 100644 (file)
        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>;