The branch main has been updated by thj:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=998c46ac2afb99bb17d9399bb8e897e8d621d6d4

commit 998c46ac2afb99bb17d9399bb8e897e8d621d6d4
Author:     Tom Jones <[email protected]>
AuthorDate: 2026-02-09 10:05:10 +0000
Commit:     Tom Jones <[email protected]>
CommitDate: 2026-02-09 10:22:19 +0000

    aw_mmc: Add H616 mmc and emmc config
    
    Reviewed by:    manu
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D54909
---
 sys/arm/allwinner/aw_mmc.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/sys/arm/allwinner/aw_mmc.c b/sys/arm/allwinner/aw_mmc.c
index a8add957dc74..e10e98aea261 100644
--- a/sys/arm/allwinner/aw_mmc.c
+++ b/sys/arm/allwinner/aw_mmc.c
@@ -115,6 +115,18 @@ static const struct aw_mmc_conf a64_emmc_conf = {
        .can_calibrate = true,
 };
 
+static const struct aw_mmc_conf h616_mmc_conf = {
+       .dma_xferlen = 0x10000,
+       .mask_data0 = true,
+       .can_calibrate = true,
+       .new_timing = true,
+};
+
+static const struct aw_mmc_conf h616_emmc_conf = {
+       .dma_xferlen = 0x10000,
+       .can_calibrate = true,
+};
+
 static const struct aw_mmc_conf d1_mmc_conf = {
        .dma_xferlen = 0x1000,
        .dma_desc_shift = 2,
@@ -131,6 +143,8 @@ static struct ofw_compat_data compat_data[] = {
        {"allwinner,sun20i-d1-mmc", (uintptr_t)&d1_mmc_conf},
        {"allwinner,sun50i-a64-mmc", (uintptr_t)&a64_mmc_conf},
        {"allwinner,sun50i-a64-emmc", (uintptr_t)&a64_emmc_conf},
+       {"allwinner,sun50i-h616-mmc", (uintptr_t)&h616_mmc_conf},
+       {"allwinner,sun50i-h616-emmc", (uintptr_t)&h616_emmc_conf},
        {NULL,             0}
 };
 

Reply via email to