2022-11-29 11:32:01

by Arınç ÜNAL

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

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

Signed-off-by: Arınç ÜNAL <[email protected]>
---
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


2022-12-01 11:17:58

by Thomas Bogendoerfer

[permalink] [raw]
Subject: Re: [PATCH] mips: ralink: mt7621: change DSA port labels to generic naming

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 <[email protected]>
> ---
> 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 ]