]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r352363:
authorIan Lepore <ian@FreeBSD.org>
Sun, 29 Sep 2019 18:33:29 +0000 (18:33 +0000)
committerIan Lepore <ian@FreeBSD.org>
Sun, 29 Sep 2019 18:33:29 +0000 (18:33 +0000)
commit1a531a68c82050d1384a6d676bfb8df03f4667aa
tree33bf9f196d073b9bf98211a3cb22addd27a08a02
parent5565aa6e49417e5fff46f383ea836a06ef6379bb
MFC r352363:

Apply a runtime patch to the FDT data for imx6 to fix iomuxc problems.

The latest imported FDT data defines a node for an iomuxc-gpr device,
which we don't support (or need, right now) in addition to the usual
iomuxc device.  Unfortunately, the dts improperly assigns overlapping
ranges of mmio space to both devices.  The -gpr device is also a syscon
and simple_mfd device.

At runtime the simple_mfd driver attaches for the iomuxc-gpr node, then
when the real iomuxc driver comes along later, it fails to attach because
it tries to allocate its register space, and it's already partially in
use by the bogus instance of simple_mfd.

This change works around the problem by simply disabling the node for
the iomuxc-gpr device, since we don't need it for anything.

Approved by: re@ (gjb)
sys/arm/freescale/imx/imx6_machdep.c