/* This function performs DA8xx platform specific deinitialization for usb0.  */
void musb_platform_deinit(void)
/* This function performs DA8xx platform specific deinitialization for usb0.  */
void musb_platform_deinit(void)
{
	phy_off();
	writel((DA8XX_USB_USBINT_MASK | DA8XX_USB_TXINT_MASK |
		DA8XX_USB_RXINT_MASK), &da8xx_usb_regs->intmsk_clr);
	writel(0, &da8xx_usb_regs->eoi);
}