]> Git Repo - J-linux.git/commitdiff
riscv: dts: sophgo: Add sdio configuration for Huashan Pi
authorInochi Amaoto <[email protected]>
Fri, 25 Oct 2024 11:28:59 +0000 (19:28 +0800)
committerInochi Amaoto <[email protected]>
Sat, 2 Nov 2024 11:19:08 +0000 (19:19 +0800)
Add configuration for sdio for Huashan Pi to support sdio wifi.

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Inochi Amaoto <[email protected]>
Signed-off-by: Chen Wang <[email protected]>
arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dts
arch/riscv/boot/dts/sophgo/cv18xx.dtsi

index 7b5f57853690b34c4f64148a2cdff4f05b6cf16e..4ea27cd357dc3896e09033cdfbb963c8ab1380f3 100644 (file)
        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";
 };
index bef89979df78cef028d016c807a5013d91dd8d53..c18822ec849f353bc296965d2d600a3df314cff6 100644 (file)
                        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>;
This page took 0.054496 seconds and 4 git commands to generate.