default or selected kernelversion does not have config value CONFIG_USB_GADGET_FSL_USB2.
Result is shown for kernelversion 5.6.18

Freescale Highspeed USB DR Peripheral Controller

configname: CONFIG_USB_GADGET_FSL_USB2

USB Peripheral Controller
└─>Freescale Highspeed USB DR Peripheral Controller
In linux kernel since version 2.6.24 (release Date: 2008-01-24)  
Some of Freescale PowerPC processors have a High Speed
Dual-Role(DR) USB controller, which supports device mode.

The number of programmable endpoints is different through
SOC revisions.

Say "y" to link the driver statically, or "m" to build a
dynamically linked module called "fsl_usb2_udc" and force
all gadget drivers to also be dynamically linked.