Hello,
I’ve been working to set up pin multiplexing for our verdin imx8mp on the mallow carrier board, but have not been seeing the desired results.
Overview
I’m trying to configure all the pins on the X19 primary extension header to be GPIOs. Currently, I’m trying to have them all be pulled down, thus outputting 0v on init (represented by 0x104 in the configuration). However, after applying the different device trees & overlays, measuring the pins on that header with an oscilloscope showed some of them at 1.8v while others were at 0.
What I’ve Tried
I’ve tried creating both my own device tree overlay with the configuration and editing the imx8mp-verdin.dtsi file directly to change the configuration. The pin that I’m focusing on currently is SPDIF_TX (configured to CAN1_TX by default). This is what my modification to the imx8mp-verdin.dtsi file’s flexcan1 pincontrol group looks like:
flexcan1grp
{
fsl, pins = <MX8MP_IOMUXC_SPDIF_RX__GPIO5_IO4 0x104>, // Replaced by CMC
<MX8MP_IOMUXC_SPDIF_TX__GPIO5_IO3 0x104>; // Replaced by CMC
};
Based on my understanding, this should configure both RX and TX as pull-down GPIOs. However, I’m still seeing TX at 1.8v. I’ve made similar changes to the other pins on the header, but none of them have changed from their default state.
Is there something I’m missing here? Any advice on what to try next? Any help would be appreciated
Output of tdx-info
Software summary
------------------------------------------------------------
Bootloader: U-Boot
Kernel version: 5.15.177-6.8.2+git.5a6602cc6c32 #1-TorizonCore SMP PREEMPT Fri Mar 21 16:22:58 UTC 2025
Kernel command line: root=LABEL=otaroot rootfstype=ext4 quiet logo.nologo vt.global_cursor_default=0 plymouth.ignore-serial-consoles splash fbcon=map:3 ostree=/ostree/boot.1/torizon/f75f7252e68327bc4f7f609b75b0313055b3bb63deeae8889eb6722c98a29647/0
Distro name: NAME="TorizonCore"
Distro version: VERSION_ID=6.8.2-build.30
Distro variant: VARIANT="Docker"
Hostname: verdin-imx8mp-15230162
------------------------------------------------------------
Hardware info
------------------------------------------------------------
HW model: Toradex Verdin iMX8M Plus WB on Verdin Development Board
Toradex version: 0058 V1.1B
Serial number: 15230162
Processor arch: aarch64
------------------------------------------------------------
(using torizon OS 6 because that’s what I was able to get the crank & weston containers running consistently on)
Regards,
Andrew