Quantcast
Viewing latest article 11
Browse Latest Browse All 123297

Forum Post: RE: AM625: Ethernet switch connection to RGMII 2

Hello Daolin, The issue I'm having is not with the Microchip Ethernet switch (which appears to be working fine) specifically, but with how to connect any internal Ethernet switch to the RGMII 2 port given that TI decided to implement the two Ethernet interfaces as a switch, rather than two dedicated interfaces. This seems to be made a lot more difficult by the CPSW not supporting a proper DSA tag protocol, but relying on 802.1q VLAN identifiers (which, per the documentation - kernel.org/doc/Documentation/networking/dsa/dsa.txt - is identified as having limitations) to determine the source and destination port (this, in my opinion, is a poor design choice). I would suggest that connecting an internal switch to the AM625 RGMII 2 port is a perfectly valid use case, so I would appreciate some support in how to go about this. Do TI have a reference for how this should be implemented? My requirement is that each port of the switch can operate in a distinct VLAN, but I'm not sure how that aligns when connecting to CPSW which will add/remove VLAN tags on ingress/egress. Can DSA switch trees be used to support this? If so, can you provide any details on how the CPSW is set up in terms of switch trees? Or if this isn't the correct way to go about this, can I alter the behavior of how CPSW adds/removes VLAN tags? I understand that the CPSW can be operated in switch mode (which I believe disables the VLANing?) but I'm not clear on how to enable that in the device tree. And if I did enable it, is it still possible to ensure that RGMII 1 and RGMII 2 remain separate with no cross-contamination of traffic? Thanks, Ben

Viewing latest article 11
Browse Latest Browse All 123297

Trending Articles