Please be advised while NXP has an Azure IoTEdge example implementation that builds for yocto zeus on different i.MX platforms but you will probably sooner or later run into a permission bug that will cause your edge module to error out.
I do not believe NXP did a very good job testing their port.
The problem is that default kernel build for various NXP linux bsp releases do NOT enable security on the file system which is required for iotedge. See issue description here.
To correct make sure kernel has "CONFIG_EXT4_FS_SECURITY=y" or "CONFIG_EXT3_FS_SECURITY" set.
Yes, the Linux BSP has the option to enable the XATTR and SECURITY, this will be enable when select Azure IotEdge on distro you are using, it is planned to have in next release of the BSP, in meantime you can select.