summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2018-07-23 19:13:54 +0000
committerpatrick <patrick@openbsd.org>2018-07-23 19:13:54 +0000
commitc6ae4ff5cfe11867d9aff1e3d13c0698f477ac52 (patch)
tree6971807edf58da90f43aaac7465a4d895e5e1db2
parentPoint to glob in section 7 for the actual list of special characters instead (diff)
downloadwireguard-openbsd-c6ae4ff5cfe11867d9aff1e3d13c0698f477ac52.tar.xz
wireguard-openbsd-c6ae4ff5cfe11867d9aff1e3d13c0698f477ac52.zip
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@
-rw-r--r--sys/dev/fdt/imxiomuxc.c3
1 files changed, 2 insertions, 1 deletions
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 <patrick@blueri.se>
* Copyright (c) 2016 Mark Kettenis <kettenis@openbsd.org>
@@ -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");
}