>                               eg20t_mac@2,0,1 {
>                                       compatible = "pci8086,8802";
>                                       reg = <0x00020100 0 0 0 0>;
> -                                     phy-reset-gpios = <&eg20t_gpio 6
> -                                                        GPIO_ACTIVE_LOW>;
> +
> +                                     #address-cells = <1>;
> +                                     #size-cells = <0>;

It is generally a good idea to put an 'mdio' container which the PHYs
are on. You then pass this container node to of_mdiobus_register().

> +
> +                                     ethernet-phy@0 {
> +                                             compatible = 
> "ethernet-phy-id001c.c915";
> +                                             reg = <0>;
> +                                             reset-gpios = <&eg20t_gpio 6 
> GPIO_ACTIVE_LOW>;
> +                                             reset-assert-us = <25000>;
> +                                             reset-deassert-us = <25000>;
> +                                     };

  Andrew

Reply via email to