fix: qsgmii: a38x, a39x: Resolve port instability in QSGMII mode
TX QSGMII sampling edge was negative and it caused
port instability.
Set sampling edge of Tx QSGMII to be positive
- Fix for JIRA 1282
Change-Id: Ibbb804dcbaae474e1e3fdb9a27efe80fa2e93073
Signed-off-by: Margarita Granov <margra@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/23655
Tested-by: Star_Automation <star@marvell.com>
Reviewed-by: Omri Itach <omrii@marvell.com>
diff --git a/tools/marvell/bin_hdr/src_phy/a38x/mvHighSpeedEnvSpec.c b/tools/marvell/bin_hdr/src_phy/a38x/mvHighSpeedEnvSpec.c
index e805130..30e3b15 100755
--- a/tools/marvell/bin_hdr/src_phy/a38x/mvHighSpeedEnvSpec.c
+++ b/tools/marvell/bin_hdr/src_phy/a38x/mvHighSpeedEnvSpec.c
@@ -593,7 +593,9 @@
MV_OP_PARAMS qsgmiiPortPowerUpParams[] =
{
/* unitBaseReg unitOffset mask QSGMII data waitTime numOfLoops */
- { QSGMII_CONTROL_REG1, 0x0, 0x40000000, { 0x40000000 }, 0, 0 }, /* Connect the QSGMII to Gigabit Ethernet units */
+ { QSGMII_CONTROL_REG1, 0x0, 0x44000000, { 0x44000000 }, 0, 0 }, /* Connect QSGMII to Gigabit Ethernet units;
+ Set sampling edge of Tx QSGMII to be positive
+ to achive port the stability - JIRA-1282 */
{ COMMON_PHY_CONFIGURATION1_REG, 0x28, 0xF0006, { 0x80002 }, 0, 0 }, /* Power Up */
{ COMMON_PHY_CONFIGURATION1_REG, 0x28, 0x7800, { 0x6000 }, 0, 0 }, /* Unreset */
{ POWER_AND_PLL_CTRL_REG, 0x800, 0xFF, { 0xFC81 }, 0, 0 }, /* Phy Selector */