[PATCH v2 2/2] arm64: dts: rockchip: remove cd-gpios property in sdmmc0 for Radxa E25

FUKAUMI Naoki naoki at radxa.com
Wed Sep 18 00:32:36 PDT 2024


adding &sdmmc0_det to pinctrl-0 makes micro SD card detection work
without cd-gpios property. remove it.

Signed-off-by: FUKAUMI Naoki <naoki at radxa.com>
---
Changes in v2:
- drop Fixes tag
---
 arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts b/arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts
index bf8f2d8e9e2a1..350eb32a48a31 100644
--- a/arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts
@@ -197,11 +197,9 @@ &sata1 {
 &sdmmc0 {
 	bus-width = <4>;
 	cap-sd-highspeed;
-	cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
-	/* Also used in pcie30x1_clkreqnm0 */
 	disable-wp;
 	pinctrl-names = "default";
-	pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd>;
+	pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
 	sd-uhs-sdr104;
 	vmmc-supply = <&vcc3v3_sd>;
 	vqmmc-supply = <&vccio_sd>;
-- 
2.43.0




More information about the Linux-rockchip mailing list