]> git.itanic.dy.fi Git - linux-stable/blobdiff - arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi
arm64: dts: imx8mn-var-som: fix PHY detection bug by adding deassert delay
[linux-stable] / arch / arm64 / boot / dts / freescale / imx8mn-var-som.dtsi
index 67072e6c77d5fb7834b41a938881216d87939496..cbd9d124c80d09adcdc630a8cf4710e89201aa50 100644 (file)
@@ -98,11 +98,17 @@ mdio {
                #address-cells = <1>;
                #size-cells = <0>;
 
-               ethphy: ethernet-phy@4 {
+               ethphy: ethernet-phy@4 { /* AR8033 or ADIN1300 */
                        compatible = "ethernet-phy-ieee802.3-c22";
                        reg = <4>;
                        reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
                        reset-assert-us = <10000>;
+                       /*
+                        * Deassert delay:
+                        * ADIN1300 requires 5ms.
+                        * AR8033   requires 1ms.
+                        */
+                       reset-deassert-us = <20000>;
                };
        };
 };