blob: e4d5449d08a66f3ad6c413cc096c1bf6680b0177 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
From e8f521154dbf16a91cba229f7514cca8e136702e Mon Sep 17 00:00:00 2001
From: Alex Marginean <alexandru.marginean@nxp.com>
Date: Mon, 6 Jan 2020 11:48:42 +0200
Subject: [PATCH] arm64: dts: fsl-ls1028a: add labels to Ethernet switch ports
Labels are used to name switch port net devices in Linux, use more
convenient names to make it simpler for users.
Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
---
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 4 ++++
1 file changed, 4 insertions(+)
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
@@ -786,21 +786,25 @@
mscc_felix_port0: port@0 {
reg = <0>;
status = "disabled";
+ label = "swp0";
};
mscc_felix_port1: port@1 {
reg = <1>;
status = "disabled";
+ label = "swp1";
};
mscc_felix_port2: port@2 {
reg = <2>;
status = "disabled";
+ label = "swp2";
};
mscc_felix_port3: port@3 {
reg = <3>;
status = "disabled";
+ label = "swp3";
};
/* internal to-cpu ports */
|