openwrt/target/linux/layerscape/patches-5.4/302-dts-0114-arm64-dts-fsl-ls1028a-add-labels-to-Ethernet-switch-.patch
Hauke Mehrtens 9501ce909f layerscape: Fix build in dtb
This fixes a kernel build problem.
The removed parts of the patch are already applied upstream.

Fixes: 9ad3ef27b9 ("kernel: bump 5.4 to 5.4.153")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-10-22 22:12:24 +02:00

42 lines
1.1 KiB
Diff

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 */