* [PATCH] ARM: dts: BCM53573: Fix address of Luxul XAP-1440's Ethernet PHY
@ 2025-10-02 19:48 Rafał Miłecki
2025-10-06 16:09 ` Andrew Lunn
2025-10-13 22:35 ` Florian Fainelli
0 siblings, 2 replies; 5+ messages in thread
From: Rafał Miłecki @ 2025-10-02 19:48 UTC (permalink / raw)
To: Florian Fainelli
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-kernel,
devicetree, bcm-kernel-feedback-list, Rafał Miłecki
From: Rafał Miłecki <rafal@milecki.pl>
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 <rafal@milecki.pl>
---
arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts | 4 ++--
1 file changed, 2 insertions(+), 2 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 ac44c745bdf8..a39a021a3910 100644
--- a/arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts
+++ b/arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts
@@ -55,8 +55,8 @@ &gmac0 {
mdio {
/delete-node/ switch@1e;
- bcm54210e: ethernet-phy@0 {
- reg = <0>;
+ bcm54210e: ethernet-phy@25 {
+ reg = <25>;
};
};
};
--
2.51.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] ARM: dts: BCM53573: Fix address of Luxul XAP-1440's Ethernet PHY
2025-10-02 19:48 [PATCH] ARM: dts: BCM53573: Fix address of Luxul XAP-1440's Ethernet PHY Rafał Miłecki
@ 2025-10-06 16:09 ` Andrew Lunn
2025-10-06 20:34 ` Rafał Miłecki
2025-10-13 22:35 ` Florian Fainelli
1 sibling, 1 reply; 5+ messages in thread
From: Andrew Lunn @ 2025-10-06 16:09 UTC (permalink / raw)
To: Rafał Miłecki
Cc: Florian Fainelli, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
linux-arm-kernel, devicetree, bcm-kernel-feedback-list,
Rafał Miłecki
On Thu, Oct 02, 2025 at 09:48:52PM +0200, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
>
> 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 <rafal@milecki.pl>
> ---
> arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts | 4 ++--
> 1 file changed, 2 insertions(+), 2 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 ac44c745bdf8..a39a021a3910 100644
> --- a/arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts
> +++ b/arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts
> @@ -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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ARM: dts: BCM53573: Fix address of Luxul XAP-1440's Ethernet PHY
2025-10-06 16:09 ` Andrew Lunn
@ 2025-10-06 20:34 ` Rafał Miłecki
2025-10-13 22:35 ` Florian Fainelli
0 siblings, 1 reply; 5+ messages in thread
From: Rafał Miłecki @ 2025-10-06 20:34 UTC (permalink / raw)
To: Andrew Lunn
Cc: Florian Fainelli, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
linux-arm-kernel, devicetree, bcm-kernel-feedback-list,
Rafał Miłecki
W dniu 6.10.2025 o 18:09, Andrew Lunn pisze:
> On Thu, Oct 02, 2025 at 09:48:52PM +0200, Rafał Miłecki wrote:
>> From: Rafał Miłecki <rafal@milecki.pl>
>>
>> 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 <rafal@milecki.pl>
>> ---
>> arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts | 4 ++--
>> 1 file changed, 2 insertions(+), 2 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 ac44c745bdf8..a39a021a3910 100644
>> --- a/arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts
>> +++ b/arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts
>> @@ -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?
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ARM: dts: BCM53573: Fix address of Luxul XAP-1440's Ethernet PHY
2025-10-02 19:48 [PATCH] ARM: dts: BCM53573: Fix address of Luxul XAP-1440's Ethernet PHY Rafał Miłecki
2025-10-06 16:09 ` Andrew Lunn
@ 2025-10-13 22:35 ` Florian Fainelli
1 sibling, 0 replies; 5+ messages in thread
From: Florian Fainelli @ 2025-10-13 22:35 UTC (permalink / raw)
To: bcm-kernel-feedback-list, Rafał Miłecki,
Florian Fainelli
Cc: Florian Fainelli, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
linux-arm-kernel, devicetree, Rafał Miłecki
From: Florian Fainelli <f.fainelli@gmail.com>
On Thu, 2 Oct 2025 21:48:52 +0200, Rafał Miłecki <zajec5@gmail.com> wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
>
> 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 <rafal@milecki.pl>
> ---
Applied to https://github.com/Broadcom/stblinux/commits/devicetree/fixes, thanks!
--
Florian
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ARM: dts: BCM53573: Fix address of Luxul XAP-1440's Ethernet PHY
2025-10-06 20:34 ` Rafał Miłecki
@ 2025-10-13 22:35 ` Florian Fainelli
0 siblings, 0 replies; 5+ messages in thread
From: Florian Fainelli @ 2025-10-13 22:35 UTC (permalink / raw)
To: Rafał Miłecki, Andrew Lunn
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-kernel,
devicetree, bcm-kernel-feedback-list, Rafał Miłecki
On 10/6/25 13:34, Rafał Miłecki wrote:
> W dniu 6.10.2025 o 18:09, Andrew Lunn pisze:
>> On Thu, Oct 02, 2025 at 09:48:52PM +0200, Rafał Miłecki wrote:
>>> From: Rafał Miłecki <rafal@milecki.pl>
>>>
>>> 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 <rafal@milecki.pl>
>>> ---
>>> arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts | 4 ++--
>>> 1 file changed, 2 insertions(+), 2 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 ac44c745bdf8..a39a021a3910 100644
>>> --- a/arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts
>>> +++ b/arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts
>>> @@ -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?
>
> 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
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!
--
Florian
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-10-13 22:35 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-02 19:48 [PATCH] ARM: dts: BCM53573: Fix address of Luxul XAP-1440's Ethernet PHY Rafał Miłecki
2025-10-06 16:09 ` Andrew Lunn
2025-10-06 20:34 ` Rafał Miłecki
2025-10-13 22:35 ` Florian Fainelli
2025-10-13 22:35 ` Florian Fainelli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).