On Wed, Jul 11, 2018 at 09:47:18PM +0200, Linus Walleij wrote:
> This sets up the ethernet interface and PHY for the
> WAN ethernet port which uses a Marvell PHY.
> 
> Signed-off-by: Linus Walleij <[email protected]>
> ---
> ChangeLog v2->v3:
> - No changes, just resending.
> ChangeLog v1->v2:
> - Rename wrongly named "ethernet-phy" to "mdio"
> - Drop device_type from the ethernet phy
> ---
>  arch/arm/boot/dts/gemini-sq201.dts | 85 ++++++++++++++++++++++++++++++
>  1 file changed, 85 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/gemini-sq201.dts 
> b/arch/arm/boot/dts/gemini-sq201.dts
> index 7658e212e6d2..cc693e64faaf 100644
> --- a/arch/arm/boot/dts/gemini-sq201.dts
> +++ b/arch/arm/boot/dts/gemini-sq201.dts
> @@ -55,6 +55,21 @@
>               };
>       };
>  
> +     mdio0: ethernet-phy {

Hi Linus

mdio0: mdio {

This is not a phy. Which is odd, because v1->v2 should of fixed this...

> +             compatible = "virtual,mdio-gpio";
> +             /* Uses MDC and MDIO */
> +             gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */
> +                     <&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */
> +             #address-cells = <1>;
> +             #size-cells = <0>;
> +
> +             /* This is a Marvell 88E1111 ethernet transciever */
> +             phy0: ethernet-phy@1 {
> +                     reg = <1>;
> +                     device_type = "ethernet-phy";

???

I'm wondering if this is the correct version of these patches....

        Andrew

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to