diff options
| author | Heinrich Schuchardt <[email protected]> | 2024-03-28 22:46:15 +0100 |
|---|---|---|
| committer | Leo Yu-Chi Liang <[email protected]> | 2024-04-09 11:30:29 +0800 |
| commit | 0ba23d3daf950930d802369f32672af17458b718 (patch) | |
| tree | 9a4d271d30d4949e1d1294ccd0693e2872b9624b | |
| parent | c532ddded9093df585dd324c68932053b6241abf (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 <[email protected]>
Acked-by: Minda Chen <[email protected]>
| -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 f2c6bec9298..e11babc1cde 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"; |
