From 0ffaaa271fa0bdc7d6cb003f50290ca5fef5d044 Mon Sep 17 00:00:00 2001 From: Brad Griffis Date: Mon, 26 Jun 2023 18:09:19 +0000 Subject: [PATCH] arm64: tegra: Fix P3767 card detect polarity The SD card detect pin is active-low on all Orin Nano and NX SKUs that have an SD card slot. Bug 4307643 Fixes: 13b0aca303e9 ("arm64: tegra: Support Jetson Orin NX") Signed-off-by: Brad Griffis Signed-off-by: Thierry Reding Change-Id: Ib62725a90625027150f7b55c41af0f18bc5f5e69 (cherry picked from mainline commit c6b7a1d11d0fa6333078141251908f48042016e1) Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3015536 Reviewed-by: Jonathan Hunter GVS: Gerrit_Virtual_Submit --- tegra234-p3767.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tegra234-p3767.dtsi b/tegra234-p3767.dtsi index 1e54321..024efe4 100644 --- a/tegra234-p3767.dtsi +++ b/tegra234-p3767.dtsi @@ -2086,7 +2086,7 @@ mmc@3400000 { status = "okay"; bus-width = <4>; - cd-gpios = <&gpio TEGRA234_MAIN_GPIO(G, 7) GPIO_ACTIVE_HIGH>; + cd-gpios = <&gpio TEGRA234_MAIN_GPIO(G, 7) GPIO_ACTIVE_LOW>; disable-wp; };