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.

SK-AM62: Unable to set 1g Ethernet of eth0 (PHY-1)

Part Number: SK-AM62

Tool/software:

Hello TI /Expert.

We are using SDK 9.0 and we verify EVK SK-AM62B-P1, both Ethernet ports are able to set and support 1g speed.

In our custom board (HW/SW same as the EVK),  but we use only PHY-1 (only one Ethernet port).

When we try to set 1g, Ethernet port is becoming disconnect or not detected (also not work). However if we set to 100mbps, it is detected and work fine. 

Please guide to solve this problem. Thanks.

=============set 100mbps==============

root@am62xx-evm:~# sudo ethtool -s eth0 speed 100 duplex full autoneg off
root@am62xx-evm:~# sudo ethtool -s eth0 speed 100 duplex full autoneg off[ 1206.915196] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
root@am62xx-evm:~# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: 100Mb/s
Duplex: Full
Auto-negotiation: off
master-slave cfg: preferred slave
master-slave status: slave
Port: Twisted Pair
PHYAD: 0
Transceiver: external
MDI-X: Unknown
Supports Wake-on: ubgs
Wake-on: d
SecureOn password: 00:00:00:00:00:00
Current message level: 0x000020f7 (8439)
drv probe link ifdown ifup rx_err tx_err hw
Link detected: yes

=============set 1000mbps (1gbps)==============

root@am62xx-evm:~# sudo ethtool -s eth0 speed 1000 duplex full autoneg off
[ 211.036234] am65-cpsw-nuss 8000000.ethernet eth0: Link is Down
root@am62xx-evm:~# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Auto-negotiation: off
master-slave cfg: preferred slave
master-slave status: unknown
Port: Twisted Pair
PHYAD: 0
Transceiver: external
MDI-X: Unknown
Supports Wake-on: ubgs
Wake-on: d
SecureOn password: 00:00:00:00:00:00
Current message level: 0x000020f7 (8439)
drv probe link ifdown ifup rx_err tx_err hw
Link detected: no

----------DTS/DTSI--------

k3-am62x-sk-common.dtsi (default in SDK 9.0)

aliases {
ethernet0 = &cpsw_port1;
ethernet1 = &cpsw_port2;
};

&cpsw3g {
pinctrl-names = "default";
pinctrl-0 = <&main_rgmii1_pins_default>;
};

&cpsw_port1 {
phy-mode = "rgmii-rxid";
phy-handle = <&cpsw3g_phy0>;
};

&cpsw3g_mdio {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&main_mdio1_pins_default>;

cpsw3g_phy0: ethernet-phy@0 {
reg = <0>;
ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
ti,min-output-impedance;
};
};

<<Our custom  Ethernet PHY-1 Schematic>>