Skip to content

Commit

Permalink
imx8mm-var-dart: fec: add 20ms phy-reset-post-delay
Browse files Browse the repository at this point in the history
Without delay, the generic phy driver is used for adin1300:

[    2.668675] Generic PHY 30be0000.ethernet-1:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=30be0000.ethernet-1:00, irq=POLL)

With the delay, the ADIN1300 phy driver is used:

[    2.815321] ADIN1300 30be0000.ethernet-1:04: attached PHY driver [ADIN1300] (mii_bus:phy_addr=30be0000.ethernet-1:04, irq=POLL)

Signed-off-by: Alifer Moraes <alifer.m@variscite.com>
Signed-off-by: Nate Drude <nate.d@variscite.com>
  • Loading branch information
alifermoraes authored and m-p-s committed May 2, 2022
1 parent 1f96cb1 commit 5c7717b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/freescale/imx8mm-var-dart.dtsi
Expand Up @@ -173,6 +173,7 @@
phy-supply = <&reg_eth_phy>;
phy-reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
phy-reset-duration = <10>;
phy-reset-post-delay = <20>;
phy-reset-on-resume;
status = "okay";

Expand Down
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/freescale/imx8mm-var-som.dtsi
Expand Up @@ -174,6 +174,7 @@
phy-supply = <&reg_eth_phy>;
phy-reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
phy-reset-duration = <10>;
phy-reset-post-delay = <20>;
phy-reset-on-resume;
status = "okay";

Expand Down

0 comments on commit 5c7717b

Please sign in to comment.