diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2020-04-26 13:20:42 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2020-04-26 13:20:42 +0000 |
commit | 378d8d02c26dc027e682c0f0812f6a72044922b1 (patch) | |
tree | 8dc971943fef5532b97ccd169217f4d1a261a1ee /sys/dev/fdt/imxgpc.c | |
parent | b39828359c98990a9dc77db222b7b47bc86cf338 (diff) |
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; |