we use XFI connect to switch, config as follow:
ethernet@6810000 {
status = "okay";
nvidia,mac-addr-idx = <0>;
nvidia,max-platform-mtu = <16383>;
/* 0=enable, 1=disable */
nvidia,pause_frames = <0>;
phy-mode = "5gbase-r";
/* 1:10G, 0:5G */
nvidia,uphy-gbe-mode = <0>;
/* 0:XFI 10G, 1:XFI 5G, 2:USXGMII 10G, 3:USXGMII 5G */
nvidia,phy-iface-mode = <1>;
nvidia,phy-reset-gpio = <&tegra_main_gpio TEGRA234_MAIN_GPIO(Y, 1) 0>;
fixed-link{
speed = <5000>;
full-duplex;
};
}
and driver report error when boot up:
[ 1448.561594] [xpcs_lane_bring_up][436][type:0x4][loga-0x0] Failed to get PCS block lock
[ 1448.569758] [xpcs_init][472][type:0x4][loga-0x0] TX/RX lane bring-up failed
[ 1448.576939] [mgbe_set_speed][4520][type:0x4][loga-0x0] xpcs_init failed
[ 1450.641711] [xpcs_lane_bring_up][436][type:0x4][loga-0x0] Failed to get PCS block lock
[ 1450.649883] [xpcs_init][472][type:0x4][loga-0x0] TX/RX lane bring-up failed
could you provide any suggestion?