From: Frank Li <Frank.li@oss.nxp.com>
To: sashiko-reviews@lists.linux.dev
Cc: Stefano Radaelli <stefano.radaelli21@gmail.com>,
imx@lists.linux.dev, Frank.Li@kernel.org,
devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v5 2/3] arm64: dts: freescale: Add support for Variscite DART-MX8M-PLUS
Date: Mon, 29 Jun 2026 12:48:37 -0400 [thread overview]
Message-ID: <akKh5XbMS_JjGpPF@lizhi-Precision-Tower-5810> (raw)
In-Reply-To: <20260609100729.C9FF21F00893@smtp.kernel.org>
On Tue, Jun 09, 2026 at 10:07:29AM +0000, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
> - [Medium] The eqos pinctrl group claims GPIO2_IO20 but no driver or regulator uses it, potentially breaking Ethernet or SD2.
> - [Medium] Bluetooth control GPIOs are muxed but not assigned to the bluetooth node, leaving the chip in an uncontrolled state.
> --
>
> commit 7c8394d85e349e14bbf3796b542f8e133683dff3
> Author: Stefano Radaelli <stefano.r@variscite.com>
>
> arm64: dts: freescale: Add support for Variscite DART-MX8M-PLUS
>
> Add device tree support for the Variscite DART-MX8MP system on module.
> This SOM is designed to be used with various carrier boards.
>
> Link: https://variscite.com/system-on-module-som/i-mx-8/i-mx-8m-plus/dart-mx8m-plus/
>
> > diff --git a/arch/arm64/boot/dts/freescale/imx8mp-var-dart.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-var-dart.dtsi
> > new file mode 100644
> > index 0000000000000..a647a2e0ab94b
> > --- /dev/null
> > +++ b/arch/arm64/boot/dts/freescale/imx8mp-var-dart.dtsi
>
> [ ... ]
>
> > +/* BT module */
> > +&uart4 {
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&pinctrl_uart4>, <&pinctrl_bt>;
> > + assigned-clocks = <&clk IMX8MP_CLK_UART4>;
> > + assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>;
> > + uart-has-rtscts;
> > + status = "okay";
> > +
> > + bluetooth_iw61x: bluetooth {
> > + compatible = "nxp,88w8987-bt";
> > + };
>
> [Severity: Medium]
> The pinctrl_bt group configures GPIO2_IO06 and GPIO2_IO09 as GPIOs and attaches
> them to uart4, but this bluetooth_iw61x node does not map these pins to any
> properties like device-wakeup-gpios or reset-gpios.
Please check it, look like make sense
>
> Will the kernel driver fail to toggle these pins, leaving the chip in an
> uncontrolled state? Is it relying on bootloader defaults or userspace sysfs
> toggling for these pins?
>
> > +};
>
> [ ... ]
>
> > + pinctrl_eqos: eqosgrp {
> > + fsl,pins = <
> > + MX8MP_IOMUXC_ENET_MDC__ENET_QOS_MDC 0x2
> > + MX8MP_IOMUXC_ENET_MDIO__ENET_QOS_MDIO 0x2
> > + MX8MP_IOMUXC_ENET_RD0__ENET_QOS_RGMII_RD0 0x90
> > + MX8MP_IOMUXC_ENET_RD1__ENET_QOS_RGMII_RD1 0x90
> > + MX8MP_IOMUXC_ENET_RD2__ENET_QOS_RGMII_RD2 0x90
> > + MX8MP_IOMUXC_ENET_RD3__ENET_QOS_RGMII_RD3 0x90
> > + MX8MP_IOMUXC_ENET_RXC__CCM_ENET_QOS_CLOCK_GENERATE_RX_CLK 0x90
> > + MX8MP_IOMUXC_ENET_RX_CTL__ENET_QOS_RGMII_RX_CTL 0x90
> > + MX8MP_IOMUXC_ENET_TD0__ENET_QOS_RGMII_TD0 0x16
> > + MX8MP_IOMUXC_ENET_TD1__ENET_QOS_RGMII_TD1 0x16
> > + MX8MP_IOMUXC_ENET_TD2__ENET_QOS_RGMII_TD2 0x16
> > + MX8MP_IOMUXC_ENET_TD3__ENET_QOS_RGMII_TD3 0x16
> > + MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x16
> > + MX8MP_IOMUXC_ENET_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK 0x16
> > + MX8MP_IOMUXC_SD2_WP__GPIO2_IO20 0x10
>
> [Severity: Medium]
> The pinctrl_eqos node configures MX8MP_IOMUXC_SD2_WP__GPIO2_IO20 as a GPIO, but
> there is no corresponding regulator or driver property that requests this GPIO.
>
> Could this unnecessarily block GPIO2_IO20 and cause a pin conflict for any
> carrier board that attempts to use it (for example, for usdhc2 write protect)?
> Was this possibly a copy-paste error from imx8mp-var-som.dtsi?
Look like make sense, are you really use GPIO2_IO20 for eqos?
Frank
>
> > + MX8MP_IOMUXC_SD1_STROBE__GPIO2_IO11 0x150
> > + >;
> > + };
>
> --
> Sashiko AI review · https://sashiko.dev/#/patchset/cover.1780998600.git.stefano.r@variscite.com?part=2
next prev parent reply other threads:[~2026-06-29 16:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-09 9:51 [PATCH v5 0/3] Add support for Variscite DART-MX8M-PLUS and Sonata board Stefano Radaelli
2026-06-09 9:51 ` [PATCH v5 1/3] dt-bindings: arm: fsl: add Variscite DART-MX8M PLUS Boards Stefano Radaelli
2026-06-09 16:15 ` Conor Dooley
2026-06-09 18:35 ` Stefano Radaelli
2026-06-09 9:51 ` [PATCH v5 2/3] arm64: dts: freescale: Add support for Variscite DART-MX8M-PLUS Stefano Radaelli
2026-06-09 10:07 ` sashiko-bot
2026-06-29 16:48 ` Frank Li [this message]
2026-07-01 8:48 ` Stefano Radaelli
2026-06-09 9:51 ` [PATCH v5 3/3] arm64: dts: imx8mp-var-dart: Add support for Variscite Sonata board Stefano Radaelli
2026-06-29 16:52 ` Frank Li
2026-07-06 15:27 ` [PATCH v5 0/3] Add support for Variscite DART-MX8M-PLUS and " Frank.Li
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=akKh5XbMS_JjGpPF@lizhi-Precision-Tower-5810 \
--to=frank.li@oss.nxp.com \
--cc=Frank.Li@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=imx@lists.linux.dev \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=stefano.radaelli21@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