From: sashiko-bot@kernel.org
To: "Dawid Glazik" <dawid.glazik@linux.intel.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v5 2/3] ARM: dts: aspeed: Add Intel AVCRP BMC
Date: Mon, 09 Nov 2026 17:05:02 +0000 [thread overview]
Message-ID: <sashiko-outbox-205268@kernel.org> (raw)
In-Reply-To: <ee6958ba4b93cde4719fbac89c4027964c2236bc.1794242015.git.dawid.glazik@linux.intel.com>
Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [High] ARM: dts: aspeed: avcrp: uart3/4 pinmux conflicts and pinctrl
GPIO names
- [Low] ARM: dts: aspeed: avcrp: unnecessary RMII RCLK clock specified
on RGMII mac1
--
commit 60b4388d543f21749b3a54e80fb2aad89bf0d6d7
Author: Dawid Glazik <dawid.glazik@linux.intel.com>
ARM: dts: aspeed: Add Intel AVCRP BMC
This commit adds the device tree for the Intel AVCRP BMC platform based on
the ASPEED AST2600 SoC.
> diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts
> new file mode 100644
> index 0000000000000..eb73d64412228
> --- /dev/null
> +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts
[ ... ]
> +&gpio0 {
> + gpio-line-names =
> + /*A0-A7*/ "", "", "", "", "SMB_CPU_PIROM_SCL", "SMB_CPU_PIROM_SDA",
> + "SMB_IPMB_STBY_LVC3_SCL", "SMB_IPMB_STBY_LVC3_SDA",
> + /*B0-B7*/ "", "", "", "FM_CPU1_ERR2_LVT3_N", "", "",
> + "FM_BMC_BMCINIT_R", "FP_ID_LED_N",
[ ... ]
> + /*L0-L7*/ "", "", "", "", "PREQ_N", "TCK_MUX_SEL", "", "",
> + /*M0-M7*/ "", "", "", "", "", "", "SPA_SOUT", "SPA_SIN",
[ ... ]
> +&mac1 {
> + clocks = <&syscon ASPEED_CLK_GATE_MAC2CLK>,
> + <&syscon ASPEED_CLK_MAC2RCLK>;
> + clock-names = "MACCLK", "RCLK";
> + phy-handle = <ðphy1>;
> + phy-mode = "rgmii-id";
> + pinctrl-0 = <&pinctrl_rgmii2_default>;
> + pinctrl-names = "default";
> +
> + status = "okay";
> +};
[Severity: Low]
Does &mac1 need the second clock entry here? In aspeed-g6.dtsi, &mac1
already sets clocks to ASPEED_CLK_GATE_MAC2CLK, and the optional second
clock (ASPEED_CLK_MAC2RCLK) gates the 50MHz reference clock output for
rmii mode, which is unused when phy-mode is "rgmii-id".
[ ... ]
> +&uart1 {
> + status = "okay";
> +};
> +
> +&uart3 {
> + status = "okay";
> +};
> +
> +&uart4 {
> + status = "okay";
> +};
> +
> +&uart5 {
> + status = "okay";
> +};
> +
> +&uart_routing {
> + status = "okay";
> +};
[Severity: High]
Should &uart3 and &uart4 override pinctrl-0 = <>; when used with
&uart_routing on this board?
In aspeed-g6.dtsi, &uart3 defaults to pinctrl_txd3_default and
pinctrl_rxd3_default (pins L4 and L5), and &uart4 defaults to
pinctrl_txd4_default and pinctrl_rxd4_default (pins B6 and B7). Without
clearing pinctrl-0, probing &uart3 and &uart4 muxes those balls away from
&gpio0, driving serial tx onto the board lines named in gpio-line-names on
B6 and L4 and causing gpio requests on B6, B7, L4 and L5 to fail with
-EINVAL under strict pinmux.
In addition, &gpio0 still sets gpio-line-names on pins A4-A7 and M6-M7,
which are claimed by the default pinctrl of &i2c12, &i2c13 and &uart1.
--
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1794242015.git.dawid.glazik@linux.intel.com?part=2
next prev parent reply other threads:[~2026-11-09 17:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-09 17:41 [PATCH v5 0/3] arm: dts: aspeed: Add Intel AVCRP and JNCRP BMC platforms Dawid Glazik
2026-11-09 17:41 ` [PATCH v5 1/3] dt-bindings: arm: aspeed: Add Intel AVCRP and JNCRP boards Dawid Glazik
2026-11-09 17:41 ` [PATCH v5 2/3] ARM: dts: aspeed: Add Intel AVCRP BMC Dawid Glazik
2026-11-09 17:05 ` sashiko-bot [this message]
2026-11-10 5:53 ` Andrew Jeffery
2026-11-10 16:42 ` Dawid Glazik
2026-11-11 1:49 ` Andrew Jeffery
2026-11-09 17:41 ` [PATCH v5 3/3] ARM: dts: aspeed: Add Intel JNCRP BMC Dawid Glazik
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-205268@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=dawid.glazik@linux.intel.com \
--cc=devicetree@vger.kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox