From: sashiko-bot@kernel.org
To: "Petko Manolov" <petko.manolov@konsulko.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v10 3/3] arm: dts: altera: add Draeger M48 CPU Module
Date: Thu, 15 Oct 2026 13:20:26 +0000 [thread overview]
Message-ID: <sashiko-outbox-172925@kernel.org> (raw)
In-Reply-To: <20261015131352.3624327-4-petko.manolov@konsulko.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] dts: socfpga: misplaced snps,dwmac-mdio compatible string breaks ethernet
--
commit 2a1e9ba4738dc175386bf567bcce3c8d3aa0f021
Author: Petko Manolov <petko.manolov@konsulko.com>
Subject: arm: dts: altera: add Draeger M48 CPU Module
This commit adds the device tree for the Altera SoCFPGA Cyclone 5 portion
of the Draeger M48 board.
> diff --git a/arch/arm/boot/dts/intel/socfpga/socfpga_cyclone5_draeger_m48.dts b/arch/arm/boot/dts/intel/socfpga/socfpga_cyclone5_draeger_m48.dts
> new file mode 100644
> index 0000000000000..f19e24c80e89a
> --- /dev/null
> +++ b/arch/arm/boot/dts/intel/socfpga/socfpga_cyclone5_draeger_m48.dts
[ ... ]
> +&gmac0 {
> + status = "okay";
> + phy-mode = "rgmii";
> + phy-handle = <ðphy>;
> +
> + mdio0 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + ethphy: ethernet-phy@0 {
> + compatible = "snps,dwmac-mdio";
[Severity: High]
Does this compatible string belong in the parent mdio0 node instead of the
PHY node?
During board boot, the STMMAC ethernet driver (stmmac_of_get_mdio()) attempts
to discover and register the MDIO bus by iterating over the MAC's direct
child nodes to find the one with the compatible = "snps,dwmac-mdio" property.
Because mdio0 lacks the compatible string, the driver fails to locate the
MDIO controller, leading to an aborted MDIO bus registration. Furthermore,
the PHY node is assigned a wrong compatible string (it should either be
omitted to let the generic PHY driver probe via PHY ID, or use a standard
PHY compatible like ethernet-phy-ieee802.3-c22).
Will this cause a complete failure of the Ethernet interface on this board?
> + reg = <0>;
> + rxc-skew-ps = <1860>;
> + rxd0-skew-ps = <0>;
> + rxd1-skew-ps = <0>;
[ ... ]
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261015131352.3624327-1-petko.manolov@konsulko.com?part=3
prev parent reply other threads:[~2026-10-15 13:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-15 13:13 [PATCH v10 0/3] arm: dts: altera: add Draeger M48 CPU board Petko Manolov
2026-10-15 13:13 ` [PATCH v10 1/3] dt-bindings: vendor-prefixes: add Draeger AG Petko Manolov
2026-10-15 13:13 ` [PATCH v10 2/3] dt-bindings: arm: altera: add Draeger M48 dual-cpu board Petko Manolov
2026-10-15 13:13 ` [PATCH v10 3/3] arm: dts: altera: add Draeger M48 CPU Module Petko Manolov
2026-10-15 13:20 ` sashiko-bot [this message]
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=sashiko-outbox-172925@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=petko.manolov@konsulko.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.