Thread (10 messages) flat view 10 messages, 2 authors, 2021-10-05

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

From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-10-05 13:05:26
Also in: linux-arm-kernel, lkml, netdev

+		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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help