diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2024-03-28 22:46:15 +0100 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2024-04-09 11:30:29 +0800 |
commit | 0ba23d3daf950930d802369f32672af17458b718 (patch) | |
tree | 9a4d271d30d4949e1d1294ccd0693e2872b9624b | |
parent | c532ddded9093df585dd324c68932053b6241abf (diff) | |
download | u-boot-0ba23d3daf950930d802369f32672af17458b718.zip u-boot-0ba23d3daf950930d802369f32672af17458b718.tar.gz u-boot-0ba23d3daf950930d802369f32672af17458b718.tar.bz2 |
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>
-rw-r--r-- | arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |