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.

Linux/AM3354: 10Mbps link speed in kernel

Part Number: AM3354


Tool/software: Linux

Hello,

I am using coustom am3354 board with kernel 4.4.32.

I want to set Ethernet speed to 10 Mbps from kernel or dtb.

I have set it on u-boot by writing

Mii write 1 0x04 0x61

Can you guide me please.

Regards,

Prerak

  • Hi,

    The kernel that you are using is beyond the 2 year support window so the help I will be able to provide might be limited.

    The one suggestion I have is to look at these files arch/arm/boot/dts/am57xx-beagle-x15.dts

    The is an appended called phy1 and looks something like this:

    &phy1{
    max-speed = <100>;
    };

    This limits the speed on this interface to 100Mbps even though this is a 1G phy on the board being referenced here. TI has not tried this so there is not a guarantee this would work but this might be where you would put a max-speed = <10>;

    To see how that appended node fits into the board device tree please also look at arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi, the phy1 node is defined here inside the davinci_mdio node.

    Best Regards,
    Schuyler