riscv: dts: thead: Enable BeagleV Ahead eMMC and microSD 96/307396/1
authorDrew Fustini <dfustini@baylibre.com>
Wed, 6 Dec 2023 08:09:23 +0000 (00:09 -0800)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 8 Mar 2024 04:49:56 +0000 (13:49 +0900)
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>
(cherry picked from commit 18d92a03b319b10269a8aca478b31496a9701326)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: I04bff256a2b998d6cbba740abb28458812cd8e46

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";
 };