On Tue, Dec 23, 2025 at 5:13 PM Andrew Lunn [off-list ref] wrote:
On Tue, Dec 23, 2025 at 09:49:02AM +0800, 謝政吉 wrote:
quoted
On Mon, Dec 22, 2025 at 5:30 PM Andrew Lunn [off-list ref] wrote:
quoted
quoted
+&mdio0 {
+ status = "okay";
+};
+
+&mac2 {
+ status = "okay";
+ phy-mode = "rmii";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_rmii3_default>;
+ fixed-link {
+ speed = <100>;
+ full-duplex;
+ };
+};
That is an odd combination. You enable the MDIO bus, but don't have
any PHYs on it, no phandles pointing to it. And you have this
fixed-link. It makes me think you have an Ethernet switch on the bus,
and this connects to it?
Thanks for the clarification.
Yes, there is an Ethernet switch in the design.
The MAC is connected to the switch via RMII using a fixed-link
configuration.
What make/model of switch is it? Is it unmanaged, or does it use SPI
or I2C for management?
The switch is connected via RMII to the MAC and is managed over MDIO.
On our board, MDIO is not wired directly to the processor; instead, we
use a USB-to-MPSSE bridge (FT2232) to toggle the MDIO signals for
switch management.
So the MDIO bus in the DTS is not used, and enabling it there was a mistake.
Andrew
Best Regard,
Kyle Hsieh