riscv: dts: sophgo: Add sdio configuration for Huashan Pi

Add configuration for sdio for Huashan Pi to support sdio wifi.

Link: https://lore.kernel.org/r/20241025112902.1200716-2-inochiama@gmail.com
Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
This commit is contained in:
Inochi Amaoto
2024-10-25 19:28:59 +08:00
parent 44196383a2
commit 06133f48a8
2 changed files with 21 additions and 0 deletions

View File

@@ -52,6 +52,17 @@ &sdhci0 {
disable-wp;
};
&sdhci1 {
status = "okay";
bus-width = <4>;
cap-sdio-irq;
max-frequency = <50000000>;
no-mmc;
no-sd;
disable-wp;
non-removable;
};
&uart0 {
status = "okay";
};

View File

@@ -319,6 +319,16 @@ sdhci0: mmc@4310000 {
status = "disabled";
};
sdhci1: mmc@4320000 {
compatible = "sophgo,cv1800b-dwcmshc";
reg = <0x4320000 0x1000>;
interrupts = <38 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk CLK_AXI4_SD1>,
<&clk CLK_SD1>;
clock-names = "core", "bus";
status = "disabled";
};
dmac: dma-controller@4330000 {
compatible = "snps,axi-dma-1.01a";
reg = <0x04330000 0x1000>;