[PATCH 2/3] arm64: dts: imx94: Add fsl,max-link-speed to PCIe EP node
Stefan Ghetu
stefan.ghetu at nxp.com
Wed Dec 2 04:38:05 PST 2026
The pci-imx6 driver initializes pci->max_link_speed to 1 and only
overrides it from the fsl,max-link-speed property. The i.MX94 PCIe EP
node does not set this property.
During endpoint initialization, dw_pcie_ep_init_registers() calls
dw_pcie_setup() through dw_pcie_ep_init_non_sticky_registers(), and
dw_pcie_link_set_max_speed() then programs PCI_EXP_LNKCTL2_TLS and
PCI_EXP_LNKCAP_SLS to 2.5 GT/s. As a result, the endpoint is limited
to Gen1.
The RC node of the same controller already sets
fsl,max-link-speed = <3>. Add the same setting to the pcie0_ep node.
Fixes: 8cd439f177589 ("arm64: dts: imx94: Add pcie0 and pcie0-ep supports")
Signed-off-by: Stefan Ghetu <stefan.ghetu at nxp.com>
---
arch/arm64/boot/dts/freescale/imx94.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/freescale/imx94.dtsi b/arch/arm64/boot/dts/freescale/imx94.dtsi
index b2bfe651b7be1..b3ddc7c796701 100644
--- a/arch/arm64/boot/dts/freescale/imx94.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx94.dtsi
@@ -1469,6 +1469,7 @@ pcie0_ep: pcie-ep at 4c300000 {
<&scmi_clk IMX94_CLK_SYSPLL1_PFD1_DIV2>;
msi-map = <0x0 &its 0x10 0x1>;
power-domains = <&scmi_devpd IMX94_PD_HSIO_TOP>;
+ fsl,max-link-speed = <3>;
status = "disabled";
};
--
2.53.0
More information about the linux-arm-kernel
mailing list