UART 4 enabling on iMX8M Plus SOM based Custom Carrier PCB

Hi Team,

We have a custom board with iMX8M Plus SOM. We have to enable the UART4 and use it as a General-purpose UART.

Please give a guidance on how to enable it and use it for General purpose.

Thank You

Could you please clarify your question further? Are you asking about the hardware configuration of your custom carrier board to enable UART 4, or are you referring to enabling it at the software level? In the latter case, you simply need to set the status of UART 4 to ‘ok’ in your Linux device tree. Afterward, you can use it like any other UART. Please note that UART 4 can only be used as the General purpose UART if the Bluetooth is explicitly turned off in the software, or if the module does not have Wi-Fi capability since the Bluetooth module UART signals (RX,TX, RTS, CTS) are connected to an alternate location of the UART4 of the SoC.

I am enquiring about, Enabling UART4 in software level.
We are using Verdin imx8m plus quad 4GB Wi-Fi/ Bluetooth IT SOM module. But we don’t want to use Bluetooth and Wi-Fi functionality. So can we use UART4 for general purpose?
And can you please specifically show the device tree lines, that need to modify.

Hi @vkj,

We are using Verdin imx8m plus quad 4GB Wi-Fi/ Bluetooth IT SOM module. But we don’t want to use Bluetooth and Wi-Fi functionality. So can we use UART4 for general purpose?

You can try to modify uart4 node and remove bluetooth node.

Or

you can use non-wifi device tree and enable uart4 in overlay.

Best Regards
Ritesh Kumar