Skip to content
Snippets Groups Projects
Commit 94540c56 authored by Prabhakar Kushwaha's avatar Prabhakar Kushwaha Committed by York Sun
Browse files

armv8/ls2085aqds: Add support of SerDes protocol 0x49


SerDes Protocol 0x49 enables 4 SGMII, PEX4, SATA1 and SATA2.

Add support of 0x49 SerDes protocol to enable 4SGMII on slot4 of
ls2085aqds platform.

Signed-off-by: Prabhakar Kushwaha <prabhakar at freescale.com>
Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
parent 6581440c
No related branches found
No related tags found
No related merge requests found
...@@ -210,6 +210,7 @@ static void initialize_dpmac_to_slot(void) ...@@ -210,6 +210,7 @@ static void initialize_dpmac_to_slot(void)
switch (serdes2_prtcl) { switch (serdes2_prtcl) {
case 0x07: case 0x07:
case 0x08: case 0x08:
case 0x49:
printf("qds: WRIOP: Supported SerDes Protocol 0x%02x\n", printf("qds: WRIOP: Supported SerDes Protocol 0x%02x\n",
serdes2_prtcl); serdes2_prtcl);
lane_to_slot_fsm2[0] = EMI1_SLOT4; lane_to_slot_fsm2[0] = EMI1_SLOT4;
...@@ -247,6 +248,7 @@ void ls2085a_handle_phy_interface_sgmii(int dpmac_id) ...@@ -247,6 +248,7 @@ void ls2085a_handle_phy_interface_sgmii(int dpmac_id)
switch (serdes2_prtcl) { switch (serdes2_prtcl) {
case 0x07: case 0x07:
case 0x08: case 0x08:
case 0x49:
lane = serdes_get_first_lane(FSL_SRDS_2, SGMII9 + lane = serdes_get_first_lane(FSL_SRDS_2, SGMII9 +
(dpmac_id - 9)); (dpmac_id - 9));
slot = lane_to_slot_fsm2[lane]; slot = lane_to_slot_fsm2[lane];
......
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