]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/arm926ejs/lpc32xx/devices.c
usb: lpc32xx: add host USB driver
[karo-tx-uboot.git] / arch / arm / cpu / arm926ejs / lpc32xx / devices.c
index f0af851b5e8a6a3c884c447f80fc033e8c39b47c..d9fa2807d7a74c4bed436ec86dbf5610fba8163f 100644 (file)
@@ -72,6 +72,12 @@ void lpc32xx_slc_nand_init(void)
        writel(CLK_NAND_SLC | CLK_NAND_SLC_SELECT, &clk->flashclk_ctrl);
 }
 
+void lpc32xx_usb_init(void)
+{
+       /* Do not route the UART 5 Tx/Rx pins to the USB D+ and USB D- pins. */
+       clrbits_le32(&ctrl->ctrl, UART_CTRL_UART5_USB_MODE);
+}
+
 void lpc32xx_i2c_init(unsigned int devnum)
 {
        /* Enable I2C interface */