From: Kongyang Liu <seashell11234455@gmail.com>
To: u-boot@lists.denx.de
Cc: Leo <ycliang@andestech.com>, Rick Chen <rick@andestech.com>,
Tom Rini <trini@konsulko.com>
Subject: [PATCH 3/4] riscv: dts: sophgo: Add sdhci node
Date: Fri, 2 Feb 2024 17:43:35 +0800 [thread overview]
Message-ID: <20240202094418.334221-4-seashell11234455@gmail.com> (raw)
In-Reply-To: <20240202094418.334221-1-seashell11234455@gmail.com>
Add sdhci node for cv1800b SoC.
Signed-off-by: Kongyang Liu <seashell11234455@gmail.com>
---
arch/riscv/dts/cv1800b.dtsi | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/arch/riscv/dts/cv1800b.dtsi b/arch/riscv/dts/cv1800b.dtsi
index baf641829e..11b84b5e79 100644
--- a/arch/riscv/dts/cv1800b.dtsi
+++ b/arch/riscv/dts/cv1800b.dtsi
@@ -7,6 +7,29 @@
/ {
compatible = "sophgo,cv1800b";
+
+ sd: sdhci@4310000 {
+ compatible = "sophgo,cv1800b-sdhci";
+ reg = <0x4310000 0x1000>;
+ reg-names = "core_mem";
+ bus-width = <4>;
+ cap-sd-highspeed;
+ cap-mmc-highspeed;
+ sd-uhs-sdr12;
+ sd-uhs-sdr25;
+ sd-uhs-sdr50;
+ sd-uhs-sdr104;
+ no-sdio;
+ no-mmc;
+ no-1-8-v;
+ src-frequency = <375000000>;
+ min-frequency = <400000>;
+ max-frequency = <200000000>;
+ reset_tx_rx_phy;
+ reset-names = "sdhci";
+ pll_index = <0x6>;
+ pll_reg = <0x3002070>;
+ };
};
&plic {
--
2.41.0
next prev parent reply other threads:[~2024-02-02 12:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-02 9:43 [PATCH 0/4] mmc: sophgo: milkv_duo: Add SD card support for Milk-V Duo board Kongyang Liu
2024-02-02 9:43 ` [PATCH 1/4] mmc: cv1800b: Add sdhci driver support for cv1800b SoC Kongyang Liu
2024-02-02 9:43 ` [PATCH 2/4] riscv: dts: sophgo: Add clk node Kongyang Liu
2024-02-02 9:43 ` Kongyang Liu [this message]
2024-02-02 9:43 ` [PATCH 4/4] configs: milkv_duo: Add SD card configs Kongyang Liu
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=20240202094418.334221-4-seashell11234455@gmail.com \
--to=seashell11234455@gmail.com \
--cc=rick@andestech.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=ycliang@andestech.com \
/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