summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2018-07-23 19:13:55 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2018-07-23 19:13:55 +0000
commitc1f93e0b5b1afc308d6ce34a3f563e05e99f394e (patch)
tree3b97c8699b46e0e6c142b252abe147b225b8a18a /sys/dev
parent16266a6ea33dacb9703fe3e909d30a8b224913f7 (diff)
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@
Diffstat (limited to 'sys/dev')
-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");
}