Przeglądaj źródła

mediatek: filogic: fix 2.5G phy compatible for WR3000H

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/17739
[reword commit description]
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
(cherry picked from commit dcc5587374ace475cc2f2a94afd1c51e10946c3d)
Link: https://github.com/openwrt/openwrt/pull/19124
Signed-off-by: Hauke Mehrtens <[email protected]>
Juan Pedro Paredes Caballero 1 rok temu
rodzic
commit
72529db50e

+ 1 - 1
target/linux/mediatek/dts/mt7981b-cudy-wr3000h-v1.dts

@@ -174,7 +174,7 @@
 		interrupts = <38 IRQ_TYPE_LEVEL_HIGH>;
 		interrupts = <38 IRQ_TYPE_LEVEL_HIGH>;
 	};
 	};
 	phy6: ethernet-phy@6 {
 	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>;
 		reg = <6>;
 		phy-mode = "2500base-x";
 		phy-mode = "2500base-x";
 	};
 	};