]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: rockchip: Add cd-gpios for sdcard detect on Cool Pi CM5
authorAndy Yan <andyshrk@163.com>
Sat, 24 May 2025 06:42:12 +0000 (14:42 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 9 Jun 2025 09:16:41 +0000 (11:16 +0200)
cd-gpios is used for sdcard detects for sdmmc.

Fixes: 791c154c3982 ("arm64: dts: rockchip: Add support for rk3588 based board Cool Pi CM5 EVB")
Signed-off-by: Andy Yan <andyshrk@163.com>
Link: https://lore.kernel.org/r/20250524064223.5741-1-andyshrk@163.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5.dtsi

index cc37f082adea0f848e8e84b0bb780b1cf673355d..b07543315f87854820e7b2719f95be6afb5e177c 100644 (file)
        bus-width = <4>;
        cap-mmc-highspeed;
        cap-sd-highspeed;
+       cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
        disable-wp;
        max-frequency = <150000000>;
        no-sdio;