[V2,2/2] arm64: dts: imx8mn-ddr4-evk: add phy-reset-gpios for fec1
diff mbox series

Message ID 1571652977-4754-2-git-send-email-peng.fan@nxp.com
State New
Headers show
Series
  • [V2,1/2] arm64: dts: imx8mm-evk: add phy-reset-gpios for fec1
Related show

Commit Message

Peng Fan Oct. 21, 2019, 10:19 a.m. UTC
From: Peng Fan <peng.fan@nxp.com>

We should not rely on bootloader to configure the phy reset.
So introduce phy-reset-gpios property to let Linux handle phy reset
itself.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---

V2:
 U-Boot->bootloader

 arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox series

diff --git a/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts b/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts
index 1b90faace1d3..761ba0b5d271 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts
@@ -48,6 +48,7 @@ 
 	pinctrl-0 = <&pinctrl_fec1>;
 	phy-mode = "rgmii-id";
 	phy-handle = <&ethphy0>;
+	phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
 	fsl,magic-packet;
 	status = "okay";