On our new board with i.MX8MMini, we need to use the pins originally used for UART2 (Linux console) for an SPI-Interface. According to the iMX8MMini reference manual, the UART2 RXD and TXD can be connected to the pins SAI3_TXFS and SAI3_TXC. But in the file .../dt-bindings/pinctrl/pins-imx8mm.h the respective defines are missing.
So my question:
Were these defines only forgotten to add an this can simply be done? This is what I expect.
Will it not be possible to switch the UART2 to the SAI3 pins? Which I hope is not the case.
Please give me a short hint.
Thank you in advance and best regards
You can add them to pins-imx8mm.h according to imx8mm_pins.h in u-boot ( arch/arm/include/asm/arch-imx8m/imx8mm_pins.h) by yourself.
see below, please!
MX8MM_IOMUXC_SAI3_TXFS_UART2_RXD 0x01D8 0x0440 0x4 0x2
MX8MM_IOMUXC_SAI3_TXC_UART2_TXD 0x01DC 0x0444 0x4 0x0
Have a nice day!