commit | 298fe6cabd0243d39257deea5c3da53a0de47756 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Thu Mar 28 22:46:15 2024 +0100 |
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | Tue Apr 09 11:30:29 2024 +0800 |
tree | 9a4d271d30d4949e1d1294ccd0693e2872b9624b | |
parent | 1b100e5d743fe282239186e028c42093111d2ebf [diff] |
riscv: starfive: MMC card detect The VisionFive 2 board uses GPIO 41 as card detect as documented in https://doc-en.rvspace.org/VisionFive2/PDF/SCH_RV002_V1.2A_20221216.pdf. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Acked-by: Minda Chen <minda.chen@starfivetech.com>
diff --git a/arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi b/arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi index f2c6bec..e11babc 100644 --- a/arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi +++ b/arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi
@@ -298,7 +298,7 @@ pinctrl-0 = <&mmc1_pins>; no-sdio; no-mmc; - broken-cd; + cd-gpios = <&sysgpio 41 GPIO_ACTIVE_LOW>; cap-sd-highspeed; post-power-on-delay-ms = <200>; status = "okay";