From: Stephen Warren Date: Mon, 28 Apr 2014 18:10:26 +0000 (-0600) Subject: ARM: tegra: add SD wp-gpios to Venice2 DT X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2be8f4a66d2d85338ab01048f28f2ab3c08991de;p=linux-beck.git 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: fixed GPIO polarity per Thierry's testing] Tested-by: Thierry Reding --- 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>;