
29 Dec
2020
29 Dec
'20
2:26 a.m.
Subject: Re: [PATCH 01/13] imx: imx8mp_evk: enable eth support
Hi Peng,
On Mon, Dec 28, 2020 at 8:48 AM Peng Fan (OSS) peng.fan@oss.nxp.com wrote:
+static void setup_iomux_fec(void) +{
imx_iomux_v3_setup_multiple_pads(fec1_rst_pads,
ARRAY_SIZE(fec1_rst_pads));
gpio_request(FEC_RST_PAD, "fec1_rst");
gpio_direction_output(FEC_RST_PAD, 0);
mdelay(15);
gpio_direction_output(FEC_RST_PAD, 1);
mdelay(100);
The Ethernet PHY reset can be handled by the device tree.
I could use phy-reset-gpios for it. But latest device tree I think prefer reset-gpios under the phy node which is not supported by U-Boot.
I'll use phy-reset-gpios.
Thanks, Peng.