Device tree configuration for direct SGMII MAC-MAC connection LS1021A

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Device tree configuration for direct SGMII MAC-MAC connection LS1021A

309 次查看
harrisonnoja
Contributor I

I'm currently having trouble communicating with a ethernet switch device connected directly to the LS1021A TWR boards eTESC interface over SGMII (MAC-MAC PHY-less connection).

We are currently adding a new device to our existing embedded Linux system built using the LS1021A TWR platform. The existing system used this interface to connect to a ethernet port which we have changed to connect directly to a ethernet switch chip removing the PHY interface and connecting directly using the existing SGMII lines.

I have made the following changes to the device tree.

(ethernet 0 for reference, same as old configuration)

&enet0 {
  tbi-handle = <&tbi1>;
  phy-handle = <&sgmii_phy0>;
  phy-connection-type = "sgmii";
  status = "okay";
};
(ethernet 1 new interface to ethernet switch device with changes to device tree)
&enet1 {
  tbi-handle = <&tbi1>;
  phy-connection-type = "sgmii";
  fixed-link = <0 1 1000 0 0>;
  status = "okay";
};
 
When using ethtool on the interface the output is shown below 
tcpdump eth1.png

 I can see outgoing traffic on the port using tcpdump but am still not getting any response from the chip.
 
Any help would be greatly appreciated.
0 项奖励
回复
1 回复

241 次查看
yipingwang
NXP TechSupport
NXP TechSupport
0 项奖励
回复