[PATCH 3/3] arm64: dts: imx943: Add fsl,max-link-speed to PCIe EP node
Stefan Ghetu
stefan.ghetu at nxp.com
Wed Dec 2 04:38:06 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.MX943 PCIe1
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 pcie1_ep node.
Fixes: fa6067fd8ea7b ("arm64: dts: imx943: Add pcie1 and pcie1-ep supports")
Signed-off-by: Stefan Ghetu <stefan.ghetu at nxp.com>
---
arch/arm64/boot/dts/freescale/imx943.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/freescale/imx943.dtsi b/arch/arm64/boot/dts/freescale/imx943.dtsi
index a564488d9cd7d..211605e29bd8c 100644
--- a/arch/arm64/boot/dts/freescale/imx943.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx943.dtsi
@@ -293,6 +293,7 @@ pcie1_ep: pcie-ep at 4c380000 {
<&scmi_clk IMX94_CLK_SYSPLL1_PFD1_DIV2>;
msi-map = <0x0 &its 0x98 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