arm64: tegra: Fix SDMMC1 CD on P2888
authorTamás Szűcs <tszucs@protonmail.ch>
Sun, 12 Jun 2022 14:59:45 +0000 (14:59 +0000)
committerThierry Reding <treding@nvidia.com>
Fri, 8 Jul 2022 16:00:13 +0000 (18:00 +0200)
Hook SDMMC1 CD up with CVM GPIO02 (SOC_GPIO11) used for card detection on J4
(uSD socket) on the carrier.

Fixes: ef633bfc21e9 ("arm64: tegra: Enable card detect for SD card on P2888")
Signed-off-by: Tamás Szűcs <tszucs@protonmail.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi

index a7d7cfd66379f305173a5d81e59c1421f85ae93e..b0f9393dd39cc78bb615ec29d970ae05a2cccf99 100644 (file)
@@ -75,7 +75,7 @@
 
                /* SDMMC1 (SD/MMC) */
                mmc@3400000 {
-                       cd-gpios = <&gpio TEGRA194_MAIN_GPIO(A, 0) GPIO_ACTIVE_LOW>;
+                       cd-gpios = <&gpio TEGRA194_MAIN_GPIO(G, 7) GPIO_ACTIVE_LOW>;
                };
 
                /* SDMMC4 (eMMC) */