riscv: dts: starfive: visionfive 2: add tf cd-gpios
authorJisheng Zhang <jszhang@kernel.org>
Mon, 29 Apr 2024 00:13:14 +0000 (08:13 +0800)
committerConor Dooley <conor.dooley@microchip.com>
Tue, 30 Apr 2024 21:04:16 +0000 (22:04 +0100)
Per VisionFive 2 1.2B, and 1.3A boards' SCH, GPIO 41 is used as
card detect. So add "cd-gpios" property for this.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi

index 910c07bd4af919845cf5edae57fd72f71954b8b2..b6030d63459d37f859080d96523c00f116810eec 100644 (file)
        bus-width = <4>;
        no-sdio;
        no-mmc;
-       broken-cd;
+       cd-gpios = <&sysgpio 41 GPIO_ACTIVE_LOW>;
        cap-sd-highspeed;
        post-power-on-delay-ms = <200>;
        pinctrl-names = "default";