HSPHY_INIT_CFG(USB_PHY_TCSR_CTRL, 0x01, 0), /* */ /* set SNPS_CTRL_USB2_PHY */ HSPHY_INIT_CFG(USB_PHY_REFCLK_CTRL, 0x0d, 0), /* REFCLK_RXTAP_EN was set, REFCLK_SEL was = 0b110 */ /* */ HSPHY_INIT_CFG(USB_PHY_UTMI_CTRL5, 0x12, 0), /* PICOPHY_UTMI_CONTROL_OVERWRITE_EN was set */ /* set POR */ HSPHY_INIT_CFG(USB_PHY_PARAMETER_OVERRIDE_X0, 0x63, 0), /* COMPDISTUNE0 was = 3, SQRXTUNE0 was = 3 */ /* */ HSPHY_INIT_CFG(USB_PHY_PARAMETER_OVERRIDE_X1, 0x03, 0), /* TXVREFTUNE0 was = 3 */ /* */ HSPHY_INIT_CFG(USB_PHY_PARAMETER_OVERRIDE_X2, 0x1d, 0), /* TXRISETUNE0 was = 1, TXHSXVTUNE0 was = 3, TXRESTUNE0 was = 1 */ /* */ HSPHY_INIT_CFG(USB_PHY_PARAMETER_OVERRIDE_X3, 0x03, 0), /* TXFSLSTUNE0 was = 3 */ /* */ HSPHY_INIT_CFG(USB_PHY_HS_PHY_CTRL1, 0x23, 0), /*ULPI_CLK_EN was set, ID_HV_CLAMP_EN_N was set, VBUSVLDEXT0 was set*/ /* */ HSPHY_INIT_CFG(USB_PHY_HS_PHY_CTRL_COMMON0, 0x08, 0), /* RETENABLEN was set, COMMONONN was set */ /* unset COMMONONN */ HSPHY_INIT_CFG(USB_PHY_HS_PHY_CTRL_COMMON1, 0xdc, 0), /* OTGTUNE0 was 3, OTGDISABLE0 was set, VBUSVLDEXTSEL0 was set, USE_CLKCORE was set, PLLBTUNE was set */ /* OTGTUNE0 = 4 */ HSPHY_INIT_CFG(USB_PHY_HS_PHY_CTRL2, 0xe0, 20), /* USB2_SUSPEND_N was set */ /* set USB2_UTMI_CLK_EN, set USB2_SUSPEND_N_SEL */ HSPHY_INIT_CFG(USB_PHY_UTMI_CTRL5, 0x10, 0), /* PICOPHY_UTMI_CONTROL_OVERWRITE_EN was set, POR was set */ /* unset POR */ HSPHY_INIT_CFG(USB_PHY_HS_PHY_CTRL2, 0x60, 0), /* USB2_SUSPEND_N was set, USB2_UTMI_CLK_EN was set, USB2_SUSPEND_N_SEL was set */ /* unset USB2_SUSPEND_N_SEL */