arm64: dts: ls1028a: sl28: use ocelot-8021q tagging by default
authorMichael Walle <michael@walle.cc>
Wed, 30 Mar 2022 11:33:29 +0000 (13:33 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 11 Apr 2022 01:39:13 +0000 (09:39 +0800)
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.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts

index c03f4e1..0825c09 100644 (file)
        status = "okay";
 };
 
+&mscc_felix_port4 {
+       dsa-tag-protocol = "ocelot-8021q";
+};
+
+&mscc_felix_port5 {
+       dsa-tag-protocol = "ocelot-8021q";
+};
+
 &usb0 {
        status = "okay";
 };