riscv: dts: thead: Enable LicheePi 4A eMMC and microSD 97/307397/1
authorDrew Fustini <dfustini@baylibre.com>
Wed, 6 Dec 2023 08:09:24 +0000 (00:09 -0800)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 8 Mar 2024 04:50:00 +0000 (13:50 +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 b6b5028473ceb3054f8a440f85e3d728a3fba1dc)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: Ic17b1ed949808ed9736540a08b7e93b5cd8d3524

arch/riscv/boot/dts/thead/th1520-lichee-module-4a.dtsi

index a802ab1104294bc17e81d6c5e8c58d0869941bd1..1365d3a512a3b9df7fffdcfa2262f822fd819a9d 100644 (file)
        clock-frequency = <62500000>;
 };
 
+&sdhci_clk {
+       clock-frequency = <198000000>;
+};
+
 &uart_sclk {
        clock-frequency = <100000000>;
 };
 &dmac0 {
        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";
+};