]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mediatek: filogic: fix 2.5G phy compatible for WR3000H
authorJuan Pedro Paredes Caballero <juanpedro.paredes@gmail.com>
Sun, 26 Jan 2025 19:23:09 +0000 (20:23 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 17 Jun 2025 21:06:01 +0000 (23:06 +0200)
Following the initial support of the Cudy WR3000H with PHY C22 for the 2.5G WAN
interface, several improvements fixing issues with RealTek RTL8221B PHYs have
been merged.
Therefore we can now bring the DT in line with other equipment and declare the
2.5G WAN PHY as C45.

Fixes: 9d66b8b ("mediatek: filogic: Add support for cudy wr3000h")
Signed-off-by: Juan Pedro Paredes Caballero <juanpedro.paredes@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17739
[reword commit description]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry picked from commit dcc5587374ace475cc2f2a94afd1c51e10946c3d)
Link: https://github.com/openwrt/openwrt/pull/19124
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/mediatek/dts/mt7981b-cudy-wr3000h-v1.dts

index 0808eb9557a251d8f69cb051a9d02e2891238647..bdcc4f78eabf47fbc7f46ba5065c70594746088e 100644 (file)
                interrupts = <38 IRQ_TYPE_LEVEL_HIGH>;
        };
        phy6: ethernet-phy@6 {
-               compatible = "ethernet-phy-ieee802.3-c22"; // [RTL8221B-VB-CG 2.5Gbps PHY (C22)]
+               compatible = "ethernet-phy-ieee802.3-c45";
                reg = <6>;
                phy-mode = "2500base-x";
        };