How to configure AGX Orin PCIE controller C7 as endpoint

After you change to config #2 . Go to device tree and set the PCIe C7 node with ep suffix as enabled.
Also, disable the PCIe C7 RP node.