[PATCH 3/4] riscv: dts: sophgo: Add sdhci node

Kongyang Liu seashell11234455 at gmail.com
Fri Feb 2 10:43:35 CET 2024


Add sdhci node for cv1800b SoC.

Signed-off-by: Kongyang Liu <seashell11234455 at 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 at 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



More information about the U-Boot mailing list