Skip to contentSkip to conversation

ARM: dts: BCM53573: Add Ethernet interfaces links

PATCH Applied Rafał Miłecki 2 participants 2 messages Jul 24, 2023 – Jul 28, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: BCM53573: Add Ethernet interfaces links

From: Rafał Miłecki <[email protected]>

BCM53573 has 2 Ethernet interfaces each connected to one of switch ports in the default design. They both use fixed links.

An exception are Luxul XAP devices that have switch replaced by a single PHY.

---
 .../boot/dts/broadcom/bcm47189-luxul-xap-1440.dts    |  2 ++
 .../arm/boot/dts/broadcom/bcm47189-luxul-xap-810.dts |  2 ++
 arch/arm/boot/dts/broadcom/bcm53573.dtsi             | 12 ++++++++++++
 3 files changed, 16 insertions(+)
arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts +2 -0
index e86e82be3c0e..ac44c745bdf8 100644
@@ -50,6 +50,8 @@ &gmac0 {
 	phy-mode = "rgmii";
 	phy-handle = <&bcm54210e>;
 
+	/delete-node/ fixed-link;
+
 	mdio {
 		/delete-node/ switch@1e;
 
arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-810.dts +2 -0
index d0bbc01f1806..fd071da26cfa 100644
@@ -86,6 +86,8 @@ &gmac0 {
 	phy-mode = "rgmii";
 	phy-handle = <&bcm54210e>;
 
+	/delete-node/ fixed-link;
+
 	mdio {
 		/delete-node/ switch@1e;
 
arch/arm/boot/dts/broadcom/bcm53573.dtsi +12 -0
index 10d0fe76ee3c..2df80740d181 100644
@@ -181,6 +181,12 @@ ohci_port2: port@2 {
 
 		gmac0: ethernet@5000 {
 			reg = <0x5000 0x1000>;
+			phy-mode = "internal";
+
+			fixed-link {
+				speed = <1000>;
+				full-duplex;
+			};
 
 			mdio {
 				#address-cells = <1>;
@@ -237,6 +243,12 @@ port@8 {
 
 		gmac1: ethernet@b000 {
 			reg = <0xb000 0x1000>;
+			phy-mode = "internal";
+
+			fixed-link {
+				speed = <1000>;
+				full-duplex;
+			};
 		};
 
 		pmu@12000 {
Signature · 1 line
2.35.3
maintainer Applied
#1 lore raw

From: Florian Fainelli <[email protected]>

Quoted 10 lines · Rafał Miłecki

From: Rafał Miłecki <[email protected]>

BCM53573 has 2 Ethernet interfaces each connected to one of switch ports in the default design. They both use fixed links.

An exception are Luxul XAP devices that have switch replaced by a single PHY.

---

Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks! --
Florian