arm64: dts: rockchip: add sdmmc card detect to the nanopc-t6
authorJohn Clark <inindev@gmail.com>
Sat, 30 Dec 2023 16:50:53 +0000 (11:50 -0500)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 25 Jan 2024 20:44:09 +0000 (21:44 +0100)
The nanopc-t6 has an sdmmc card detect connected to gpio0_a4 which is
active low.

Signed-off-by: John Clark <inindev@gmail.com>
Link: https://lore.kernel.org/r/20231230165053.3781-1-inindev@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts

index 7e9613f079fa66916f1739816f4feb87c84f385e..899ce61c27bf5a147a486f7a788415904435cfa4 100644 (file)
        bus-width = <4>;
        cap-mmc-highspeed;
        cap-sd-highspeed;
+       cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
        disable-wp;
        no-mmc;
        no-sdio;