summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2023-06-05 15:21:09 +0200
committerFlorian Fainelli <florian.fainelli@broadcom.com>2023-06-09 00:05:43 +0200
commitba4aebce23b2affb810b8a60eae853674d2cded2 (patch)
tree9652ddce80b1185110751c7dda614ff205dd65de /arch/arm/boot/dts/bcm4708-netgear-r6250.dts
parentARM: dts: BCM5301X: Relicense Christian's code to the GPL 2.0+ / MIT (diff)
downloadlinux-ba4aebce23b2affb810b8a60eae853674d2cded2.tar.xz
linux-ba4aebce23b2affb810b8a60eae853674d2cded2.zip
ARM: dts: BCM5301X: Describe switch ports in the main DTS
All Northstar SoCs have BCM5301x switches (BCM53011, BCM53012) with 8 ports (0-8 without 6). By design 3 switch ports (5, 7 and 8) are hardwired to 3 on-SoC Ethernet interfaces. Switch port 8 requires forcing link state. It seems that global Northstar .dtsi file is the best place to describe those hw details. Only device specific bits (like labels) should go to device .dts files. This seems to fit well with a tiny exception of Asus RT-AC88U which somehow was designed to have switch 5 connected to an extra switch. This case was simply handled with a /delete-property/. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Reviewed-by: Christian Lamparter <chunkeey@gmail.com> (MR32+MR26) Link: https://lore.kernel.org/r/20230605132109.7933-1-zajec5@gmail.com Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Diffstat (limited to 'arch/arm/boot/dts/bcm4708-netgear-r6250.dts')
-rw-r--r--arch/arm/boot/dts/bcm4708-netgear-r6250.dts7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
index 8661ec94ca67..fad3473810a2 100644
--- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
+++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
@@ -100,34 +100,27 @@
ports {
port@0 {
- reg = <0>;
label = "lan4";
};
port@1 {
- reg = <1>;
label = "lan3";
};
port@2 {
- reg = <2>;
label = "lan2";
};
port@3 {
- reg = <3>;
label = "lan1";
};
port@4 {
- reg = <4>;
label = "wan";
};
port@5 {
- reg = <5>;
label = "cpu";
- ethernet = <&gmac0>;
};
};
};