Skip to content
Snippets Groups Projects
Commit 55c53198 authored by Anton Vorontsov's avatar Anton Vorontsov Committed by Kim Phillips
Browse files

mpc83xx: fix serdes setup for the MPC8378E boards


MPC837xE specs says that SerDes1 has:

— Two lanes running x1 SGMII at 1.25 Gbps;
— Two lanes running x1 SATA at 1.5 or 3.0 Gbps.

And for SerDes2:

— Two lanes running x1 PCI Express at 2.5 Gbps;
— One lane running x2 PCI Express at 2.5 Gbps;
— Two lanes running x1 SATA at 1.5 or 3.0 Gbps.

The spec also explicitly states that PEX options are not valid for
the SD1.

Nevertheless MPC8378 RDB and MDS boards configure the SD1 for PEX,
which is wrong to do.

Signed-off-by: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: default avatarKim Phillips <kim.phillips@freescale.com>
parent 5c2ff323
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ int board_early_init_f(void) ...@@ -44,7 +44,7 @@ int board_early_init_f(void)
FSL_SERDES_CLK_100, FSL_SERDES_VDD_1V); FSL_SERDES_CLK_100, FSL_SERDES_VDD_1V);
break; break;
case SPR_8378: case SPR_8378:
fsl_setup_serdes(CONFIG_FSL_SERDES1, FSL_SERDES_PROTO_PEX, fsl_setup_serdes(CONFIG_FSL_SERDES2, FSL_SERDES_PROTO_PEX,
FSL_SERDES_CLK_100, FSL_SERDES_VDD_1V); FSL_SERDES_CLK_100, FSL_SERDES_VDD_1V);
break; break;
case SPR_8379: case SPR_8379:
......
...@@ -148,7 +148,7 @@ int board_early_init_f(void) ...@@ -148,7 +148,7 @@ int board_early_init_f(void)
FSL_SERDES_CLK_100, FSL_SERDES_VDD_1V); FSL_SERDES_CLK_100, FSL_SERDES_VDD_1V);
break; break;
case SPR_8378: case SPR_8378:
fsl_setup_serdes(CONFIG_FSL_SERDES1, FSL_SERDES_PROTO_PEX, fsl_setup_serdes(CONFIG_FSL_SERDES2, FSL_SERDES_PROTO_PEX,
FSL_SERDES_CLK_100, FSL_SERDES_VDD_1V); FSL_SERDES_CLK_100, FSL_SERDES_VDD_1V);
break; break;
case SPR_8379: case SPR_8379:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment