[U-Boot] [PATCH v6 17/21] i.MX6: SabreSD: Enable DM_ETH

Fabio Estevam festevam at gmail.com
Thu May 18 12:26:56 UTC 2017


Hi Jagan,

On Thu, May 18, 2017 at 8:00 AM, Jagan Teki <jagan at openedev.com> wrote:

> -static void setup_iomux_enet(void)
> -{
> -       SETUP_IOMUX_PADS(enet_pads);
> -
> -       /* Reset AR8031 PHY */
> -       gpio_direction_output(IMX_GPIO_NR(1, 25) , 0);
> -       mdelay(10);
> -       gpio_set_value(IMX_GPIO_NR(1, 25), 1);
> -       udelay(100);

As far as I can see the FEC driver will bot retrieve the
'phy-reset-gpios' property from the device tree, right?

In this case we loose the ability to reset the Ethernet PHY with DM support.

Can you please add 'phy-reset-gpios' property support to the FEC
driver like we have in the kernel?

Thanks


More information about the U-Boot mailing list