On i.MX8MP, GPIOs are owned by Linux (A53) by default.
If the Cortex-M7 needs them—especially for interrupts—you must release them in the device tree:
• Remove pinmux
• Remove GPIO references
• Disable the GPIO controller if needed
This prevents A53/M7 resource conflicts and ensures real-time reliability.
https://www.forlinx.net/industrial-news/imx8mp-m7-gpio-release-linux-pinmux-769.html

