[PATCH 01/13] imx: imx8mp_evk: enable eth support
Fabio Estevam
festevam at gmail.com
Mon Dec 28 23:00:43 CET 2020
Hi Peng,
On Mon, Dec 28, 2020 at 8:48 AM Peng Fan (OSS) <peng.fan at 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.
More information about the U-Boot
mailing list