Hi Folks,
We are configuring an AGX Orin with a custom carrier to use PCIE C5 and C7 as endpoints. We are running Jetpack 5.1.2. We have been following the references:
and a host of forum posts. As far as we can tell, we are doing nothing interesting: the PCIE wiring is as close to the devkit wiring as we could make it.
No matter what we have tried, we repeatedly get an error when we configure and start an endpoint:
[ 5.866486] tegra194-pcie 141a0000.pcie_ep: Failed to get PERST GPIO: -517
[ 5.866493] tegra194-pcie 141a0000.pcie_ep: Failed to parse device tree: -517
This error also shows up with C7:
[ 5.914234] tegra194-pcie 141e0000.pcie_ep: Failed to get PERST GPIO: -517
In both cases, we have set the pinmux to GPIO input. For example:
pex_l7_rst_n_pag1 {
nvidia,pins = "pex_l7_rst_n_pag1";
nvidia,function = "rsvd1";
nvidia,pull = <TEGRA_PIN_PULL_UP>;
nvidia,tristate = <TEGRA_PIN_ENABLE>;
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
nvidia,io-high-voltage = <TEGRA_PIN_ENABLE>;
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
};
When we probe the L7 RST pin using libgpiod, it is reported as “consumed” by a “reset”. When we disable the pcie_ep device tree entry, the pin is no longer consumed:
line 157: "PAG.01" input active-low consumer="reset"
Port AG.01 is not consumed anywhere else in the device tree that we can find. We have tried installing the system using USB flash, copying the device tree to /boot/dtb, and OTA flash. Nothing seems to work. The driver fails at this point and the endpoint is never instantiated.
Your suggestions are welcome!
Thank you,
sam