From 73bfb342841c5941b4a63d3190ee70e25cd79cb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Fri, 27 Feb 2026 20:40:20 +0100 Subject: [PATCH] bcm53xx: fix switch standalone ports (like "wan") MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: https://github.com/openwrt/openwrt/issues/21187 Fixes: https://github.com/openwrt/openwrt/issues/21349 Fixes: 499a59c234f4 ("kernel: bump 6.12 to 6.12.30") Signed-off-by: Rafał Miłecki --- ...able-EAP-setup-on-Northstar-switches.patch | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 target/linux/bcm53xx/patches-6.12/701-net-dsa-b53-disable-EAP-setup-on-Northstar-switches.patch diff --git a/target/linux/bcm53xx/patches-6.12/701-net-dsa-b53-disable-EAP-setup-on-Northstar-switches.patch b/target/linux/bcm53xx/patches-6.12/701-net-dsa-b53-disable-EAP-setup-on-Northstar-switches.patch new file mode 100644 index 0000000000..83635e3ec1 --- /dev/null +++ b/target/linux/bcm53xx/patches-6.12/701-net-dsa-b53-disable-EAP-setup-on-Northstar-switches.patch @@ -0,0 +1,38 @@ +From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= +Date: Fri, 27 Feb 2026 19:59:16 +0100 +Subject: [PATCH] net: dsa: b53: disable EAP setup on Northstar switches +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +It breaks standalone ports. + +Signed-off-by: Rafał Miłecki +--- + drivers/net/dsa/b53/b53_common.c | 15 +++++++++++++++ + 1 file changed, 15 insertions(+) + +--- a/drivers/net/dsa/b53/b53_common.c ++++ b/drivers/net/dsa/b53/b53_common.c +@@ -332,6 +332,21 @@ static void b53_set_eap_mode(struct b53_ + { + u64 eap_conf; + ++ /* ++ * On Northstar devices (SoCs with BCM53011 / BCM53012) setting ++ * EAP_MODE_SIMPLIFIED breaks standalone ports. ++ * ++ * See: ++ * https://lore.kernel.org/netdev/ce4d9b7b-aaf6-4796-94fb-8c3d6a1dcd4d@gmail.com/ ++ * https://github.com/openwrt/openwrt/issues/21187 ++ * https://github.com/openwrt/openwrt/issues/21349 ++ * ++ * For details on EAP see commit 4227ea91e265 ("net: dsa: b53: prevent ++ * standalone from trying to forward to other ports"). ++ */ ++ if (is5301x(dev)) ++ return; ++ + if (is5325(dev) || is5365(dev) || dev->chip_id == BCM5389_DEVICE_ID) + return; +