From: Jisheng Zhang <jszhang@kernel.org>
To: Conor Dooley <conor@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Paul Walmsley <paul.walmsley@sifive.com>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Emil Renner Berthing <kernel@esmil.dk>
Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH v4 5/8] riscv: dts: starfive: visionfive 2: add tf cd-gpios
Date: Mon, 29 Apr 2024 08:13:14 +0800 [thread overview]
Message-ID: <20240429001317.432-6-jszhang@kernel.org> (raw)
In-Reply-To: <20240429001317.432-1-jszhang@kernel.org>
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>
---
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi
index 910c07bd4af9..b6030d63459d 100644
--- a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi
+++ b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi
@@ -303,7 +303,7 @@ &mmc1 {
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";
--
2.43.0
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2024-04-29 0:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-29 0:13 [PATCH v4 0/8] riscv: dts: starfive: add Milkv Mars board device tree Jisheng Zhang
2024-04-29 0:13 ` [PATCH v4 1/8] riscv: dts: starfive: add 'cpus' label to jh7110 and jh7100 soc dtsi Jisheng Zhang
2024-04-29 0:13 ` [PATCH v4 2/8] dt-bindings: riscv: starfive: add Milkv Mars board Jisheng Zhang
2024-04-29 0:13 ` [PATCH v4 3/8] riscv: dts: starfive: visionfive 2: update sound and codec dt node name Jisheng Zhang
2024-04-29 0:13 ` [PATCH v4 4/8] riscv: dts: starfive: visionfive 2: use cpus label for timebase freq Jisheng Zhang
2024-04-29 0:13 ` Jisheng Zhang [this message]
2024-04-29 13:46 ` [PATCH v4 5/8] riscv: dts: starfive: visionfive 2: add tf cd-gpios Emil Renner Berthing
2024-04-29 0:13 ` [PATCH v4 6/8] riscv: dts: starfive: visionfive 2: add "disable-wp" for tfcard Jisheng Zhang
2024-04-29 13:47 ` Emil Renner Berthing
2024-04-29 0:13 ` [PATCH v4 7/8] riscv: dts: starfive: introduce a common board dtsi for jh7110 based boards Jisheng Zhang
2024-04-29 13:51 ` Emil Renner Berthing
2024-04-29 0:13 ` [PATCH v4 8/8] riscv: dts: starfive: add Milkv Mars board device tree Jisheng Zhang
2024-04-29 13:52 ` Emil Renner Berthing
2024-04-30 21:20 ` [PATCH v4 0/8] " Conor Dooley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240429001317.432-6-jszhang@kernel.org \
--to=jszhang@kernel.org \
--cc=aou@eecs.berkeley.edu \
--cc=conor@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kernel@esmil.dk \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).