LS1046A SerDes configuration

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LS1046A SerDes configuration

跳至解决方案
1,758 次查看
zhaozhang
Contributor I

1. From the LS1046ARM Table 31-1, the SerDes 1 C(SD1_RX1/TX1) and D(SD1_RX0/TX0) should support XFI.But, in the PCCRB register fields, it shows Lane 2 and Lane 3 to XGMII, I am confused about what the Lane 2 and Lane 3 should refer to, the D1_RX0/TX0 and D1_RX1/TX1 or SD1_RX2/TX2 and SD1_RX3/TX3? otherwise,it is a misprint?

pastedImage_1.png

2. How can I access the PCCRB? when I used devmem 0x1EA022C on LS1046ARDB, it returned the value 0x00000021 which mismatched the fields description even if did endian swap.

0 项奖励
回复
1 解答
1,593 次查看
r8070z
NXP Employee
NXP Employee


Have a great day,

With RCW [SRDS_PRTCL_S1] = 0x1040,
On U-Boot prompt:
=> md 0x1EA022C
01ea022c: 00000001
This implies PCCRB[XFIA_CFG]=3'b000 and PCCRB[XFIB_CFG]=3'b001

With RCW [SRDS_PRTCL_S1] = 0x1133,
On U-Boot prompt:
=> md 0x1EA022C
01ea022c: 00000021
This implies PCCRB[XFIA_CFG]=3'b010 and PCCRB[XFIB_CFG]=3'b001

Therefore, XFIB_CFG corresponds to Lane D ( SD1_RX0_P/N SD1_TX0_P/N ) and XFIA_CFG corresponds to Lane C ( SD1_RX1_P/N SD1_TX1_P/N ).

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,594 次查看
r8070z
NXP Employee
NXP Employee


Have a great day,

With RCW [SRDS_PRTCL_S1] = 0x1040,
On U-Boot prompt:
=> md 0x1EA022C
01ea022c: 00000001
This implies PCCRB[XFIA_CFG]=3'b000 and PCCRB[XFIB_CFG]=3'b001

With RCW [SRDS_PRTCL_S1] = 0x1133,
On U-Boot prompt:
=> md 0x1EA022C
01ea022c: 00000021
This implies PCCRB[XFIA_CFG]=3'b010 and PCCRB[XFIB_CFG]=3'b001

Therefore, XFIB_CFG corresponds to Lane D ( SD1_RX0_P/N SD1_TX0_P/N ) and XFIA_CFG corresponds to Lane C ( SD1_RX1_P/N SD1_TX1_P/N ).

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复