summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2016-09-10 18:33:01 +0000
committerjsg <jsg@openbsd.org>2016-09-10 18:33:01 +0000
commitda2fc6032d833291ade668d2999aea775a5ba5ea (patch)
tree43464392eb865495a0b20495e64198e3b9bca705
parentSimplify comments to reflect that we don't do 32bit compat processes (diff)
downloadwireguard-openbsd-da2fc6032d833291ade668d2999aea775a5ba5ea.tar.xz
wireguard-openbsd-da2fc6032d833291ade668d2999aea775a5ba5ea.zip
Correct the path to the iomuxc fdt node so pinctrl setup will run.
Noticed when looking into a regression on sabre lite with fec(4) bisected by matthieu@. This fixes the sabre lite problems with fec and also recent problems with the i2c rtc on cubox. ok kettenis@
-rw-r--r--sys/arch/armv7/imx/imxiomuxc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/armv7/imx/imxiomuxc.c b/sys/arch/armv7/imx/imxiomuxc.c
index 00858535914..04e08edef78 100644
--- a/sys/arch/armv7/imx/imxiomuxc.c
+++ b/sys/arch/armv7/imx/imxiomuxc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imxiomuxc.c,v 1.6 2016/08/06 17:18:38 kettenis Exp $ */
+/* $OpenBSD: imxiomuxc.c,v 1.7 2016/09/10 18:33:01 jsg Exp $ */
/*
* Copyright (c) 2013 Patrick Wildt <patrick@blueri.se>
* Copyright (c) 2016 Mark Kettenis <kettenis@openbsd.org>
@@ -139,7 +139,7 @@ imxiomuxc_attach(struct device *parent, struct device *self, void *args)
aa->aa_dev->mem[0].size, 0, &sc->sc_ioh))
panic("imxiomuxc_attach: bus_space_map failed!");
- node = OF_finddevice("/dev/soc/iomuxc@020e0000");
+ node = OF_finddevice("/soc/aips-bus@02000000/iomuxc@020e0000");
if (node != -1)
pinctrl_register(node, imxiomuxc_pinctrl, sc);