Re: [PATCH v8 3/4] arm64: dts: amlogic: t7: add the ethernet controller
From: Lucas Tanure
Date: Thu Nov 26 2026 - 06:45:11 EST
On Tue, Nov 24, 2026 at 9:37 PM Martin Blumenstingl
<martin.blumenstingl@xxxxxxxxxxxxxx> wrote:
>
> On Sat, Nov 21, 2026 at 10:31 PM Lucas Tanure <tanure@xxxxxxxxx> wrote:
> [...]
> > + int_mdio: mdio@1 {
> > + reg = <1>;
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + status = "disabled";
> Lucas, Igor (+Cc) has taken a closer look at the MDIO mux, see [0]
> What he's saying is that (in my own words):
> - status = "disabled" is unnecessary
> - if you had problems without status = "disabled": Igor's patch should
> fix it, can you please test it?
>
>
> [0] https://lore.kernel.org/linux-amlogic/20261124-re-martin-g12a-mux-t7@xxxxxx/T/#m240f885979c7c3a84af26ee8b60d38f3092f0c0a
I never saw a problem without it. v1 to v4 had the on-chip bus
enabled and the VIM4 ran at full speed. v5 disabled it after a review
comment, so that a board enables only the bus it uses, and Igor calls
that ordinary practice for a new SoC. I am fine either way: keep the
line, or drop it in v9 if you prefer.
Tested Igor's patch on the VIM4 on linux-next (next-20261120, which
has it and the T7 driver) with the on-chip bus enabled, the MAC on
the external RTL8211F:
- both buses come up, mdio_mux-0.0:01 (RTL8211F, the MAC's PHY) and
mdio_mux-0.1:08 (Meson G12A Internal PHY); link 1Gbps/Full;
ETH_PHY_CNTL2 reads 0x0 after the attach
- while receiving 942 Mbit/s with iperf3, I unbound and re-bound the
internal PHY driver twice (phy_probe reads the PHY through the mux):
after each bind ETH_PHY_CNTL2 reads 0x40, SMI_SRC_MAC only,
USE_INTERNAL and RX_CLK_EPHY clear
- the stream kept 941 to 942 Mbit/s in every 2 s interval, 0
retransmits, 0 errors in 2.4M received packets, and receive keeps
running with the register left at 0x40
So the data path stays on the external PHY across an internal access,
on the T7 as well.
Lucas