ARM: dts: BCM5301X: Explicitly disable unused switch CPU ports
authorRafał Miłecki <rafal@milecki.pl>
Fri, 13 Oct 2023 10:33:13 +0000 (12:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Nov 2023 10:59:17 +0000 (11:59 +0100)
commitfca21e139d2118727ccff8fbbe21c25711476ea2
tree24187c699412c0881cd0043b98ea3ee65b79682a
parent322ec39faa3a800de5785e5b666f486827aac13c
ARM: dts: BCM5301X: Explicitly disable unused switch CPU ports

[ Upstream commit 473baeab929444295b0530f8766e4becb6a08973 ]

When redescribing ports I assumed that missing "label" (like "cpu")
means switch port isn't used. That was incorrect and I realized my
change made Linux always use the first (5) CPU port (there are 3 of
them).

While above should technically be possible it often isn't correct:
1. Non-default switch ports are often connected to Ethernet interfaces
   not fully covered by vendor setup (they may miss MACs)
2. On some devices non-default ports require specifying fixed link

This fixes network connectivity for some devices. It was reported &
tested for Netgear R8000. It also affects Linksys EA9200 with its
downstream DTS.

Fixes: ba4aebce23b2 ("ARM: dts: BCM5301X: Describe switch ports in the main DTS")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Link: https://lore.kernel.org/r/20231013103314.10306-1-zajec5@gmail.com
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
20 files changed:
arch/arm/boot/dts/broadcom/bcm4708-buffalo-wzr-1166dhp-common.dtsi
arch/arm/boot/dts/broadcom/bcm4708-luxul-xap-1510.dts
arch/arm/boot/dts/broadcom/bcm4708-luxul-xwc-1000.dts
arch/arm/boot/dts/broadcom/bcm4708-netgear-r6250.dts
arch/arm/boot/dts/broadcom/bcm4708-smartrg-sr400ac.dts
arch/arm/boot/dts/broadcom/bcm47081-buffalo-wzr-600dhp2.dts
arch/arm/boot/dts/broadcom/bcm47081-luxul-xap-1410.dts
arch/arm/boot/dts/broadcom/bcm47081-luxul-xwr-1200.dts
arch/arm/boot/dts/broadcom/bcm4709-netgear-r8000.dts
arch/arm/boot/dts/broadcom/bcm47094-dlink-dir-885l.dts
arch/arm/boot/dts/broadcom/bcm47094-dlink-dir-890l.dts
arch/arm/boot/dts/broadcom/bcm47094-luxul-abr-4500.dts
arch/arm/boot/dts/broadcom/bcm47094-luxul-xap-1610.dts
arch/arm/boot/dts/broadcom/bcm47094-luxul-xbr-4500.dts
arch/arm/boot/dts/broadcom/bcm47094-luxul-xwc-2000.dts
arch/arm/boot/dts/broadcom/bcm47094-luxul-xwr-3100.dts
arch/arm/boot/dts/broadcom/bcm47094-luxul-xwr-3150-v1.dts
arch/arm/boot/dts/broadcom/bcm53015-meraki-mr26.dts
arch/arm/boot/dts/broadcom/bcm53016-meraki-mr32.dts
arch/arm/boot/dts/broadcom/bcm953012er.dts