Hi Peng,

On Mon, Dec 28, 2020 at 8:48 AM Peng Fan (OSS) <peng....@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.

Reply via email to