diff options
author | 2020-04-26 13:20:41 +0000 | |
---|---|---|
committer | 2020-04-26 13:20:41 +0000 | |
commit | 529b42b2634230d8b4c8290c09d6f414f4cac163 (patch) | |
tree | 01d3656355685bd3e439d5939f6a69fb4a7ae35b /sys/dev/fdt/imxgpc.c | |
parent | Make explicit and enforce that WSCREEN and WSEMUL names are 0-terminated. (diff) | |
download | wireguard-openbsd-529b42b2634230d8b4c8290c09d6f414f4cac163.tar.xz wireguard-openbsd-529b42b2634230d8b4c8290c09d6f414f4cac163.zip |
Attach imxgpc(4) to i.MX8MM as well.
Diffstat (limited to 'sys/dev/fdt/imxgpc.c')
-rw-r--r-- | sys/dev/fdt/imxgpc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/fdt/imxgpc.c b/sys/dev/fdt/imxgpc.c index 0b03e95f0af..d2b367aabfb 100644 --- a/sys/dev/fdt/imxgpc.c +++ b/sys/dev/fdt/imxgpc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: imxgpc.c,v 1.6 2020/03/11 12:13:47 patrick Exp $ */ +/* $OpenBSD: imxgpc.c,v 1.7 2020/04/26 13:20:41 patrick Exp $ */ /* * Copyright (c) 2016 Mark Kettenis * @@ -58,6 +58,7 @@ imxgpc_match(struct device *parent, void *match, void *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,imx8mm-gpc") || OF_is_compatible(faa->fa_node, "fsl,imx8mq-gpc")); } @@ -76,7 +77,8 @@ imxgpc_attach(struct device *parent, struct device *self, void *aux) printf("\n"); - if (OF_is_compatible(faa->fa_node, "fsl,imx8mq-gpc")) { + if (OF_is_compatible(faa->fa_node, "fsl,imx8mm-gpc") || + OF_is_compatible(faa->fa_node, "fsl,imx8mq-gpc")) { list = OF_child(faa->fa_node); if (!list) return; |