diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2023-07-24 12:12:27 +0200 |
---|---|---|
committer | Florian Fainelli <florian.fainelli@broadcom.com> | 2023-07-28 19:28:49 +0200 |
commit | e0ae343a2c1b782a346d9b844ea65e1d49c428b2 (patch) | |
tree | 62f499ea3bc0f8c95ffbdbe1324e59ab412ff1f8 /arch | |
parent | ARM: dts: BCM53573: Add BCM53125 switch port 5 (diff) | |
download | linux-e0ae343a2c1b782a346d9b844ea65e1d49c428b2.tar.xz linux-e0ae343a2c1b782a346d9b844ea65e1d49c428b2.zip |
ARM: dts: BCM53573: Add Ethernet interfaces links
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-810.dts | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/broadcom/bcm53573.dtsi | 12 |
3 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts b/arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts index 0f6d7fe30068..9caaba2a2bcb 100644 --- a/arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts +++ b/arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts @@ -50,6 +50,8 @@ phy-mode = "rgmii"; phy-handle = <&bcm54210e>; + /delete-node/ fixed-link; + mdio { /delete-node/ switch@1e; diff --git a/arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-810.dts b/arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-810.dts index 4e0ef0af726f..ec1ca4e97d29 100644 --- a/arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-810.dts +++ b/arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-810.dts @@ -86,6 +86,8 @@ phy-mode = "rgmii"; phy-handle = <&bcm54210e>; + /delete-node/ fixed-link; + mdio { /delete-node/ switch@1e; diff --git a/arch/arm/boot/dts/broadcom/bcm53573.dtsi b/arch/arm/boot/dts/broadcom/bcm53573.dtsi index 10d0fe76ee3c..2df80740d181 100644 --- a/arch/arm/boot/dts/broadcom/bcm53573.dtsi +++ b/arch/arm/boot/dts/broadcom/bcm53573.dtsi @@ -181,6 +181,12 @@ gmac0: ethernet@5000 { reg = <0x5000 0x1000>; + phy-mode = "internal"; + + fixed-link { + speed = <1000>; + full-duplex; + }; mdio { #address-cells = <1>; @@ -237,6 +243,12 @@ gmac1: ethernet@b000 { reg = <0xb000 0x1000>; + phy-mode = "internal"; + + fixed-link { + speed = <1000>; + full-duplex; + }; }; pmu@12000 { |