]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mediatek: filogic: mt-stuart: use in-band-status on usxgmii links
authorChad Monroe <chad@monroe.io>
Tue, 11 Aug 2026 03:00:06 +0000 (20:00 -0700)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Tue, 11 Aug 2026 20:13:10 +0000 (22:13 +0200)
The USXGMII links to the AQR113C PHYs signal link state and rate
adaptation in-band. Set managed "in-band-status" so phylink tracks
the PCS state instead of a fixed link.

Signed-off-by: Chad Monroe <chad@monroe.io>
Link: https://github.com/openwrt/openwrt/pull/24352
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
target/linux/mediatek/dts/mt7988a-smartrg-SDG-8733.dtsi
target/linux/mediatek/dts/mt7988a-smartrg-mt-stuart-phase1.dtsi
target/linux/mediatek/dts/mt7988d-smartrg-SDG-8733A.dts

index c02a96007752d900a14b3cfa107339e9da40f80a..5d60749280a718fe63ba46d0e01b5e1f8b38ea1f 100644 (file)
@@ -21,6 +21,7 @@
 };
 
 &gmac1 {
+       managed = "in-band-status";
        phy = <&phy0>;
 };
 
index beed10343959cd1f82e48647e6cc885d5c9453c4..a6d31586fde140b636e7d4f5d90dfbc05a3b50ca 100644 (file)
        nvmem-cell-names = "mac-address";
        label = "lan1";
        phy-mode = "usxgmii";
+       managed = "in-band-status";
        phy = <&phy8>;
 
        status = "okay";
index 8ca235c2e9b567ec6819d4d43186d15ef6c839a0..b67e427911e7ce6e9abb229a445121f37362b87e 100644 (file)
        nvmem-cell-names = "mac-address";
        label = "wan";
        phy-mode = "usxgmii";
+       managed = "in-band-status";
        phy = <&phy8>;
 
        status = "okay";