ARM: dts: BCM53573: Add Ethernet interfaces links
authorRafał Miłecki <rafal@milecki.pl>
Mon, 24 Jul 2023 10:12:27 +0000 (12:12 +0200)
committerFlorian Fainelli <florian.fainelli@broadcom.com>
Fri, 28 Jul 2023 17:28:49 +0000 (10:28 -0700)
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.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Link: https://lore.kernel.org/r/20230724101227.5420-1-zajec5@gmail.com
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts
arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-810.dts
arch/arm/boot/dts/broadcom/bcm53573.dtsi

index 0f6d7fe30068f322e547b72170aa98536743ed97..9caaba2a2bcb4d5947da778102ade679b5c2a188 100644 (file)
@@ -50,6 +50,8 @@
        phy-mode = "rgmii";
        phy-handle = <&bcm54210e>;
 
+       /delete-node/ fixed-link;
+
        mdio {
                /delete-node/ switch@1e;
 
index 4e0ef0af726f52c6aa7a3f43dc9ac3f515453d7c..ec1ca4e97d29f523c3d2ab79ac202b4be877ef56 100644 (file)
@@ -86,6 +86,8 @@
        phy-mode = "rgmii";
        phy-handle = <&bcm54210e>;
 
+       /delete-node/ fixed-link;
+
        mdio {
                /delete-node/ switch@1e;
 
index 10d0fe76ee3c16e6ffe90a57be35e77fc362fab9..2df80740d181a83e770eea4aeb9d6cd60127b630 100644 (file)
 
                gmac0: ethernet@5000 {
                        reg = <0x5000 0x1000>;
+                       phy-mode = "internal";
+
+                       fixed-link {
+                               speed = <1000>;
+                               full-duplex;
+                       };
 
                        mdio {
                                #address-cells = <1>;
 
                gmac1: ethernet@b000 {
                        reg = <0xb000 0x1000>;
+                       phy-mode = "internal";
+
+                       fixed-link {
+                               speed = <1000>;
+                               full-duplex;
+                       };
                };
 
                pmu@12000 {