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>
This commit is contained in:
parent
322ec39faa
commit
fca21e139d
@ -181,5 +181,13 @@
|
||||
port@5 {
|
||||
label = "cpu";
|
||||
};
|
||||
|
||||
port@7 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
port@8 {
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -85,5 +85,13 @@
|
||||
port@5 {
|
||||
label = "cpu";
|
||||
};
|
||||
|
||||
port@7 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
port@8 {
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -88,5 +88,13 @@
|
||||
port@5 {
|
||||
label = "cpu";
|
||||
};
|
||||
|
||||
port@7 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
port@8 {
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -122,5 +122,13 @@
|
||||
port@5 {
|
||||
label = "cpu";
|
||||
};
|
||||
|
||||
port@7 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
port@8 {
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -145,6 +145,14 @@
|
||||
port@5 {
|
||||
label = "cpu";
|
||||
};
|
||||
|
||||
port@7 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
port@8 {
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -145,5 +145,13 @@
|
||||
port@5 {
|
||||
label = "cpu";
|
||||
};
|
||||
|
||||
port@7 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
port@8 {
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -81,5 +81,13 @@
|
||||
port@5 {
|
||||
label = "cpu";
|
||||
};
|
||||
|
||||
port@7 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
port@8 {
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -148,5 +148,13 @@
|
||||
port@5 {
|
||||
label = "cpu";
|
||||
};
|
||||
|
||||
port@7 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
port@8 {
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -227,6 +227,14 @@
|
||||
label = "wan";
|
||||
};
|
||||
|
||||
port@5 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
port@7 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
port@8 {
|
||||
label = "cpu";
|
||||
};
|
||||
|
@ -144,6 +144,14 @@
|
||||
label = "wan";
|
||||
};
|
||||
|
||||
port@5 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
port@7 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
port@8 {
|
||||
label = "cpu";
|
||||
};
|
||||
|
@ -192,6 +192,14 @@
|
||||
label = "wan";
|
||||
};
|
||||
|
||||
port@5 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
port@7 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
port@8 {
|
||||
label = "cpu";
|
||||
phy-mode = "rgmii";
|
||||
|
@ -107,5 +107,13 @@
|
||||
port@5 {
|
||||
label = "cpu";
|
||||
};
|
||||
|
||||
port@7 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
port@8 {
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -120,5 +120,13 @@
|
||||
port@5 {
|
||||
label = "cpu";
|
||||
};
|
||||
|
||||
port@7 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
port@8 {
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -107,5 +107,13 @@
|
||||
port@5 {
|
||||
label = "cpu";
|
||||
};
|
||||
|
||||
port@7 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
port@8 {
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -75,5 +75,13 @@
|
||||
port@5 {
|
||||
label = "cpu";
|
||||
};
|
||||
|
||||
port@7 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
port@8 {
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -147,5 +147,13 @@
|
||||
port@5 {
|
||||
label = "cpu";
|
||||
};
|
||||
|
||||
port@7 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
port@8 {
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -158,5 +158,13 @@
|
||||
port@5 {
|
||||
label = "cpu";
|
||||
};
|
||||
|
||||
port@7 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
port@8 {
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -124,6 +124,14 @@
|
||||
full-duplex;
|
||||
};
|
||||
};
|
||||
|
||||
port@7 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
port@8 {
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -185,6 +185,14 @@
|
||||
full-duplex;
|
||||
};
|
||||
};
|
||||
|
||||
port@7 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
port@8 {
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -84,6 +84,14 @@
|
||||
label = "cpu";
|
||||
ethernet = <&gmac0>;
|
||||
};
|
||||
|
||||
port@7 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
port@8 {
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user