diff options
author | Drew Fustini <[email protected]> | 2023-12-06 00:09:23 -0800 |
---|---|---|
committer | Conor Dooley <[email protected]> | 2023-12-12 19:06:51 +0000 |
commit | 18d92a03b319b10269a8aca478b31496a9701326 (patch) | |
tree | 69ff4f4c5970bf08d42bd42118ff82b352f6d134 | |
parent | a77f02e8489673cc80948a6f30ed262db1dee8d6 (diff) |
riscv: dts: thead: Enable BeagleV Ahead eMMC and microSD
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 <[email protected]>
Reviewed-by: Guo Ren <[email protected]>
Reviewed-by: Jisheng Zhang <[email protected]>
Signed-off-by: Conor Dooley <[email protected]>
-rw-r--r-- | arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts b/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts index 70e8042c8304..d9b4de9e4757 100644 --- a/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts +++ b/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts @@ -48,6 +48,10 @@ clock-frequency = <62500000>; }; +&sdhci_clk { + clock-frequency = <198000000>; +}; + &uart_sclk { clock-frequency = <100000000>; }; @@ -56,6 +60,22 @@ 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"; }; |