mvebu: uDPU: switch default kernel and U-Boot PHY mode
[oweals/openwrt.git] / package / boot / uboot-mvebu / patches / 220-arm-dts-uDPU-switch-default-PHY-speed-to-3.125Gbit.patch
diff --git a/package/boot/uboot-mvebu/patches/220-arm-dts-uDPU-switch-default-PHY-speed-to-3.125Gbit.patch b/package/boot/uboot-mvebu/patches/220-arm-dts-uDPU-switch-default-PHY-speed-to-3.125Gbit.patch
new file mode 100644 (file)
index 0000000..0e10b2c
--- /dev/null
@@ -0,0 +1,43 @@
+--- 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 @@
+ &eth0 {
+       pinctrl-0 = <&pcie_pins>;
+       status = "okay";
+-      phy-mode = "sgmii";
++      phy-mode = "sgmii-2500";
++      managed = "in-band-status";
+       phy = <&ethphy0>;
+-      fixed-link {
+-              speed = <1000>;
+-              full-duplex;
+-      };
+ };
+ &eth1 {
+       status = "okay";
+-      phy-mode = "sgmii";
++      phy-mode = "sgmii-2500";
++      managed = "in-band-status";
+       phy = <&ethphy1>;
+-      fixed-link {
+-              speed = <1000>;
+-              full-duplex;
+-      };
+ };
+ &i2c0 {