summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2023-07-01 08:22:42 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2023-07-01 08:22:42 +0000
commit43dd1e52cf75e02d8a8bd2777cf51337d466652c (patch)
treec35a61b446cc1ad920b4dc1f5dea9ac9d27c7c20 /sys
parentaf4bcebfa774577014a00f90773e11175d2067e2 (diff)
Add support for JH7110 to dwmmc(4).
This makes the eMMC and microSD mostly work on the Starfive VisionFive 2. ok kettenis@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/fdt/dwmmc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/fdt/dwmmc.c b/sys/dev/fdt/dwmmc.c
index 9c5860fdef8..cf33a5df22d 100644
--- a/sys/dev/fdt/dwmmc.c
+++ b/sys/dev/fdt/dwmmc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dwmmc.c,v 1.27 2022/06/09 14:43:28 kettenis Exp $ */
+/* $OpenBSD: dwmmc.c,v 1.28 2023/07/01 08:22:41 jsing Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis
*
@@ -275,7 +275,8 @@ dwmmc_match(struct device *parent, void *match, void *aux)
OF_is_compatible(faa->fa_node, "hisilicon,hi3670-dw-mshc") ||
OF_is_compatible(faa->fa_node, "rockchip,rk3288-dw-mshc") ||
OF_is_compatible(faa->fa_node, "samsung,exynos5420-dw-mshc") ||
- OF_is_compatible(faa->fa_node, "snps,dw-mshc"));
+ OF_is_compatible(faa->fa_node, "snps,dw-mshc") ||
+ OF_is_compatible(faa->fa_node, "starfive,jh7110-mmc"));
}
void