[U-Boot] [PATCH v1 1/6] ARM: dts: imx6_colibri: introduce fec node

Oleksandr Suvorov oleksandr.suvorov at toradex.com
Tue Dec 3 15:45:07 CET 2019


On Mon, Nov 4, 2019 at 12:13 PM Igor Opaniuk <igor.opaniuk at gmail.com> wrote:
>
> From: Igor Opaniuk <igor.opaniuk at toradex.com>
>
> Sync DTS with the mainline Linux and introduce fec node.
>
> Signed-off-by: Igor Opaniuk <igor.opaniuk at toradex.com>

Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov at toradex.com>

> ---
>
>  arch/arm/dts/imx6-colibri.dts | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
>
> diff --git a/arch/arm/dts/imx6-colibri.dts b/arch/arm/dts/imx6-colibri.dts
> index 5c9f1f0d2b..387d6d5ca7 100644
> --- a/arch/arm/dts/imx6-colibri.dts
> +++ b/arch/arm/dts/imx6-colibri.dts
> @@ -21,6 +21,7 @@
>                 mmc0 = &usdhc3;
>                 mmc1 = &usdhc1;
>                 usb0 = &usbotg; /* required for ums */
> +               ethernet0 = &fec;
>         };
>
>         chosen {
> @@ -46,6 +47,25 @@
>         };
>  };
>
> +&fec {
> +       pinctrl-names = "default";
> +       pinctrl-0 = <&pinctrl_enet>;
> +       phy-mode = "rmii";
> +       phy-handle = <&ethphy>;
> +       status = "okay";
> +
> +       mdio {
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +
> +               ethphy: ethernet-phy at 0 {
> +                       reg = <0>;
> +                       micrel,led-mode = <0>;
> +                       status = "okay";
> +               };
> +       };
> +};
> +
>  /*
>   * PWR_I2C: power I2C to audio codec, PMIC, temperature sensor and
>   * touch screen controller
> --
> 2.17.1
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot



-- 
Best regards
Oleksandr Suvorov

Toradex AG
Altsagenstrasse 5 | 6048 Horw/Luzern | Switzerland | T: +41 41 500
4800 (main line)


More information about the U-Boot mailing list