For my current setup, I have enabled PCIe C7, configured the pinmux, and modified the device tree, but I am unable to establish a connection with my x1 PCIe network card, as shown below:
ODMDATA:
ODMDATA="gbe-uphy-config-0,hsstp-lane-map-3,hsio-uphy-config-0,nvhs-uphy-config-0";
device-tree:
pcie@141e0000 {
status = "okay";
vddio-pex-ctl-supply = <&vdd_1v8_ls>;
num-lanes = <8>;
phys = <&p2u_gbe_0>, <&p2u_gbe_1>, <&p2u_gbe_2>,
<&p2u_gbe_3>, <&p2u_gbe_4>, <&p2u_gbe_5>,
<&p2u_gbe_6>, <&p2u_gbe_7>;
phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3",
"p2u-4", "p2u-5", "p2u-6", "p2u-7";
};
the log:
[ 8.348950] tegra194-pcie 141e0000.pcie: Adding to iommu group 8
[ 8.350464] tegra194-pcie 141e0000.pcie: host bridge /bus@0/pcie@141e0000 ranges:
[ 8.350475] tegra194-pcie 141e0000.pcie: MEM 0x3000000000..0x3227ffffff -> 0x3000000000
[ 8.350480] tegra194-pcie 141e0000.pcie: MEM 0x3228000000..0x322fffffff -> 0x0040000000
[ 8.350483] tegra194-pcie 141e0000.pcie: IO 0x003e100000..0x003e1fffff -> 0x003e100000
[ 8.350736] tegra194-pcie 141e0000.pcie: iATU unroll: enabled
[ 8.350738] tegra194-pcie 141e0000.pcie: Detected iATU regions: 8 outbound, 2 inbound
[ 9.455901] tegra194-pcie 141e0000.pcie: Phy link never came up
[ 10.643906] tegra194-pcie 141e0000.pcie: Phy link never came up
[ 10.652916] tegra194-pcie 141e0000.pcie: PCI host bridge to bus 0007:00
[ 10.652927] pci_bus 0007:00: root bus resource [bus 00-ff]
[ 10.652931] pci_bus 0007:00: root bus resource [mem 0x3000000000-0x3227ffffff pref]
[ 10.652934] pci_bus 0007:00: root bus resource [mem 0x3228000000-0x322fffffff] (bus address [0x40000000-0x47ffffff])
[ 10.652936] pci_bus 0007:00: root bus resource [io 0x300000-0x3fffff] (bus address [0x3e100000-0x3e1fffff])
[ 10.652987] pci 0007:00:00.0: [10de:229a] type 01 class 0x060400
[ 10.653140] pci 0007:00:00.0: PME# supported from D0 D3hot
[ 10.664434] pci 0007:00:00.0: PCI bridge to [bus 01-ff]
[ 10.664464] pci 0007:00:00.0: Max Payload Size set to 256/ 256 (was 128), Max Read Rq 256
[ 10.667534] pcieport 0007:00:00.0: Adding to iommu group 8
[ 10.672217] pcieport 0007:00:00.0: PME: Signaling with IRQ 197
[ 10.703733] pcieport 0007:00:00.0: AER: enabled with IRQ 197
[ 10.750288] pci_bus 0007:01: busn_res: [bus 01-ff] is released
[ 10.754392] pci 0007:00:00.0: Removing from iommu group 8
[ 10.754582] pci_bus 0007:00: busn_res: [bus 00-ff] is released
Additional relevant information:
tree@tegra-ubuntu:~$ sudo cat /sys/kernel/debug/bpmp/debug/uphy/config
0x00000000
I can confirm the hardware wiring is correct, yet the corresponding PCIe device fails to enumerate. How can I resolve this issue?