Re: [PATCH v1 4/4] ARM: dts: mvebu: add device tree for netgear gs110emx switch

From: Andrew Lunn
Date: Tue Oct 05 2021 - 09:05:27 EST


> + mdio {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + switch0phy0: switch0phy0@1 {
> + reg = <0x1>;
> + };

> +
> + port@1 {
> + label = "lan1";
> + phy-handle = <&switch0phy0>;
> + reg = <1>;
> + };

You numbering of the phy labels is a bit confusing here. Both the port
and the PHY use reg=<1>. So i would use the label

switch0phy1: switch0phy1@1

Andrew