UART2 device reads 'random' data after porting from BSP 2.8 to BSP 5.5

Hi @henrique.tx ! Thank you for your response.

I’ve managed to find the culprit. I went back to the default kernel defconfig and devicetree (which turned out to be working) and gradually applied the changes until it broke. It turned out to be this defconfig entry:

CONFIG_IMX_SDMA=y

I don’t know why this was changed from m to y in our old kernel but changing it back to its default m value fixes the issue.

Thank you for your help!