From 14b38bd5e9efc917149299e5a7e3cd92bcc30fd9 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Wed, 17 Apr 2024 15:55:05 +0100
Subject: [PATCH 1035/1085] dts: bcm2712: cm5: There is no card detect signal

Delete the reference to the EMMC/SD card detect signal because the pin
is used for ANT1 on CM5.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
 arch/arm/boot/dts/broadcom/bcm2712-rpi-cm5.dtsi | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

--- a/arch/arm/boot/dts/broadcom/bcm2712-rpi-cm5.dtsi
+++ b/arch/arm/boot/dts/broadcom/bcm2712-rpi-cm5.dtsi
@@ -344,7 +344,7 @@ dpi_16bit_gpio2:        &rp1_dpi_16bit_g
 
 /* SDIO1 is used to drive the eMMC/SD card */
 &sdio1 {
-	pinctrl-0 = <&emmc_cmddat_pulls>, <&emmc_ds_pull>, <&emmc_aon_cd_pins>;
+	pinctrl-0 = <&emmc_cmddat_pulls>, <&emmc_ds_pull>;
 	pinctrl-names = "default";
 	vqmmc-supply = <&sd_io_1v8_reg>;
 	vmmc-supply = <&sd_vcc_reg>;
@@ -360,10 +360,6 @@ dpi_16bit_gpio2:        &rp1_dpi_16bit_g
 };
 
 &pinctrl_aon {
-	emmc_aon_cd_pins: emmc_aon_cd_pins {
-		function = "sd_card_g";
-		pins = "aon_gpio5";
-		bias-pull-up;
 	};
 
 	/* Slight hack - only one PWM pin (status LED) is usable */
