From 2be8f4a66d2d85338ab01048f28f2ab3c08991de Mon Sep 17 00:00:00 2001 From: Stephen Warren Date: Mon, 28 Apr 2014 12:10:26 -0600 Subject: [PATCH] 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 --- arch/arm/boot/dts/tegra124-venice2.dts | 1 + 1 file changed, 1 insertion(+) 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>; -- GitLab