summaryrefslogtreecommitdiff
path: root/sys/dev/fdt
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/fdt')
-rw-r--r--sys/dev/fdt/imxgpc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/fdt/imxgpc.c b/sys/dev/fdt/imxgpc.c
index 0ddc493d36f..9c3398febea 100644
--- a/sys/dev/fdt/imxgpc.c
+++ b/sys/dev/fdt/imxgpc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imxgpc.c,v 1.1 2018/03/30 09:26:14 patrick Exp $ */
+/* $OpenBSD: imxgpc.c,v 1.2 2018/03/30 09:31:05 patrick Exp $ */
/*
* Copyright (c) 2016 Mark Kettenis
*
@@ -44,7 +44,8 @@ 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");
+ return (OF_is_compatible(faa->fa_node, "fsl,imx6q-gpc") ||
+ OF_is_compatible(faa->fa_node, "fsl,imx8mq-gpc"));
}
void