Hi Nxp,
We are using imx8mp based SOC.
our BSP is based on kirkstone branch.
We have ethernet connected to eqos -> dp83867 & ethenet is functional.
WOL functionality is wokring fine. we are able to resume from suspend
imx8mp :
# ethtool -s eth1 wol g
#systemctl suspend
from any other machine in LAN we are able to trigger WOL packet
#wakeonlan <ethernet mac address >
after resuming from suspend ethernet was not functional found IP was not assiged to the phy.
DTS:
&eqos {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_eqos>;
phy-mode = "rgmii-id";
phy-handle = <&dp83867_1>;
snps,force_thresh_dma_mode;
snps,mtl-tx-config = <&mtl_tx_setup>;
snps,mtl-rx-config = <&mtl_rx_setup>;
status = "okay";
mdio {
compatible = "snps,dwmac-mdio";
#address-cells = <1>;
#size-cells = <0>;
/* TODO : RESET needed
* TODO : IRQ needed
*/
dp83867_1: ethernet-phy@0 {
/* RGMII-1 */
compatible = "ethernet-phy-id2000.a231";
reg = <0>;
ti,rx-internal-delay = <DP83867_RGMIIDCTL_1_75_NS>;
ti,tx-internal-delay = <DP83867_RGMIIDCTL_1_75_NS>;
ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
ti,min-output-impedance;
ti,dp83867-rxctrl-strap-quirk;
interrupt-parent = <&gpio4>;
interrupts = <21 IRQ_TYPE_EDGE_FALLING>;
reset-gpio = <&gpio4 22 GPIO_ACTIVE_LOW>;
reset-assert-us = <10000>;
reset-deassert-us = <80000>;
};
};
After resuming from wake on lan IP is not assigned to phy.