From: Daniel Pawlik Date: Fri, 15 May 2026 08:30:26 +0000 (+0200) Subject: airoha: use in-band phylink for RTL8261N USXGMII ports in W1700k X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cc55ea28c2b4322c95b3d32d01dae3c32971aed;p=thirdparty%2Fopenwrt.git airoha: use in-band phylink for RTL8261N USXGMII ports in W1700k After the standalone Airoha PCS driver and pcs-handle binding, wan (gdm2) and lan2 (gdm4) netdevs probe but do not pass traffic. Similar to the Aeonsemi PHY it seems also the RTL PHY needs in-band to the PCS for USXGMII to work correctly. This still needs to be better investigated but in the meantime lets apply this workaround to restore traffic. Signed-off-by: Daniel Pawlik [ improve commit description ] Link: https://github.com/openwrt/openwrt/pull/23383 Signed-off-by: Christian Marangi --- diff --git a/target/linux/airoha/dts/an7581-w1700k-ubi.dts b/target/linux/airoha/dts/an7581-w1700k-ubi.dts index f845dcad869..42326ec2299 100644 --- a/target/linux/airoha/dts/an7581-w1700k-ubi.dts +++ b/target/linux/airoha/dts/an7581-w1700k-ubi.dts @@ -318,9 +318,14 @@ nvmem-cell-names = "mac-address"; }; +&pon_pcs { + status = "okay"; +}; + &gdm2 { status = "okay"; + managed = "in-band-status"; phy-handle = <&phy8>; phy-mode = "usxgmii"; @@ -329,9 +334,14 @@ openwrt,netdev-name = "wan"; }; +ð_pcs { + status = "okay"; +}; + &gdm4 { status = "okay"; + managed = "in-band-status"; phy-handle = <&phy5>; phy-mode = "usxgmii";