Hi NXP,
We are using KSZ9477 ethernet switch with imx8mp board. On imx8mp EVK Two ethernet controller one FEC and EQOS (Synopsys). We test ksz9477 ethernet switch with FEC controller and microchips already provide driver for KSZ9477 ethernet switch support for FEC controller.
But we want to use KSZ9477 ethernet switch with EQOS (Synopsys) controller.
can we use EQOS (Synopsys) controller directly with ksz9477 switch?
do we need driver changes for EOQS (Synopsys) controller for KSZ9477 ethernet switch?
Hi jimmy,
We know feature of EQOS but we need to connect KSZ9897/9477 ethernet switch with EQOS (synopsis controller)
We are using EQOS (synopsis controller) driver : drivers/net/ethernet/stmicro/stmmac
We didn't get support/patch for EQOS (synopsis controller),
I double checked internally and we don't see any limitation for EQOS controller to implement the configuration with the switch. But since this is not part of the default BSP, it is up to the customer to make the integration. As you know, NXP BSP offers basic enablement features.
Hi jimmychan,
How can I use sja1105 switch ? when I use eqos as rmii mac-mac mode ,eqos port is not up.
[ 2057.158914] imx-dwmac 30bf0000.ethernet eth0: no phy at addr -1
[ 2057.164952] imx-dwmac 30bf0000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)
SIOCSIFFLAGS: No such device.
could you share some hint to help me bringup it? Thank you.
Hi,
Please refer below link for Synopsys controller.
https://github.com/Microchip-Ethernet/EVB-KSZ9477/tree/master/KSZ/linux-drivers/stmmac
The link you sent indeed has patches on the stmmac, but many related the LAN937x switch family are not implemented at all. Neither it seems to be possible to build the image for the Kernel v6.1 with the driver changes provided there.
@ankitpanchal167 , could you please share any clues/tips on getting the KSZ or LAN937x switches working with the eqos mac? could you get it working in the end? How did you do it?
Thanks in advance.