AnsweredAssumed Answered

Using UART2 from Linux on i.MX8M-EVK board

Question asked by Bernard Dautrevaux on Jun 21, 2019
Latest reply on Jun 21, 2019 by igorpadykov

On the i.MX8M-EVK board there are two UARTs available through the USB micro socket, which is fine.

One is used as a Linux console and the other is connected to the Cortex-M4 core.


In my case I would not use the Cortex-M4 but would like to have access to the UART2 from Linux. I presume I will have to modify the DTS, adding a node for uart2, but I wonder what pin multiplexing definitions to use (probably I will have to add them too).


Moreover, I presume that the UART2 was dedicated to the Cortex-M4 and I don't know how (and especially where) to reprogram the RDC (Resource Domain Controler) to arrange for the UART2 to be accessible from the Cortex-A53). Or is the UART2 declared as a shared peripheral at boot time?


Thanks for any pointer to relevant BSP documentation or to any hints on how to do that.