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.

TDA4VM: Direct Link UP support in Uboot

Part Number: TDA4VM

Hello Experts,

                      I am working in Uboot level(TI Linux SDK 8.2) and need to communicate to PC from Uboot through CPSW switch .

We have a Marvell PHY in our custom board and is connected to CPSW switch via MII interface supported by Uboot. We 

are bootstrapping the Marvell PHY so we don't need any configuration through MDIO. 

 

So my doubt is how to disable the PHY MDIO driver in Uboot. Can I use the 'Fixed-Mode' here?

Do I need to change only the device tree files for this? Please suggest the necessary changes..

Regards,

Nideesh Madhu            

  • Hi Nideesh,

    What is MII interface used? Is it RGMII?

    Which CPSW are you using MCU_CPSW2G or MAIN_CPSW9G?

    Regards,
    Tanmay

  • Hello Tanmay,

                          Thanks for replying. For now we are trying with CPSW2G in RGMII mode. Also we are expecting some patch from TI with CPSW9G and QSGMII for uboot. I hope the change for 'Fixed-Mode' will be similar for both cases.

    Also I understand that 'Fixed-Mode' is basically used for MAC-MAC communication. In our case we have the PHY but we dont wanted to use MDIO so can we use 'Fixed-Mode'? Please suggest the necessary changes..

    Regards,

    Nideesh Madhu

  • Hi Nideesh,

    Also I understand that 'Fixed-Mode' is basically used for MAC-MAC communication. In our case we have the PHY but we dont wanted to use MDIO so can we use 'Fixed-Mode'?

    It is possible to use MAC2MAC mode with bootstrapped phy. No issues there.

    For now we are trying with CPSW2G in RGMII mode.

    For this, the only change required is in the device-tree. Adding a fixed-link node in the ethernet port node (cpsw_port1 node) in "arch/arm/dts/k3-j721e-mcu-wakeup.dtsi" should suffice. You wouldn't be required to disable the MDIO communication as no MDIO communication will be triggered by phy driver for fixed-link node.

    Also we are expecting some patch from TI with CPSW9G and QSGMII for uboot. I hope the change for 'Fixed-Mode' will be similar for both cases.

    There will be additional support required for this one in cpsw driver and phy-drivers. Is this already in discussion?

    Regards,
    Tanmay