Skip to contentSkip to conversation

fix IMX FEC device tree for Variscite SOMs

PATCH New Petko Manolov 1 participant 1 message Jul 5, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix IMX FEC device tree for Variscite SOMs

Hello,

The attached patch fixes FEC's detection on Variscite Symphony board on 'master'. Please review and advice on how to proceed with the final patch.

thanks,
Petko

arch/arm64/boot/dts/freescale/imx8mm-var-som.dtsi +3 -3
index a0bd540f27d3..a853e3c2d0a7 100644
@@ -110,6 +110,9 @@ &fec1 {
 	phy-handle = <&ethphy>;
 	phy-supply = <&reg_eth_phy>;
 	fsl,magic-packet;
+	phy-reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
+	phy-reset-duration = <10>;
+	phy-reset-post-delay = <20>;
 	status = "okay";
 
 	mdio {
@@ -119,9 +122,9 @@ mdio {
 		ethphy: ethernet-phy@4 {
 			compatible = "ethernet-phy-ieee802.3-c22";
 			reg = <4>;
-			reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
-			reset-assert-us = <10000>;
-			reset-deassert-us = <10000>;
 		};
 	};
 };