[PATCH] ARM: dts: BCM5301X: Add Ethernet interfaces links

Rafał Miłecki zajec5 at gmail.com
Fri Jul 7 02:15:19 PDT 2023


From: Rafał Miłecki <rafal at milecki.pl>

Northstar SoCs have 3 usable Ethernet interfaces each connected to one
of switch ports. They all use fixed links.

Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
 arch/arm/boot/dts/broadcom/bcm-ns.dtsi | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/arm/boot/dts/broadcom/bcm-ns.dtsi b/arch/arm/boot/dts/broadcom/bcm-ns.dtsi
index dae9c47ace76..88fda18af1f8 100644
--- a/arch/arm/boot/dts/broadcom/bcm-ns.dtsi
+++ b/arch/arm/boot/dts/broadcom/bcm-ns.dtsi
@@ -272,14 +272,32 @@ xhci_port1: port at 1 {
 
 		gmac0: ethernet at 24000 {
 			reg = <0x24000 0x800>;
+			phy-mode = "internal";
+
+			fixed-link {
+				speed = <1000>;
+				full-duplex;
+			};
 		};
 
 		gmac1: ethernet at 25000 {
 			reg = <0x25000 0x800>;
+			phy-mode = "internal";
+
+			fixed-link {
+				speed = <1000>;
+				full-duplex;
+			};
 		};
 
 		gmac2: ethernet at 26000 {
 			reg = <0x26000 0x800>;
+			phy-mode = "internal";
+
+			fixed-link {
+				speed = <1000>;
+				full-duplex;
+			};
 		};
 
 		gmac3: ethernet at 27000 {
-- 
2.35.3




More information about the linux-arm-kernel mailing list