1 From 473baeab929444295b0530f8766e4becb6a08973 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Fri, 13 Oct 2023 12:33:13 +0200
4 Subject: [PATCH] ARM: dts: BCM5301X: Explicitly disable unused switch CPU
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
10 When redescribing ports I assumed that missing "label" (like "cpu")
11 means switch port isn't used. That was incorrect and I realized my
12 change made Linux always use the first (5) CPU port (there are 3 of
15 While above should technically be possible it often isn't correct:
16 1. Non-default switch ports are often connected to Ethernet interfaces
17 not fully covered by vendor setup (they may miss MACs)
18 2. On some devices non-default ports require specifying fixed link
20 This fixes network connectivity for some devices. It was reported &
21 tested for Netgear R8000. It also affects Linksys EA9200 with its
24 Fixes: ba4aebce23b2 ("ARM: dts: BCM5301X: Describe switch ports in the main DTS")
25 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
26 Link: https://lore.kernel.org/r/20231013103314.10306-1-zajec5@gmail.com
27 Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
29 .../dts/broadcom/bcm4708-buffalo-wzr-1166dhp-common.dtsi | 8 ++++++++
30 arch/arm/boot/dts/broadcom/bcm4708-luxul-xap-1510.dts | 8 ++++++++
31 arch/arm/boot/dts/broadcom/bcm4708-luxul-xwc-1000.dts | 8 ++++++++
32 arch/arm/boot/dts/broadcom/bcm4708-netgear-r6250.dts | 8 ++++++++
33 arch/arm/boot/dts/broadcom/bcm4708-smartrg-sr400ac.dts | 8 ++++++++
34 .../boot/dts/broadcom/bcm47081-buffalo-wzr-600dhp2.dts | 8 ++++++++
35 arch/arm/boot/dts/broadcom/bcm47081-luxul-xap-1410.dts | 8 ++++++++
36 arch/arm/boot/dts/broadcom/bcm47081-luxul-xwr-1200.dts | 8 ++++++++
37 arch/arm/boot/dts/broadcom/bcm4709-netgear-r8000.dts | 8 ++++++++
38 arch/arm/boot/dts/broadcom/bcm47094-dlink-dir-885l.dts | 8 ++++++++
39 arch/arm/boot/dts/broadcom/bcm47094-dlink-dir-890l.dts | 8 ++++++++
40 arch/arm/boot/dts/broadcom/bcm47094-luxul-abr-4500.dts | 8 ++++++++
41 arch/arm/boot/dts/broadcom/bcm47094-luxul-xap-1610.dts | 8 ++++++++
42 arch/arm/boot/dts/broadcom/bcm47094-luxul-xbr-4500.dts | 8 ++++++++
43 arch/arm/boot/dts/broadcom/bcm47094-luxul-xwc-2000.dts | 8 ++++++++
44 arch/arm/boot/dts/broadcom/bcm47094-luxul-xwr-3100.dts | 8 ++++++++
45 arch/arm/boot/dts/broadcom/bcm47094-luxul-xwr-3150-v1.dts | 8 ++++++++
46 arch/arm/boot/dts/broadcom/bcm53015-meraki-mr26.dts | 8 ++++++++
47 arch/arm/boot/dts/broadcom/bcm53016-meraki-mr32.dts | 8 ++++++++
48 arch/arm/boot/dts/broadcom/bcm953012er.dts | 8 ++++++++
49 20 files changed, 160 insertions(+)
51 --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1166dhp-common.dtsi
52 +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1166dhp-common.dtsi
59 + status = "disabled";
63 + status = "disabled";
67 --- a/arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts
68 +++ b/arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts
75 + status = "disabled";
79 + status = "disabled";
83 --- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
84 +++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
91 + status = "disabled";
95 + status = "disabled";
99 --- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
100 +++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
107 + status = "disabled";
111 + status = "disabled";
115 --- a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
116 +++ b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
123 + status = "disabled";
127 + status = "disabled";
132 --- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
133 +++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
140 + status = "disabled";
144 + status = "disabled";
148 --- a/arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts
149 +++ b/arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts
156 + status = "disabled";
160 + status = "disabled";
164 --- a/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
165 +++ b/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
172 + status = "disabled";
176 + status = "disabled";
180 --- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
181 +++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
187 + status = "disabled";
191 + status = "disabled";
197 --- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
198 +++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
200 nvmem-cell-names = "mac-address";
204 + status = "disabled";
208 + status = "disabled";
214 --- a/arch/arm/boot/dts/bcm47094-dlink-dir-890l.dts
215 +++ b/arch/arm/boot/dts/bcm47094-dlink-dir-890l.dts
221 + status = "disabled";
225 + status = "disabled";
231 --- a/arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts
232 +++ b/arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts
239 + status = "disabled";
243 + status = "disabled";
247 --- a/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
248 +++ b/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
255 + status = "disabled";
259 + status = "disabled";
263 --- a/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts
264 +++ b/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts
271 + status = "disabled";
275 + status = "disabled";
279 --- a/arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts
280 +++ b/arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts
287 + status = "disabled";
291 + status = "disabled";
295 --- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
296 +++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
303 + status = "disabled";
307 + status = "disabled";
311 --- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
312 +++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
319 + status = "disabled";
323 + status = "disabled";
327 --- a/arch/arm/boot/dts/bcm53015-meraki-mr26.dts
328 +++ b/arch/arm/boot/dts/bcm53015-meraki-mr26.dts
335 + status = "disabled";
339 + status = "disabled";
344 --- a/arch/arm/boot/dts/bcm53016-meraki-mr32.dts
345 +++ b/arch/arm/boot/dts/bcm53016-meraki-mr32.dts
352 + status = "disabled";
356 + status = "disabled";
361 --- a/arch/arm/boot/dts/bcm953012er.dts
362 +++ b/arch/arm/boot/dts/bcm953012er.dts
369 + status = "disabled";
373 + status = "disabled";