From 78ffee0ed26c0889fe1fcbad892a7e4e3de5745c Mon Sep 17 00:00:00 2001 From: Jonas Jelonek Date: Mon, 30 Mar 2026 09:46:29 +0000 Subject: [PATCH] realtek: force in-band autoneg on XGS1250-12 A1 10G PHYs In kernel 6.18, upstream added a change to the Aquantia PHY driver which reports autoneg and inband capabilities as the PHY supports it, and configures it accordingly in the PHY [1]. Due to how phylink works, it then decides to turn off in-band signalling and prefer outband signalling via MDIO. We do not fully support running a USXGMII link with disabled autonegotiation which leads to a non-working link between RTL93xx switch and Aquantia PHYs running on USXGMII. To workaround this issue until this support is added (if it is properly supported by the hardware), force the Aquantia PHYs on affected devices to use inband signalling instead of outband signalling. To achieve this, one can add > managed = "in-band-status"; to the port definition in the DTS. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5d59109d47c00e3e98aba612529b3871e69efb9d Signed-off-by: Jonas Jelonek Link: https://github.com/openwrt/openwrt/pull/22690 Signed-off-by: Robert Marko --- .../realtek/dts/rtl9302_zyxel_xgs1250-12-a1.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/target/linux/realtek/dts/rtl9302_zyxel_xgs1250-12-a1.dts b/target/linux/realtek/dts/rtl9302_zyxel_xgs1250-12-a1.dts index ca61c675cf..62ce19730e 100644 --- a/target/linux/realtek/dts/rtl9302_zyxel_xgs1250-12-a1.dts +++ b/target/linux/realtek/dts/rtl9302_zyxel_xgs1250-12-a1.dts @@ -38,3 +38,15 @@ #thermal-sensor-cells = <0>; }; }; + +&port24 { + managed = "in-band-status"; +}; + +&port25 { + managed = "in-band-status"; +}; + +&port26 { + managed = "in-band-status"; +};