This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRA829V: Relationship between QSGMII_SUB and QSGMII

Part Number: DRA829V

Hi,

We've received the following question about relationship between QSGMII_SUB and QSGMII. Please answer their questions below. 

---------------------------------
Please tell me about the relationship between QSGMII_SUB and QSGMII when changing the CPSW settings.

I had QSGMII set to CPSW2 and CPSW4 and other ports to QSGMII_SUB.
I changed it to set QSGMII on CPSW1 and CPSW4. I also set RMII to CPSW2.

In this case, will QSGMII_SUB be prioritized and subordinated to the port set in QSGMII earlier?
Specifically, is the relationship between QSGMII_SUB and QSGMII as shown below?

(Before changing)
1 QSGMII_SUB(CPSW2 subordinate port 1)
2 QSGMII
3 QSGMII_SUB (CPSW2 subordinate port 2)
4 QSGMII
5 QSGMII_SUB (CPSW2 subordinate port 3)
6 QSGMII_SUB (CPSW4 subordinate port 1)
7 QSGMII_SUB (CPSW4 subordinate port 2)
8 QSGMII_SUB (CPSW4 subordinate port 3)

(After changing)
1 QSGMII
2RMII
3 QSGMII_SUB (subordinate port 1 of CPSW1)
4 QSGMII
5 QSGMII_SUB (Subordinate port 2 of CPSW1)
6 QSGMII_SUB (subordinate port 3 of CPSW1)
7 QSGMII_SUB (CPSW4 subordinate port 1)
8 QSGMII_SUB (CPSW4 subordinate port 2)
-----------------------------------

Thanks and regards,
Hideaki

  • Hi Hideaki-san,

    (After changing)
    1 QSGMII
    2RMII
    3 QSGMII_SUB (subordinate port 1 of CPSW1)
    4 QSGMII
    5 QSGMII_SUB (Subordinate port 2 of CPSW1)
    6 QSGMII_SUB (subordinate port 3 of CPSW1)
    7 QSGMII_SUB (CPSW4 subordinate port 1)
    8 QSGMII_SUB (CPSW4 subordinate port 2)

    This is correct behavior. If there are less than 3 QSGMII_SUB interfaces for a QSGMII_MAIN, these lanes will get a code of 1001100110.

    Regards,
    Tanmay