[PATCH] ramips: mt7621-dts: change DSA port labels to generic naming

Arınç ÜNAL arinc.unal at arinc9.com
Tue Nov 29 03:13:15 PST 2022


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

Signed-off-by: Arınç ÜNAL <arinc.unal at 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 at 0 {
 						status = "disabled";
 						reg = <0>;
-						label = "lan0";
+						label = "swp0";
 					};
 
 					port at 1 {
 						status = "disabled";
 						reg = <1>;
-						label = "lan1";
+						label = "swp1";
 					};
 
 					port at 2 {
 						status = "disabled";
 						reg = <2>;
-						label = "lan2";
+						label = "swp2";
 					};
 
 					port at 3 {
 						status = "disabled";
 						reg = <3>;
-						label = "lan3";
+						label = "swp3";
 					};
 
 					port at 4 {
 						status = "disabled";
 						reg = <4>;
-						label = "lan4";
+						label = "swp4";
 					};
 
 					port at 6 {
-- 
2.34.1




More information about the openwrt-devel mailing list