On Wed, Jul 04, 2018 at 09:17:57PM +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 <linus.wall...@linaro.org> > --- > 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 e5cf9d1a98cd..2706b86e06f1 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 node is not an ethernet phy, it is an mdio bus. > + 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"; device_type is not needed, and not part of the binding in Documentation/devicetree/bindings/net/phy.txt Andrew _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel