ARM: dts: BCM53573: Fix address of Luxul XAP-1440's Ethernet PHY
Subsystems (2)
PATCH 1/1 ARM: dts: BCM53573: Fix address of Luxul XAP-1440's Ethernet PHY
From: Rafał Miłecki <[email protected]>
Luxul XAP-1440 has BCM54210E PHY at address 25.
--- arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts +2 -2
@@ -55,8 +55,8 @@ &gmac0 { mdio { /delete-node/ switch@1e; - bcm54210e: ethernet-phy@0 { - reg = <0>; + bcm54210e: ethernet-phy@25 { + reg = <25>; }; }; };
Signature · 1 line
2.51.0
Quoted 15 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
Luxul XAP-1440 has BCM54210E PHY at address 25.
Fixes 44ad82078069 ("ARM: dts: BCM53573: Fix Ethernet info for Luxul devices")Signed-off-by Rafał Miłecki <[email protected]>--- arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts +0
-0
arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts &gmac0 { · line 59
Quoted 7 lines
arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts +2
-2@@ -55,8 +55,8 @@ &gmac0 { mdio { /delete-node/ switch@1e; - bcm54210e: ethernet-phy@0 { - reg = <0>; + bcm54210e: ethernet-phy@25 { + reg = <25>;
Does this really not work, or is it relying on the PHY responding to 0 as a broadcast address?
Thanks
Andrew
W dniu 6.10.2025 o 18:09, Andrew Lunn pisze:
Quoted 19 lines · Rafał Miłecki
Quoted 18 lines
From: Rafał Miłecki <[email protected]>
Luxul XAP-1440 has BCM54210E PHY at address 25.
Fixes 44ad82078069 ("ARM: dts: BCM53573: Fix Ethernet info for Luxul devices")Signed-off-by Rafał Miłecki <[email protected]>--- arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts +0
-0@@ -55,8 +55,8 @@ &gmac0 { mdio { /delete-node/ switch@1e;
Quoted 7 lines
arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts &gmac0 { · line 59
Quoted 4 lines
arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts +2
-2- bcm54210e: ethernet-phy@0 { - reg = <0>; + bcm54210e: ethernet-phy@25 { + reg = <25>;Does this really not work, or is it relying on the PHY responding to 0 as a broadcast address?
Invalid PHY address was breaking Linux's support for Ethernet device.
Before this change:
[ 0.986560] bgmac_bcma bcma0:5: Found PHY addr: 25 [ 0.991913] mdio_bus bcma_mdio-0-0: MDIO device at address 0 is missing. [ 1.024512] libphy: PHY bcma_mdio-0-0:19 not found [ 1.029358] bgmac_bcma bcma0:5: PHY connection failed [ 1.034514] bgmac_bcma bcma0:5: Cannot connect to phy
Florian Fainelli
maintainerQuoted 27 lines · Rafał Miłecki
W dniu 6.10.2025 o 18:09, Andrew Lunn pisze:
Quoted 11 lines · Rafał Miłecki
Quoted 10 lines
From: Rafał Miłecki <[email protected]>
Luxul XAP-1440 has BCM54210E PHY at address 25.
Fixes 44ad82078069 ("ARM: dts: BCM53573: Fix Ethernet info for Luxul devices")Signed-off-by Rafał Miłecki <[email protected]>---
arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts| 4 ++--1 file changed, 2 insertions(+), 2 deletions(-)Quoted 14 lines
arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts &gmac0 { · line 58
Quoted 11 lines
arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts +2
-2@@ -55,8 +55,8 @@ &gmac0 { mdio { /delete-node/ switch@1e; - bcm54210e: ethernet-phy@0 { - reg = <0>; + bcm54210e: ethernet-phy@25 { + reg = <25>;Does this really not work, or is it relying on the PHY responding to 0 as a broadcast address?
Quoted 8 lines
Invalid PHY address was breaking Linux's support for Ethernet device.
Before this change:
[ 0.986560]bgmac_bcmabcma0:5: Found PHY addr: 25
[ 0.991913]mdio_busbcma_mdio-0-0: MDIO device at address 0 is missing. [ 1.024512] libphy: PHY bcma_mdio-0-0:19 not found
[ 1.029358]bgmac_bcmabcma0:5: PHY connection failed
[ 1.034514]bgmac_bcmabcma0:5: Cannot connect to phy
OK, so the SPROM told us the PHY was at address 25, but when we went on to identify the PHY at address 0, there was none, and so we could not connect to the PHY, that makes sense to me. Applied!
Signature · 1 line
Florian
From: Florian Fainelli <[email protected]>
Quoted 7 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
Luxul XAP-1440 has BCM54210E PHY at address 25.
Fixes 44ad82078069 ("ARM: dts: BCM53573: Fix Ethernet info for Luxul devices")Signed-off-by Rafał Miłecki <[email protected]>---
Applied to https://github.com/Broadcom/stblinux/commits/devicetree/fixes, thanks! --
Florian