]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: rockchip: Add cd-gpios for sdcard detect on Cool Pi 4B
authorAndy Yan <andyshrk@163.com>
Sat, 24 May 2025 06:42:13 +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: 3f5d336d64d6 ("arm64: dts: rockchip: Add support for rk3588s based board Cool Pi 4B")
Signed-off-by: Andy Yan <andyshrk@163.com>
Link: https://lore.kernel.org/r/20250524064223.5741-2-andyshrk@163.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588s-coolpi-4b.dts

index 8b717c4017a46ac658a6a105519770c3e6e881ee..b2947b36fadaf687c5973fb64d58eb02ea4b536d 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;