mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
ipq6018: usb: Enable USB
set sw_override bit in USB GDSCRs Change-Id: I1eba91e4d5ae54c80523c3103e0412af824d585b Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
This commit is contained in:
parent
bc97a42780
commit
b01cd46b73
2 changed files with 3 additions and 3 deletions
|
|
@ -455,7 +455,7 @@ void board_usb_deinit(int id)
|
|||
static void usb_clock_init(int id)
|
||||
{
|
||||
if (id == 0) {
|
||||
writel(0x222000, GCC_USB0_GDSCR);
|
||||
writel(0x222004, GCC_USB0_GDSCR);
|
||||
writel(0, GCC_SYS_NOC_USB0_AXI_CBCR);
|
||||
writel(0, GCC_SNOC_BUS_TIMEOUT2_AHB_CBCR);
|
||||
writel(0x10b, GCC_USB0_MASTER_CFG_RCGR);
|
||||
|
|
@ -474,7 +474,7 @@ static void usb_clock_init(int id)
|
|||
writel(1, GCC_USB0_AUX_CBCR);
|
||||
writel(1, GCC_USB0_PIPE_CBCR);
|
||||
} else if (id == 1) {
|
||||
writel(0x222000, GCC_USB1_GDSCR);
|
||||
writel(0x222004, GCC_USB1_GDSCR);
|
||||
writel(0xcff1, GCC_USB1_MASTER_CBCR);
|
||||
writel(1, GCC_USB1_SLEEP_CBCR);
|
||||
writel(0x210b, GCC_USB1_MOCK_UTMI_CFG_RCGR);
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ extern loff_t board_env_size;
|
|||
/*
|
||||
* USB Support
|
||||
*/
|
||||
#undef CONFIG_USB_XHCI_IPQ
|
||||
#define CONFIG_USB_XHCI_IPQ
|
||||
#ifdef CONFIG_USB_XHCI_IPQ
|
||||
#define CONFIG_USB_XHCI
|
||||
#define CONFIG_USB_XHCI_DWC3
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue