From: Florian Fainelli <florian.fainelli@broadcom.com>
To: "Rafał Miłecki" <zajec5@gmail.com>, "Andrew Lunn" <andrew@lunn.ch>
Cc: "Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
bcm-kernel-feedback-list@broadcom.com,
"Rafał Miłecki" <rafal@milecki.pl>
Subject: Re: [PATCH] ARM: dts: BCM53573: Fix address of Luxul XAP-1440's Ethernet PHY
Date: Mon, 13 Oct 2025 15:35:36 -0700 [thread overview]
Message-ID: <0b6f0503-865e-455a-a43b-e9a53c673d92@broadcom.com> (raw)
In-Reply-To: <8f0b1ea5-6c38-4b7b-a8a0-724f7e317d65@gmail.com>
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
next prev parent reply other threads:[~2025-10-13 22:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2025-10-13 22:35 ` Florian Fainelli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0b6f0503-865e-455a-a43b-e9a53c673d92@broadcom.com \
--to=florian.fainelli@broadcom.com \
--cc=andrew@lunn.ch \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=rafal@milecki.pl \
--cc=robh@kernel.org \
--cc=zajec5@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).