How to enable PCIE3 with Orin Nano

image
As shown in the figure above, we want to use this PCIe lane to connect a WiFi module. How do we enable this PCIe lane in the device tree? I tried adding the following to the device tree:

           pcie@14140000 {
                status = "okay";

                vddio-pex-ctl-supply = <&vdd_1v8_ao>;

                phys = <&p2u_gbe_4>;
                phy-names = "p2u-0";
            };

However, it is unclear which PHY this should correspond to, and no similar references were found in other device trees. For more details, please refer to the attached kernel log and assist in reviewing it.
dmesg.txt (77.5 KB)

What you are trying to enable is PCIE C9 so that is not pcie@14140000.

Modifying ODMDATA with gbe-uphy-config-9 will enabled C9 by our overlay dtbo by default.

I add like this:

	pcie@141e0000 {
		status = "okay";

		vddio-pex-ctl-supply = <&vdd_1v8_ao>;

		phys = <&p2u_gbe_0>;
		phy-names = "p2u-0";
	};

	pcie@140c0000 {
		status = "okay";

		vddio-pex-ctl-supply = <&vdd_1v8_ao>;

		phys = <&p2u_gbe_1>;
		phy-names = "p2u-0";
	};

and it works now. Thank you for help

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.