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