[U-Boot] [PATCH V1 6/6] imx: imx8mm-evk: enable ethernet

Fabio Estevam festevam at gmail.com
Tue Oct 22 12:24:28 UTC 2019


Hi Peng,

On Tue, Oct 22, 2019 at 12:30 AM Peng Fan <peng.fan at nxp.com> wrote:
>
> add phy-reset-gpios to reset phy
> Add board_phy_config to configure phy
> Enable DM_ETH
>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> ---
>  arch/arm/dts/imx8mm-evk-u-boot.dtsi     |  4 ++++
>  board/freescale/imx8mm_evk/imx8mm_evk.c | 37 +++++++++++++++++++++++++++++++++
>  configs/imx8mm_evk_defconfig            |  7 +++++++
>  include/configs/imx8mm_evk.h            |  8 +++++++
>  4 files changed, 56 insertions(+)
>
> diff --git a/arch/arm/dts/imx8mm-evk-u-boot.dtsi b/arch/arm/dts/imx8mm-evk-u-boot.dtsi
> index f62a7cf97d..3502602fbb 100644
> --- a/arch/arm/dts/imx8mm-evk-u-boot.dtsi
> +++ b/arch/arm/dts/imx8mm-evk-u-boot.dtsi
> @@ -113,3 +113,7 @@
>  &pinctrl_pmic {
>         u-boot,dm-spl;
>  };
> +
> +&fec1 {
> +       phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;

This does not seem to be U-Boot specific information.

I would suggest adding this in the main dts instead.


More information about the U-Boot mailing list