From: jsing Date: Sat, 1 Jul 2023 08:22:41 +0000 (+0000) Subject: Add support for JH7110 to dwmmc(4). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=64cee0edca2bcf1468b9a4c7ce14151272f75939;p=openbsd Add support for JH7110 to dwmmc(4). This makes the eMMC and microSD mostly work on the Starfive VisionFive 2. ok kettenis@ --- 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