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.

DP83TC811R-Q1: Working at 10Mbps/Half instead of 100Mbps

Part Number: DP83TC811R-Q1
Other Parts Discussed in Thread: TDA2, DP83TC811

Hi team,

One of our customer's issues, I'm forwarding it below, could you please provide some troubleshooting suggestions

SOC: TDA2

LINUX:  4.19.73 

It uses the DP83TC811 driver that comes with the kernel

root@dra7xx-evm:~# ifconfig eth0 down
root@dra7xx-evm:~# ifconfig eth0 up
[ 40.771447] net eth0: initializing cpsw version 1.15 (0)
[ 40.780418] dp83811_config_init
[ 40.801049] TI DP83TC811 48485000.mdio:00: attached PHY driver [TI DP83TC811] (mii_bus:phy_addr=48485000.mdio:00, irq=POLL)
[ 40.816432] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
root@dra7xx-evm:~# [ 48.082181] cpsw 48484000.ethernet eth0: Link is Up - 10Mbps/Half - flow control off
[ 48.090023] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

Best Regards,
Amy Luo

  • Hi Amy,

    This is interesting as the DP83TC811 does not support 10Mbps. Let me check with the team and get back to you by the end of the week.

    Thanks,

    David

  • Hi Amy,

    What link partner is being used? Can you try connecting a different link partner?

    Please also share the driver which was used.

    Thanks,

    David

  • Hi David,

    Thanks for your response. 

    The user said that he used two identical boards in the test, and the network interface was connected by a pair of twisted pairs. Only the DP83TC811 master/slave configuration was different, one master and the other slave.

    The driver comes with the Linux kernel 4.19.73 in TDA2 VSDK: PROCESSOR_SDK_VISION_03_08_00_00.  Path: drivers/net/phy/dp83tc811. c 

    source code is as follows:

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    // SPDX-License-Identifier: GPL-2.0
    /*
    * Driver for the Texas Instruments DP83TC811 PHY
    *
    * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
    *
    */
    #include <linux/ethtool.h>
    #include <linux/etherdevice.h>
    #include <linux/kernel.h>
    #include <linux/mii.h>
    #include <linux/module.h>
    #include <linux/of.h>
    #include <linux/phy.h>
    #include <linux/netdevice.h>
    #define DP83TC811_PHY_ID 0x2000a253
    #define DP83811_DEVADDR 0x1f
    #define MII_DP83811_SGMII_CTRL 0x09
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Best Regards,
    Amy

  • Hi Amy,

    What is the MAC interface being used? 

    Thanks,

    David