Commit 8077f593 authored by Andre Heider's avatar Andre Heider Committed by Gregory CLEMENT
Browse files

arm64: dts: marvell: espressobin: Simplify v7 ethernet port labeling



Now that the switch ports have a label in the .dtsi, simplify the whole
"switch0" block for the v7 dts files.

Signed-off-by: default avatarAndre Heider <a.heider@gmail.com>
Reviewed-by: default avatarPali Rohár <pali@kernel.org>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
parent 3cea11cd
Loading
Loading
Loading
Loading
+5 −13
Original line number Diff line number Diff line
@@ -28,20 +28,12 @@
	};
};

&switch0 {
	ports {
		switch0port1: port@1 {
			reg = <1>;
&switch0port1 {
	label = "lan1";
			phy-handle = <&switch0phy0>;
};

		switch0port3: port@3 {
			reg = <3>;
&switch0port3 {
	label = "wan";
			phy-handle = <&switch0phy2>;
		};
	};
};

/* U11 */
+5 −13
Original line number Diff line number Diff line
@@ -27,18 +27,10 @@
	};
};

&switch0 {
	ports {
		switch0port1: port@1 {
			reg = <1>;
&switch0port1 {
	label = "lan1";
			phy-handle = <&switch0phy0>;
};

		switch0port3: port@3 {
			reg = <3>;
&switch0port3 {
	label = "wan";
			phy-handle = <&switch0phy2>;
		};
	};
};