summaryrefslogtreecommitdiffstats
path: root/sys/dev/fdt/imxgpc.c
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2018-06-10 14:16:00 +0000
committerkettenis <kettenis@openbsd.org>2018-06-10 14:16:00 +0000
commitdb133697848ebd83cb4568ce9574528ba20484d0 (patch)
tree42898c16fac15c447ed273513301e0f500a1efae /sys/dev/fdt/imxgpc.c
parentAttach imxesdhc(4) to i.MX7D. Should attach to i.MX6SL as well. (diff)
downloadwireguard-openbsd-db133697848ebd83cb4568ce9574528ba20484d0.tar.xz
wireguard-openbsd-db133697848ebd83cb4568ce9574528ba20484d0.zip
Attach imxgpc(4) to i.MX7D as well.
Diffstat (limited to 'sys/dev/fdt/imxgpc.c')
-rw-r--r--sys/dev/fdt/imxgpc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/fdt/imxgpc.c b/sys/dev/fdt/imxgpc.c
index 9c3398febea..02d30aaa5c4 100644
--- a/sys/dev/fdt/imxgpc.c
+++ b/sys/dev/fdt/imxgpc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imxgpc.c,v 1.2 2018/03/30 09:31:05 patrick Exp $ */
+/* $OpenBSD: imxgpc.c,v 1.3 2018/06/10 14:16:00 kettenis Exp $ */
/*
* Copyright (c) 2016 Mark Kettenis
*
@@ -45,6 +45,7 @@ imxgpc_match(struct device *parent, void *match, void *aux)
struct fdt_attach_args *faa = aux;
return (OF_is_compatible(faa->fa_node, "fsl,imx6q-gpc") ||
+ OF_is_compatible(faa->fa_node, "fsl,imx7d-gpc") ||
OF_is_compatible(faa->fa_node, "fsl,imx8mq-gpc"));
}