1 From e0ae343a2c1b782a346d9b844ea65e1d49c428b2 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Mon, 24 Jul 2023 12:12:27 +0200
4 Subject: [PATCH] ARM: dts: BCM53573: Add Ethernet interfaces links
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 BCM53573 has 2 Ethernet interfaces each connected to one of switch ports
10 in the default design. They both use fixed links.
12 An exception are Luxul XAP devices that have switch replaced by a single
15 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
16 Link: https://lore.kernel.org/r/20230724101227.5420-1-zajec5@gmail.com
17 Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
19 .../boot/dts/broadcom/bcm47189-luxul-xap-1440.dts | 2 ++
20 .../arm/boot/dts/broadcom/bcm47189-luxul-xap-810.dts | 2 ++
21 arch/arm/boot/dts/broadcom/bcm53573.dtsi | 12 ++++++++++++
22 3 files changed, 16 insertions(+)
24 --- a/arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts
25 +++ b/arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts
28 phy-handle = <&bcm54210e>;
30 + /delete-node/ fixed-link;
33 /delete-node/ switch@1e;
35 --- a/arch/arm/boot/dts/bcm47189-luxul-xap-810.dts
36 +++ b/arch/arm/boot/dts/bcm47189-luxul-xap-810.dts
39 phy-handle = <&bcm54210e>;
41 + /delete-node/ fixed-link;
44 /delete-node/ switch@1e;
46 --- a/arch/arm/boot/dts/bcm53573.dtsi
47 +++ b/arch/arm/boot/dts/bcm53573.dtsi
50 gmac0: ethernet@5000 {
51 reg = <0x5000 0x1000>;
52 + phy-mode = "internal";
63 gmac1: ethernet@b000 {
64 reg = <0xb000 0x1000>;
65 + phy-mode = "internal";