Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab9670d5 authored by Marcel Ziswiler's avatar Marcel Ziswiler Committed by Thierry Reding
Browse files

ARM: tegra: apalis-tk1: Fix SD card detect on v1.1 HW



Add SD card detect SD1_CD# applicable for V1.1 modules using GPIO_PV2.

Signed-off-by: default avatarMarcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 5142bd65
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -187,14 +187,8 @@
	/* Apalis SD1 */
	sdhci@700b0400 {
		status = "okay";
		/*
		 * Don't use SD1_CD# aka SDMMC3_CLK_LB_OUT for now as it
		 * features some magic properties even though the external
		 * loopback is disabled and the internal loopback used as per
		 * SDMMC_VENDOR_MISC_CNTRL_0 register's SDMMC_SPARE1 bits being
		 * set to 0xfffd according to the TRM!
		 * cd-gpios = <&gpio TEGRA_GPIO(EE, 4) GPIO_ACTIVE_LOW>;
		 */
		/* SD1_CD# */
		cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
		bus-width = <4>;
		vqmmc-supply = <&vddio_sdmmc3>;
	};