Skip to contentSkip to conversation

arm64: dts: freescale: imx8mm-var-dart-sonata: Fix PCIe PHY init

PATCH Applied Stefano Radaelli 2 participants 2 messages Oct 26 – Nov 5

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: freescale: imx8mm-var-dart-sonata: Fix PCIe PHY init

From: Stefano Radaelli <[email protected]>

The PCIe PHY times out during initialization on the DART-MX8M Mini with the Sonata carrier, preventing PCIe device enumeration.

Add fsl,clkreq-unsupported to configure the PHY for operation without CLKREQ# support. This makes the PHY driver clear AUX_EN_OVERRIDE, allowing PHY initialization to complete.

Fixes 770aba46ea0f ("arm64: dts: imx8mm-var-dart: Add support for Variscite Sonata board")
---
 arch/arm64/boot/dts/freescale/imx8mm-var-dart-sonata.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/freescale/imx8mm-var-dart-sonata.dts +1 -0
index 57d29a5c3821..ccc81e5b3d36 100644
@@ -267,6 +267,7 @@ &pcie_phy {
 	fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
 	fsl,tx-deemph-gen1 = <0x2d>;
 	fsl,tx-deemph-gen2 = <0xf>;
+	fsl,clkreq-unsupported;
 	clocks = <&pcie0_refclk>;
 	status = "okay";
 };
Signature · 1 line
2.47.3
#1 lore raw

From: Frank Li <[email protected]>

Quoted 8 lines · Stefano Radaelli

The PCIe PHY times out during initialization on the DART-MX8M Mini with the Sonata carrier, preventing PCIe device enumeration.

Add fsl,clkreq-unsupported to configure the PHY for operation without CLKREQ# support. This makes the PHY driver clear AUX_EN_OVERRIDE, allowing PHY initialization to complete.

[...]

Applied, thanks!

[1/1] arm64: dts: freescale: imx8mm-var-dart-sonata: Fix PCIe PHY init

      commit: 7f7556b5b09c1287cfa3cd3325547a4eb897f4c0

Best regards,

Signature · 1 line
Frank Li <[email protected]>