[U-Boot] Pincontroller not getting initialized on imx6 in SPL with SPL_PINCTRL and OF_CONTROL

Adam Ford aford173 at gmail.com
Wed Feb 20 13:31:39 UTC 2019

I am trying to remove the manual pinmuxing code from the board file.
In an effort to accomplish this, I am trying to get SPL_OF_CONTROL and
SPL_PINCTRL to let me use the device tree(s) to initialize pin muxing.

I have the following defined:


along with

I put some debugging code into the imx6 pinctrl and I can see that
U-Boot initializes it, but that same debug message doesn't appear in

I looked through the spl build directory, and I can see the drivers
have been built, and the map file shows they exist, but for some
reason, it doesn't initalize.  If I remove the UART pin-muxing from my
board file, the text for SPL doesn't' appear at all, so it's clear
pinctrl isn't setting up the proper muxing yet.

I am trying to figure out how/where the pinctrl system gets
initialized in SPL, and I was hoping someone might have some insight.



More information about the U-Boot mailing list