Commit 3da63fce authored by Alifer Moraes's avatar Alifer Moraes Committed by Shawn Guo

arm64: dts: imx8mm-evk: add phy-reset-gpios for fec1

imx8mm-evk has a GPIO connected to AR8031 Ethernet PHY's reset pin.

Describe it in the device tree, following phy's datasheet reset duration of 10ms.

Tested booting via NFS.
Signed-off-by: default avatarAlifer Moraes <alifer.wsdm@gmail.com>
Reviewed-by: default avatarFabio Estevam <festevam@gmail.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent b1ad0e7d
...@@ -107,6 +107,8 @@ &fec1 { ...@@ -107,6 +107,8 @@ &fec1 {
pinctrl-0 = <&pinctrl_fec1>; pinctrl-0 = <&pinctrl_fec1>;
phy-mode = "rgmii-id"; phy-mode = "rgmii-id";
phy-handle = <&ethphy0>; phy-handle = <&ethphy0>;
phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
phy-reset-duration = <10>;
fsl,magic-packet; fsl,magic-packet;
status = "okay"; status = "okay";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment