From: patrick Date: Mon, 23 Jul 2018 19:13:54 +0000 (+0000) Subject: The imxiomuxc(4) node itself can also contain a set of pins to X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c6ae4ff5cfe11867d9aff1e3d13c0698f477ac52;p=openbsd 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@ --- 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"); }