mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 09:12:39 +00:00
37ff916af7
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
54 lines
1.3 KiB
Diff
54 lines
1.3 KiB
Diff
From 2ce61fa62183cf994666fcc911da34075c7183b5 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
|
|
Date: Fri, 7 Jul 2023 11:15:19 +0200
|
|
Subject: [PATCH] ARM: dts: BCM5301X: Add Ethernet interfaces links
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
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@milecki.pl>
|
|
Link: https://lore.kernel.org/r/20230707091519.21673-1-zajec5@gmail.com
|
|
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
|
|
---
|
|
arch/arm/boot/dts/broadcom/bcm-ns.dtsi | 18 ++++++++++++++++++
|
|
1 file changed, 18 insertions(+)
|
|
|
|
--- a/arch/arm/boot/dts/bcm-ns.dtsi
|
|
+++ b/arch/arm/boot/dts/bcm-ns.dtsi
|
|
@@ -272,14 +272,32 @@
|
|
|
|
gmac0: ethernet@24000 {
|
|
reg = <0x24000 0x800>;
|
|
+ phy-mode = "internal";
|
|
+
|
|
+ fixed-link {
|
|
+ speed = <1000>;
|
|
+ full-duplex;
|
|
+ };
|
|
};
|
|
|
|
gmac1: ethernet@25000 {
|
|
reg = <0x25000 0x800>;
|
|
+ phy-mode = "internal";
|
|
+
|
|
+ fixed-link {
|
|
+ speed = <1000>;
|
|
+ full-duplex;
|
|
+ };
|
|
};
|
|
|
|
gmac2: ethernet@26000 {
|
|
reg = <0x26000 0x800>;
|
|
+ phy-mode = "internal";
|
|
+
|
|
+ fixed-link {
|
|
+ speed = <1000>;
|
|
+ full-duplex;
|
|
+ };
|
|
};
|
|
|
|
gmac3: ethernet@27000 {
|