Clearfog pro mpcie0 with 4 lane

Hy,
I seen this topic for the model base : https://community.solid-run.com/t/clearfog-base-cn9130-pcie0-4-lane-configuration/279

But i didn’t find the anwser :slight_smile:

I would like to increase the number of lanes for mpcie0 to use wifi 6e card.

/* SRDS #4 - mini PCIe slot near SOM */
&cp0_pcie1 {
	status = "okay";
	phys = <&cp0_comphy4 1>;
	num-lanes = <4>;
	reset-gpios = <&expander0 2 GPIO_ACTIVE_LOW>;
};

/* SRDS #5 - mini PCIe slot far from SOM */
&cp0_pcie2 {
	status = "okay";
	phys = <&cp0_comphy5 2>;
	num-lanes = <1>;
	reset-gpios = <&expander0 1 GPIO_ACTIVE_LOW>;
};

I tried to modify the dts but it doesn’t work :

# sudo lspci -vv | grep -P "[0-9a-f]{2}:[0-9a-f]{2}\.[0-9a-f]|LnkSta:"
0000:00:00.0 PCI bridge: Marvell Technology Group Ltd. 88F8040 PCI Express controller (prog-if 00 [Normal decode])
                LnkSta: Speed 2.5GT/s (downgraded), Width x1 (ok)
0000:01:00.0 Network controller: Qualcomm Atheros QCA986x/988x 802.11ac Wireless Network Adapter
                LnkSta: Speed 2.5GT/s (ok), Width x1 (ok)
0001:00:00.0 PCI bridge: Marvell Technology Group Ltd. 88F8040 PCI Express controller (prog-if 00 [Normal decode])
                LnkSta: Speed 2.5GT/s (downgraded), Width x1 (ok)
#

Thanks by advance

As a standard mini-PCIe only supports a single PCIe lane. Only m.2 connectors support up to 4 lanes.

Hy
Thank you for your answer :slight_smile:

A single PCIe gen 3 lane effectively supports up to 984 MB/s per lane. Even with protocol overhead that is still more than enough bandwidth to support even the fastest wireless protocols.

hy

I tested with a rj45 2.5gbps, connected in the pcie.

Good surprise :slight_smile: