[PATCH] ARM: imx: imx8mn-ddr4-evk: Add ethernet support

Jagan Teki jagan at amarulasolutions.com
Sat Feb 27 08:54:30 CET 2021


Hi Marek,

On Sat, Feb 27, 2021 at 3:44 AM Marek Vasut <marex at denx.de> wrote:
>
> Add support for ethernet on the imx8mn-ddr4-evk.
>
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Fabio Estevam <festevam at gmail.com>
> Cc: Peng Fan <peng.fan at nxp.com>
> Cc: Stefano Babic <sbabic at denx.de>
> ---
>  arch/arm/dts/imx8mn-evk.dtsi            |  1 +
>  board/freescale/imx8mn_evk/imx8mn_evk.c | 41 +++++++++++++++++++++++--
>  configs/imx8mn_ddr4_evk_defconfig       |  8 +++++
>  3 files changed, 47 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/dts/imx8mn-evk.dtsi b/arch/arm/dts/imx8mn-evk.dtsi
> index 76d042a4cf0..416fadb22b1 100644
> --- a/arch/arm/dts/imx8mn-evk.dtsi
> +++ b/arch/arm/dts/imx8mn-evk.dtsi
> @@ -53,6 +53,7 @@
>         pinctrl-0 = <&pinctrl_fec1>;
>         phy-mode = "rgmii-id";
>         phy-handle = <&ethphy0>;
> +       phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;

I believe this is phy reset-gpio to be part of mdio child node. any
idea why it added in fec1 node?

Jagan.


More information about the U-Boot mailing list