]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
riscv: dts: thead: Enable BeagleV Ahead eMMC and microSD
authorDrew Fustini <dfustini@baylibre.com>
Wed, 6 Dec 2023 08:09:23 +0000 (00:09 -0800)
committerConor Dooley <conor.dooley@microchip.com>
Tue, 12 Dec 2023 19:06:51 +0000 (19:06 +0000)
Add emmc node properties for the eMMC device and add sdio0 node
properties for the microSD slot. Set the frequency for the sdhci
reference clock.

Signed-off-by: Drew Fustini <dfustini@baylibre.com>
Reviewed-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Jisheng Zhang <jszhang@kernel.org>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts

index 70e8042c83046be5ba2c3e09953fd1740b04765a..d9b4de9e4757421dfffdf68a6ddfe574a9f28822 100644 (file)
        clock-frequency = <62500000>;
 };
 
+&sdhci_clk {
+       clock-frequency = <198000000>;
+};
+
 &uart_sclk {
        clock-frequency = <100000000>;
 };
        status = "okay";
 };
 
+&emmc {
+       bus-width = <8>;
+       max-frequency = <198000000>;
+       mmc-hs400-1_8v;
+       non-removable;
+       no-sdio;
+       no-sd;
+       status = "okay";
+};
+
+&sdio0 {
+       bus-width = <4>;
+       max-frequency = <198000000>;
+       status = "okay";
+};
+
 &uart0 {
        status = "okay";
 };