Skip to contentSkip to conversation

arm64: dts: ls1028a: sl28: use ocelot-8021q tagging by default

PATCH Applied Michael Walle 3 participants 3 messages Mar 30, 2022 – Apr 11, 2022

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: ls1028a: sl28: use ocelot-8021q tagging by default

Enable the ocelot-8021q tagger by default which supports ethernet flow control.

The new default is set in the common board dtsi. The actual switch node is enabled on a per board variant basis. Because of this we set the new tagger default for both internal ports and a particular variant is free to choose among the two port.

---
 .../arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts +8 -0
index 7ef47b80e343..68d11a9c67f3 100644
@@ -328,6 +328,14 @@ &lpuart1 {
 	status = "okay";
 };
 
+&mscc_felix_port4 {
+	dsa-tag-protocol = "ocelot-8021q";
+};
+
+&mscc_felix_port5 {
+	dsa-tag-protocol = "ocelot-8021q";
+};
+
 &usb0 {
 	status = "okay";
 };
Signature · 1 line
2.30.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Michael Walle

Enable the ocelot-8021q tagger by default which supports ethernet flow control.

The new default is set in the common board dtsi. The actual switch node is enabled on a per board variant basis. Because of this we set the new tagger default for both internal ports and a particular variant is free to choose among the two port.

---

Quoted 25 lines
 .../arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts +8 -0
index 7ef47b80e343..68d11a9c67f3 100644
@@ -328,6 +328,14 @@ &lpuart1 {
 	status = "okay";
 };
 
+&mscc_felix_port4 {
+	dsa-tag-protocol = "ocelot-8021q";
+};
+
+&mscc_felix_port5 {
+	dsa-tag-protocol = "ocelot-8021q";
+};
+
 &usb0 {
 	status = "okay";
 };
Signature · 1 line
2.30.2
Applied
#2 lore raw
In reply to Michael Walle
Quoted 9 lines · Michael Walle

Enable the ocelot-8021q tagger by default which supports ethernet flow control.

The new default is set in the common board dtsi. The actual switch node is enabled on a per board variant basis. Because of this we set the new tagger default for both internal ports and a particular variant is free to choose among the two port.

Applied, thanks!