arm64: dts: marvell: espressobin: Simplify v7 ethernet port labeling
authorAndre Heider <a.heider@gmail.com>
Tue, 8 Sep 2020 07:30:50 +0000 (09:30 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Sun, 29 Nov 2020 10:56:32 +0000 (11:56 +0100)
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>
arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7-emmc.dts
arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7.dts

index 215d2f7..61d49d6 100644 (file)
        };
 };
 
-&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 */
index b6f4af8..44dbe9a 100644 (file)
        };
 };
 
-&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";
 };