From c6ae4ff5cfe11867d9aff1e3d13c0698f477ac52 Mon Sep 17 00:00:00 2001 From: patrick Date: Mon, 23 Jul 2018 19:13:54 +0000 Subject: [PATCH] The imxiomuxc(4) node itself can also contain a set of pins to configure. These are pins that should be configured to a sane state and are not necessarily referenced by another node. ok kettenis@ --- sys/dev/fdt/imxiomuxc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/fdt/imxiomuxc.c b/sys/dev/fdt/imxiomuxc.c index 79e84edc165..bd09abe36ae 100644 --- a/sys/dev/fdt/imxiomuxc.c +++ b/sys/dev/fdt/imxiomuxc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: imxiomuxc.c,v 1.3 2018/06/10 14:17:23 kettenis Exp $ */ +/* $OpenBSD: imxiomuxc.c,v 1.4 2018/07/23 19:13:54 patrick Exp $ */ /* * Copyright (c) 2013 Patrick Wildt * Copyright (c) 2016 Mark Kettenis @@ -87,6 +87,7 @@ imxiomuxc_attach(struct device *parent, struct device *self, void *aux) panic("%s: bus_space_map failed!", __func__); pinctrl_register(faa->fa_node, imxiomuxc_pinctrl, sc); + pinctrl_byname(faa->fa_node, "default"); imxiomuxc_sc = sc; printf("\n"); } -- 2.20.1