Dear NXP fellows,
I am using BSP41.0 and a board based on S32G399ARDB3.
Looking at the Linux Kernel Device Tree Configuration file, I see this PFE MDIO2 definition:
&pfe_mdio2 {
/* AR8035 */
pfe_mdio_b_phy4: ethernet-phy@4 {
reg = <4>;
};
/* SJA1110's phys: 0x09-0x0e */
};
Then I see this PFE_MAC2 interface definition:
&pfe_netif2 {
phy-mode = "rgmii-id";
phy-handle = <&pfe_mdio_b_phy4>;
};
It uses as PHY handle the pfe_mdio_b_phy4 declared above.
What concerns me are the comments.
According to the User Guide we have this configuration as default:

In this configuration, the PFE_MAC2 interface is connected through RGMII to the PHY Micrel KSZ9031. The PHY Atheros AR8035 is connected through RGMII to the ports 2 and 3 of the SJA1110 switch. The switch is accessed by default through SGMII in its port 4 by PFE_MAC0.
So what is the relation between PFE MDIO2 and the SJA1110? Why is the SJA1110 PHY MDIOs in PFE_MAC2 interface if the PFE_MAC2 is not even connected to the switch?
Thank you very much for the support,
Best regards
Guilherme