]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
armv8: ls1028a: Add other serdes protocal support
authorXiaowei Bao <xiaowei.bao@nxp.com>
Tue, 21 May 2019 10:28:31 +0000 (18:28 +0800)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Wed, 19 Jun 2019 07:24:56 +0000 (12:54 +0530)
Add other serdes protocal support.

Signed-off-by: Xiaowei Bao <xiaowei.bao@nxp.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/ls1028a_serdes.c
arch/arm/include/asm/arch-fsl-layerscape/fsl_serdes.h

index ef598c4cba6d2cd0fb137071432fcbb0eb14f8da..5835a3a69eaaeafd59497ad820c80fab063078c2 100644 (file)
@@ -22,6 +22,19 @@ static struct serdes_config serdes1_cfg_tbl[] = {
        {0xEBCC, {PCIE1, PCIE1, PCIE2, SATA1} },
        {0xCCCC, {PCIE1, PCIE1, PCIE2, PCIE2} },
        {0xDDDD, {PCIE1, PCIE1, PCIE1, PCIE1} },
+       {0xE031, {SXGMII1, QXGMII2, NONE, SATA1} },
+       {0xB991, {SXGMII1, SGMII1, SGMII2, PCIE1} },
+       {0xBB31, {SXGMII1, QXGMII2, PCIE1, PCIE1} },
+       {0xCC31, {SXGMII1, QXGMII2, PCIE2, PCIE2} },
+       {0xBB51, {SXGMII1, QSGMII_B, PCIE2, PCIE1} },
+       {0xBB38, {SGMII_T1, QXGMII2, PCIE2, PCIE1} },
+       {0xCC38, {SGMII_T1, QXGMII2, PCIE2, PCIE2} },
+       {0xBB58, {SGMII_T1, QSGMII_B, PCIE2, PCIE1} },
+       {0xCC58, {SGMII_T1, QSGMII_B, PCIE2, PCIE2} },
+       {0xCC8B, {PCIE1, SGMII_T1, PCIE2, PCIE2} },
+       {0xEB58, {SGMII_T1, QSGMII_B, PCIE2, SATA1} },
+       {0xEB8B, {PCIE1, SGMII_T1, PCIE2, SATA1} },
+       {0xE8CC, {PCIE1, PCIE1, SGMII_T1, SATA1} },
        {}
 };
 
index 68354ff54604295d6573df0c0c537c338f62f275..8f4365175697db6a8dd362743f206c3e97c8a1ef 100644 (file)
@@ -64,6 +64,18 @@ enum srds_prtcl {
        QSGMII_B,
        QSGMII_C,
        QSGMII_D,
+       SGMII_T1,
+       SGMII_T2,
+       SGMII_T3,
+       SGMII_T4,
+       SXGMII1,
+       SXGMII2,
+       SXGMII3,
+       SXGMII4,
+       QXGMII1,
+       QXGMII2,
+       QXGMII3,
+       QXGMII4,
        _25GE1,
        _25GE2,
        _25GE3,