[PATCH 2/3] arm64: dts: imx94: Add fsl,max-link-speed to PCIe EP node
Frank Li
Frank.li at oss.nxp.com
Wed Dec 2 09:12:39 PST 2026
On Wed, Dec 02, 2026 at 02:38:05PM +0200, Stefan Ghetu wrote:
> 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>
> ---
This should put default value into imx6 pci driver data without duplicate
these information at each dts pcie node.
Frank
More information about the linux-arm-kernel
mailing list