mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +00:00
b1cfbff0a7
Certain SFP modules (most notably Nokia GPON ones) first check connectivity on 1000base-x, and switch to 2500base-x afterwards. This is considered a quirk so the phylink switches the interface to 2500base-x as well. However, after power-cycling the uDPU device, network interface/SFP module will not work correctly until the module is re-seated. This patch resolves this issue by forcing the interface to be brought up in 2500base-x mode by default. Signed-off-by: Jakov Petrina <jakov.petrina@sartura.hr> Signed-off-by: Vladimir Vid <vladimir.vid@sartura.hr> Cc: Luka Perkov <luka.perkov@sartura.hr>
44 lines
854 B
Diff
44 lines
854 B
Diff
--- a/arch/arm/dts/armada-3720-uDPU.dts
|
|
+++ b/arch/arm/dts/armada-3720-uDPU.dts
|
|
@@ -109,11 +109,11 @@
|
|
&comphy {
|
|
phy0 {
|
|
phy-type = <PHY_TYPE_SGMII1>;
|
|
- phy-speed = <PHY_SPEED_1_25G>;
|
|
+ phy-speed = <PHY_SPEED_3_125G>;
|
|
};
|
|
phy1 {
|
|
phy-type = <PHY_TYPE_SGMII0>;
|
|
- phy-speed = <PHY_SPEED_1_25G>;
|
|
+ phy-speed = <PHY_SPEED_3_125G>;
|
|
};
|
|
|
|
phy2 {
|
|
@@ -125,22 +125,16 @@
|
|
ð0 {
|
|
pinctrl-0 = <&pcie_pins>;
|
|
status = "okay";
|
|
- phy-mode = "sgmii";
|
|
+ phy-mode = "sgmii-2500";
|
|
+ managed = "in-band-status";
|
|
phy = <ðphy0>;
|
|
- fixed-link {
|
|
- speed = <1000>;
|
|
- full-duplex;
|
|
- };
|
|
};
|
|
|
|
ð1 {
|
|
status = "okay";
|
|
- phy-mode = "sgmii";
|
|
+ phy-mode = "sgmii-2500";
|
|
+ managed = "in-band-status";
|
|
phy = <ðphy1>;
|
|
- fixed-link {
|
|
- speed = <1000>;
|
|
- full-duplex;
|
|
- };
|
|
};
|
|
|
|
&i2c0 {
|