[PATCH] ARM: dts: rk3588-rock-5b: use broken-cd for sdmmc
Yunus Taskopru
yunus at protonic.nl
Wed Apr 8 05:19:12 PDT 2026
Using the card-detect GPIO caused SD card access to fail on a tested
ROCK 5B.
Replace the card-detect GPIO setup with broken-cd and drop the detect
pin from the sdmmc pinctrl configuration.
Signed-off-by: Yunus Taskopru <yunus at protonic.nl>
---
arch/arm/dts/rk3588-rock-5b.dts | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/dts/rk3588-rock-5b.dts b/arch/arm/dts/rk3588-rock-5b.dts
index aca675f57f..decece25d4 100644
--- a/arch/arm/dts/rk3588-rock-5b.dts
+++ b/arch/arm/dts/rk3588-rock-5b.dts
@@ -55,6 +55,12 @@ environment_sd: partition at 408000 {
};
};
+&sdmmc {
+ broken-cd;
+ /delete-property/ cd-gpios;
+ pinctrl-0 = <&sdmmc_bus4 &sdmmc_clk &sdmmc_cmd>;
+};
+
&pcie3x4 {
/* Does not work in barebox (missing phy driver) */
status = "disabled";
--
2.47.3
More information about the barebox
mailing list