Skip to content

Enable PCIe gen 2 - patch for imx6qdl.dtsi for fixed ventana revisions available? #2

@sebastian-muesch

Description

@sebastian-muesch

Hi there,

I know this is not an real issue ... but it looks like this might be a good place to ask. I have some REV F ventana boards laying around, which I want to integrate as simulated network clients in an automated testing pod. Therefor I took OpenWRT 21.02 modified/patched it for my special needs. I already managed to generate a stable build, based on kernel 5.4.168.
I needed to make changes like removing the nomsi from the kernel command line and patching some legacy drivercode to enable MSI, because I want to use Intel AX200 (as MPCIE from Alfa Networks) and the AX200 TX performance is extremely bad without MSI (30%+ packet drops). Another use-case is limited by the pcie-bandwidth on a GW5404. From what I read within the gateworks wiki, I should be able to enable Gen2 as a clock generator with the needed accuracy is integrated in all rev-f boards.
When I take a look at the needed code in pcie-imx6.c I see that it will enable gen2 if fsl,max-link-speed = <2>; is set in the devicetree. As the definition in the device-tree in imx6qdl.dtsi does not contain the external clock source in the block pcie: pcie@1ffc000 { I think it is not a wise idea to enable it.

So that leads me to the question: Is there a changed dts definition for the external clock generator available, or maybe a dts with already enabled gen2?

I hope I did not bother you
Thanks in advance
Sebastian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions