Change the labels of the DSA ports to generic naming for switch ports.

Signed-off-by: Arınç ÜNAL <arinc.u...@arinc9.com>
---
I've made sure every devicetree which includes mt7621.dtsi has got its own
label property. This won't break anything.

Arınç
---
 target/linux/ramips/dts/mt7621.dtsi | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/target/linux/ramips/dts/mt7621.dtsi 
b/target/linux/ramips/dts/mt7621.dtsi
index 0eae4bb871..d4a920f8c4 100644
--- a/target/linux/ramips/dts/mt7621.dtsi
+++ b/target/linux/ramips/dts/mt7621.dtsi
@@ -529,31 +529,31 @@
                                        port@0 {
                                                status = "disabled";
                                                reg = <0>;
-                                               label = "lan0";
+                                               label = "swp0";
                                        };
 
                                        port@1 {
                                                status = "disabled";
                                                reg = <1>;
-                                               label = "lan1";
+                                               label = "swp1";
                                        };
 
                                        port@2 {
                                                status = "disabled";
                                                reg = <2>;
-                                               label = "lan2";
+                                               label = "swp2";
                                        };
 
                                        port@3 {
                                                status = "disabled";
                                                reg = <3>;
-                                               label = "lan3";
+                                               label = "swp3";
                                        };
 
                                        port@4 {
                                                status = "disabled";
                                                reg = <4>;
-                                               label = "lan4";
+                                               label = "swp4";
                                        };
 
                                        port@6 {
-- 
2.34.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to