You can see some instructions on mx53_start_linux.pdf, chapter 6.9, page 6-7.
I copy some piece over here, but there is more info on the doc:
For otg port:
echo enabled > /sys/devices/platform/fsl-usb2-otg/power/wakeup
For device-only port:
echo enabled > /sys/devices/platform/fsl-usb2-udc/power/wakeup
For host-only port:
echo enabled > /sys/devices/platform/fsl-ehci.x/power/wakeup
(x is the port num)
For usb child device
echo enabled > /sys/bus/usb/devices/1-1/power/wakeup
You can find this file under package from this link https://www.freescale.com/webapp/Download?colCode=IMX53_QSB_1101_LINUXDOCS_BUNDLE&location=null&fpsp...