]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commitdiff
ARM: tegra: add SD wp-gpios to Dalmore DT
authorStephen Warren <swarren@nvidia.com>
Mon, 28 Apr 2014 18:50:50 +0000 (12:50 -0600)
committerStephen Warren <swarren@nvidia.com>
Tue, 29 Apr 2014 16:09:54 +0000 (10:09 -0600)
Dalmore can detect write-protect on the SD card. Add the required
DT entries to allow this.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/boot/dts/tegra114-dalmore.dts

index 35a2ee71a970f5f42b6678e6a802c24fff20c0a7..5c21d216515a3d5a06b76a4b449cc72ef208b6af 100644 (file)
 
        sdhci@78000400 {
                cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
+               wp-gpios = <&gpio TEGRA_GPIO(Q, 4) GPIO_ACTIVE_HIGH>;
                bus-width = <4>;
                status = "okay";
        };