hi @MayanksPatel
actually i did solve this problem by disabling not used PFE_MAC2 in our custom board in the file include/configs/s32g274ardb2.h in u-boot source code as follows:
original was:
#define PFENG_MODE "enable,sgmii, none, rgmii"
updated as:
#define PFENG_MODE "enable, sgmii, none, none"
by this change, u-boot enables just PFE_MAC0 in sgmii mode and PFE_MAC2 is not bring up so the kernel can boot.
Sorry for not updating this ticket, i forgot this one,
best regards,