public inbox for imx@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH V3 0/3] arm64: dts: imx: Disable PCIe by default and add overlay support for M.2 connector
@ 2026-03-25  8:31 Sherry Sun
  2026-03-25  8:31 ` [PATCH V3 1/3] arm64: dts: imx8mp-evk: Disable PCIe bus in the default dts Sherry Sun
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sherry Sun @ 2026-03-25  8:31 UTC (permalink / raw)
  To: Frank.Li, s.hauer, kernel, festevam, robh, krzk+dt, conor+dt,
	hongxing.zhu
  Cc: imx, linux-arm-kernel, devicetree, linux-kernel

On both i.MX8MP EVK and i.MX95-15x15 EVK boards, the M.2 connector
shares a common regulator between USDHC (for SDIO WiFi) and PCIe
controllers. The non-deterministic probe order between these two
buses can break the PCIe initialization sequence, causing PCIe
devices to fail detection intermittently.

The out-of-box module on i.MX8MP EVK and i.MX95-15x15 EVK are SDIO
WiFi (IW612), this series changes the default configuration to
match the out-of-box hardware (SDIO WiFi) and provides a device
tree overlay for users who need PCIe functionality:
1. Disable PCIe in the default device tree
2. Keep USDHC enabled for SDIO WiFi
3. Add 'm2_usdhc' label to support overlay
4. Provide a common overlay (imx-m2-pcie.dtso) to enable PCIe and
   disable USDHC when needed

---
Changes in V3:
1. Add a common overlay imx-m2-pcie.dtso for both i.MX8MP EVK and
   i.MX95-15x15 EVK. 
2. Add 'm2_usdhc' label to support overlay.

Changes in V2:
1. Improve the commit message to clarify SDIO WiFi is the out-of-box
   module on i.MX8MP EVK and i.MX95-15x15 EVK.
---
Sherry Sun (3):
  arm64: dts: imx8mp-evk: Disable PCIe bus in the default dts
  arm64: dts: imx95-15x15-evk: Disable PCIe bus in the default dts
  arm64: dts: imx: Add common imx-m2-pcie.dtso to enable PCIe on M.2
    connector

 arch/arm64/boot/dts/freescale/Makefile            |  9 +++++++--
 arch/arm64/boot/dts/freescale/imx-m2-pcie.dtso    | 15 +++++++++++++++
 arch/arm64/boot/dts/freescale/imx8mp-evk.dts      |  4 ++--
 arch/arm64/boot/dts/freescale/imx95-15x15-evk.dts |  4 ++--
 4 files changed, 26 insertions(+), 6 deletions(-)
 create mode 100644 arch/arm64/boot/dts/freescale/imx-m2-pcie.dtso

-- 
2.37.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-03-25  8:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-25  8:31 [PATCH V3 0/3] arm64: dts: imx: Disable PCIe by default and add overlay support for M.2 connector Sherry Sun
2026-03-25  8:31 ` [PATCH V3 1/3] arm64: dts: imx8mp-evk: Disable PCIe bus in the default dts Sherry Sun
2026-03-25  8:32 ` [PATCH V3 2/3] arm64: dts: imx95-15x15-evk: " Sherry Sun
2026-03-25  8:32 ` [PATCH V3 3/3] arm64: dts: imx: Add common imx-m2-pcie.dtso to enable PCIe on M.2 connector Sherry Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox