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.

PROCESSOR-SDK-DRA7X: How can I config the settings when TDA2x RMII MAC connect directly to another RMII MAC device without external phy?

Part Number: PROCESSOR-SDK-DRA7X

Hi,

We have a case - TDA2x RMII MAC connect directly to another RMII MAC device without external phy.

I would like to know how can I config in uBoot and Kernel.

Thanks!

  • Hi

    You can use the fixed link property in the DTB file for PHY-less mode of operation.

    This is supported in the kernel but not in uboot

    You will need to add snippet similar to (you will find this defined under arch/arm/boot/dts/dra7-evm.dts for instance)

     &cpsw_emac0 {

    -              phy-mode = "rgmii-id";

    +             phy-mode = "rmii";

    -              phy-id = <&davinci_mdio>, <2>

    +    fixed-link {

    +        speed = <100>;

    +        full-duplex;

    +    };

    };

    Fixed link properties are described under Documentation/devicetree/bindings/net/fixed-link.txt"