summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-ls102xa
diff options
context:
space:
mode:
authorRan Wang <ran.wang_1@nxp.com>2017-09-04 13:46:55 +0300
committerYork Sun <york.sun@nxp.com>2017-09-11 18:01:07 +0300
commit0e8a4264ec705b4d4e381dcb7e1e050dc1b5123d (patch)
tree9274ee0aca22d3db9aa40e0f25d52247daf04044 /arch/arm/include/asm/arch-ls102xa
parente10d114279f01899c7eb47f5977dbceca6b6efaf (diff)
downloadu-boot-0e8a4264ec705b4d4e381dcb7e1e050dc1b5123d.tar.xz
armv7: Add workaround for USB erratum A-009007
Rx Compliance tests may fail intermittently at high jitter frequencies using default register values Program register USB_PHY_RX_OVRD_IN_HI in certain sequence to make the Rx compliance test pass. Signed-off-by: Sriram Dash <sriram.dash@nxp.com> Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com> Signed-off-by: Suresh Gupta <suresh.bhagat@nxp.com> Signed-off-by: Ran Wang <ran.wang_1@nxp.com> [YS: Reordered Kconfig options] Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/arm/include/asm/arch-ls102xa')
-rw-r--r--arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h b/arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h
index 25e65cbd26..fe0bbb9d93 100644
--- a/arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h
+++ b/arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h
@@ -182,6 +182,13 @@ struct ccsr_gur {
#define SCFG_USB_PCSTXSWINGFULL_MASK 0x0000FE00
#define SCFG_USB_PCSTXSWINGFULL_VAL 0x00008E00
+#define USB_PHY_BASE 0x08510000
+#define USB_PHY_RX_OVRD_IN_HI 0x200c
+#define USB_PHY_RX_EQ_VAL_1 0x0000
+#define USB_PHY_RX_EQ_VAL_2 0x8000
+#define USB_PHY_RX_EQ_VAL_3 0x8004
+#define USB_PHY_RX_EQ_VAL_4 0x800C
+
/* Supplemental Configuration Unit */
struct ccsr_scfg {
u32 dpslpcr;