4b2e608ec2ecf144f55ba18839c77adfd7a9196b
[openwrt/staging/ansuel.git] /
1 From 2ce61fa62183cf994666fcc911da34075c7183b5 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Fri, 7 Jul 2023 11:15:19 +0200
4 Subject: [PATCH] ARM: dts: BCM5301X: Add Ethernet interfaces links
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Northstar SoCs have 3 usable Ethernet interfaces each connected to one
10 of switch ports. They all use fixed links.
11
12 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
13 Link: https://lore.kernel.org/r/20230707091519.21673-1-zajec5@gmail.com
14 Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
15 ---
16 arch/arm/boot/dts/broadcom/bcm-ns.dtsi | 18 ++++++++++++++++++
17 1 file changed, 18 insertions(+)
18
19 --- a/arch/arm/boot/dts/bcm-ns.dtsi
20 +++ b/arch/arm/boot/dts/bcm-ns.dtsi
21 @@ -272,14 +272,32 @@
22
23 gmac0: ethernet@24000 {
24 reg = <0x24000 0x800>;
25 + phy-mode = "internal";
26 +
27 + fixed-link {
28 + speed = <1000>;
29 + full-duplex;
30 + };
31 };
32
33 gmac1: ethernet@25000 {
34 reg = <0x25000 0x800>;
35 + phy-mode = "internal";
36 +
37 + fixed-link {
38 + speed = <1000>;
39 + full-duplex;
40 + };
41 };
42
43 gmac2: ethernet@26000 {
44 reg = <0x26000 0x800>;
45 + phy-mode = "internal";
46 +
47 + fixed-link {
48 + speed = <1000>;
49 + full-duplex;
50 + };
51 };
52
53 gmac3: ethernet@27000 {