Understanding STM32MP257FAI3 ETHSW Ports
Hello,
I am working on a schematic for the STM32MP257FAI3 and the documentation seems to be inconsistent and/or incomplete regarding which ports go where with the built-in Ethernet switch. The data sheet says ETHSW has three ports in which the "The third port is connected internally to the ETH1 controller". This implies that ETH2 and ETH3 are the external RGMII interfaces.
The "Getting Started with ... Hardware Development" guide says "ETH1 is either ETH1 direct or ETHSW port2" (it is unstated, but combined with the data sheet this would be an internal connection), and ETH3 there is a note "ETH3 is ETHSW port1". There is no such note for ETH2, so this omission implies that ETH2 is not connected to ETHSW (or perhaps it is connected through STNoC??). The block diagram in the data sheet also matches this notion.
In any case, it would be very helpful if there was a table that show what is connected to what when ETHSW is enabled. At this point I need to know what pins to connect to PHYs, it seems like it is either ETH1 and ETH3 (hardware design guide is correct) or ETH 2 and ETH3 (data sheet is correct).
Thanks
