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: Andre Heider <a.heider@gmail.com>
Reviewed-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
This commit is contained in:
Andre Heider 2020-09-08 09:30:50 +02:00 committed by Gregory CLEMENT
parent 3cea11cd5e
commit 8077f593d7
2 changed files with 11 additions and 27 deletions

View File

@ -28,20 +28,12 @@
};
};
&switch0 {
ports {
switch0port1: port@1 {
reg = <1>;
label = "lan1";
phy-handle = <&switch0phy0>;
};
&switch0port1 {
label = "lan1";
};
switch0port3: port@3 {
reg = <3>;
label = "wan";
phy-handle = <&switch0phy2>;
};
};
&switch0port3 {
label = "wan";
};
/* U11 */

View File

@ -27,18 +27,10 @@
};
};
&switch0 {
ports {
switch0port1: port@1 {
reg = <1>;
label = "lan1";
phy-handle = <&switch0phy0>;
};
switch0port3: port@3 {
reg = <3>;
label = "wan";
phy-handle = <&switch0phy2>;
};
};
&switch0port1 {
label = "lan1";
};
&switch0port3 {
label = "wan";
};