From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Estevam Date: Mon, 28 Dec 2020 19:00:43 -0300 Subject: [PATCH 01/13] imx: imx8mp_evk: enable eth support In-Reply-To: <20201228121710.17235-1-peng.fan@oss.nxp.com> References: <20201228121710.17235-1-peng.fan@oss.nxp.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Peng, On Mon, Dec 28, 2020 at 8:48 AM Peng Fan (OSS) 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.