Please refer to the following link.
https://www.nxp.com/design/design-center/software/development-software/software-for-industrial-netwo.....
For the Linux route, start with PROFINETFORLINUXFS , UM12408 , UM12463 , RN00389/RN00434 , and the PROFINET Stack Library package. The Linux factsheet is the only source I retrieved that specifically calls out a PROFINET endpoint for Linux , and it describes the delivery model as a precompiled user-space object library plus platform-specific driver source for supported NXP devices.
For the M7/M33 route on i.MX94, use the i.MX94 RM plus the same PROFINET/GOAL/ICC documents, but treat AN13933 only as a reference pattern. i.MX94 has two Cortex-M7 and two Cortex-M33 cores and is designed for industrial Ethernet protocols including PROFINET, but the detailed app note I found for Cortex-M porting is specifically for i.MX 8M Mini Cortex-M4 using FreeRTOS and lwIP.