[PATCH] mips: ralink: mt7621: change DSA port labels to generic naming

Arınç ÜNAL posted 1 patch 1 year, 9 months ago
arch/mips/boot/dts/ralink/mt7621.dtsi | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
[PATCH] mips: ralink: mt7621: change DSA port labels to generic naming
Posted by Arınç ÜNAL 1 year, 9 months ago
Change the labels of the DSA ports to generic naming for switch ports.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
---
 arch/mips/boot/dts/ralink/mt7621.dtsi | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/mips/boot/dts/ralink/mt7621.dtsi b/arch/mips/boot/dts/ralink/mt7621.dtsi
index f3f4c1f26e01..1a601d7c73d7 100644
--- a/arch/mips/boot/dts/ralink/mt7621.dtsi
+++ b/arch/mips/boot/dts/ralink/mt7621.dtsi
@@ -357,31 +357,31 @@ ports {
 					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

Re: [PATCH] mips: ralink: mt7621: change DSA port labels to generic naming
Posted by Thomas Bogendoerfer 1 year, 9 months ago
On Tue, Nov 29, 2022 at 02:17:11PM +0300, Arınç ÜNAL wrote:
> Change the labels of the DSA ports to generic naming for switch ports.
> 
> Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
> ---
>  arch/mips/boot/dts/ralink/mt7621.dtsi | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]