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

Andrew Lunn andrew at lunn.ch
Tue Oct 5 06:05:17 PDT 2021


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

> +
> +			port at 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 at 1 

     Andrew



More information about the linux-arm-kernel mailing list