[patch] fix IMX FEC device tree for Variscite SOMs

From: Petko Manolov
Date: Tue Jul 05 2022 - 05:03:39 EST


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
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-var-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-var-som.dtsi
index a0bd540f27d3..a853e3c2d0a7 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-var-som.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm-var-som.dtsi
@@ -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>;
};
};
};