suspend usb phy before bypass to uart
authoryangkai <yk@rock-chips.com>
Thu, 13 Sep 2012 02:35:19 +0000 (10:35 +0800)
committeryangkai <yk@rock-chips.com>
Thu, 13 Sep 2012 02:35:19 +0000 (10:35 +0800)
arch/arm/mach-rk2928/common.c

index d26d028cdcfb41a819639a127b25145b23c5ee28..8c93626a649af2729bd37d400a1c41634860b1b4 100755 (executable)
@@ -119,6 +119,7 @@ void __init rk2928_map_io(void)
        rk2928_map_common_io();
 #ifdef DEBUG_UART_BASE
         #ifdef CONFIG_RK_USB_UART
+        writel_relaxed(0x007f0051, RK2928_GRF_BASE + GRF_UOC0_CON5);
         writel_relaxed(0x30003000, RK2928_GRF_BASE + GRF_UOC1_CON4);
         #endif
         writel_relaxed(0x07, DEBUG_UART_BASE + 0x88);