I use PCIe C1 controller for a network extension chip. I adjust PCIe C1 in device tree. But there is no any device for lspci command when Xavier boot up. There are many errors as follow:
[ 0.943655] iommu: Adding device 14100000.pcie to group 0
[ 0.944521] iommu: Adding device 141a0000.pcie to group 1
[ 1.014413] GPIO line 490 (pcie-reg-enable) hogged as output/high
[ 1.014452] GPIO line 289 (pcie-reg-enable) hogged as output/high
[ 2.341820] tegra-pcie-dw 14100000.pcie: Setting init speed to max speed
[ 2.342751] OF: PCI: host bridge /pcie@14100000 ranges:
[ 2.860839] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 3.372959] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 3.884434] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 4.396456] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 4.907533] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 5.419717] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 5.931559] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 6.443507] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 6.955230] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 7.467117] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 7.978439] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 8.486675] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 8.997851] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 9.506613] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 10.018556] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 10.526628] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 11.038326] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 11.546479] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 12.054453] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 12.561983] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 13.070442] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 13.578179] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 14.086322] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 14.593459] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 15.102262] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 15.610268] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 16.118084] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 16.626003] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 17.134080] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 17.642007] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 18.150295] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 18.658035] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 19.165814] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 19.674039] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 20.181288] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 20.690129] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 21.198094] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 21.706060] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 22.214154] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 22.722148] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 23.230062] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 23.738147] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 24.246049] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 24.753093] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 25.262049] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 25.769165] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 26.278089] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 26.786125] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 27.294165] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 27.802047] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 28.310000] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 28.817113] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 29.325911] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 29.833406] tegra-pcie-dw 14100000.pcie: link is down in DLL, try again with DLFE disabled
[ 30.341727] tegra-pcie-dw 14100000.pcie: link is down
[ 30.341970] tegra-pcie-dw 14100000.pcie: PCI host bridge to bus 0001:00
[ 30.343037] pcieport 0001:00:00.0: Signaling PME through PCIe PME interrupt
[ 30.343043] pcie_pme 0001:00:00.0:pcie001: service driver pcie_pme loaded
[ 30.343158] aer 0001:00:00.0:pcie002: service driver aer loaded
[ 30.343330] pcie_pme 0001:00:00.0:pcie001: unloading service driver pcie_pme
[ 30.343373] aer 0001:00:00.0:pcie002: unloading service driver aer
[ 30.344769] tegra-pcie-dw 14100000.pcie: PCIe link is not up...!
[ 30.345379] tegra-pcie-dw 141a0000.pcie: Setting init speed to max speed
[ 30.346408] OF: PCI: host bridge /pcie@141a0000 ranges:
[ 30.858196] tegra-pcie-dw 141a0000.pcie: link is down
[ 30.858405] tegra-pcie-dw 141a0000.pcie: PCI host bridge to bus 0005:00
[ 30.859190] pcieport 0005:00:00.0: Signaling PME through PCIe PME interrupt
[ 30.859196] pcie_pme 0005:00:00.0:pcie001: service driver pcie_pme loaded
[ 30.859259] aer 0005:00:00.0:pcie002: service driver aer loaded
[ 30.859422] pcie_pme 0005:00:00.0:pcie001: unloading service driver pcie_pme
[ 30.859506] aer 0005:00:00.0:pcie002: unloading service driver aer
[ 30.861016] tegra-pcie-dw 141a0000.pcie: PCIe link is not up...!
my device tree is :
pcie@14100000 {
compatible = "nvidia,tegra194-pcie", "snps,dw-pcie";
power-domains = <0x3 0x13>;
reg = <0x0 0x14100000 0x0 0x20000 0x0 0x30000000 0x0 0x40000 0x0 0x30040000 0x0 0x40000>;
reg-names = "appl", "config", "atu_dma";
status = "okay";
#address-cells = <0x3>;
#size-cells = <0x2>;
device_type = "pci";
num-lanes = <0x1>;
linux,pci-domain = <0x1>;
clocks = <0x4 0xdd 0x4 0x140>;
clock-names = "core_clk", "core_clk_m";
resets = <0x5 0x7a 0x5 0x75>;
reset-names = "core_apb_rst", "core_rst";
interrupts = <0x0 0x2d 0x4 0x0 0x2e 0x4>;
interrupt-names = "intr", "msi";
iommus = <0x2 0x57>;
dma-coherent;
#interrupt-cells = <0x1>;
interrupt-map-mask = <0x0 0x0 0x0 0x0>;
interrupt-map = <0x0 0x0 0x0 0x0 0x1 0x0 0x2d 0x4>;
nvidia,dvfs-tbl = <0xc28cb00 0x18519600 0x2faf0800 0x4f73f740 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0>;
nvidia,max-speed = <0x1>;
nvidia,disable-aspm-states = <0xc>;
nvidia,controller-id = <0x3 0x1>;
nvidia,host1x = <0x9>;
nvidia,disable-l1-cpm;
nvidia,aux-clk-freq = <0x13>;
nvidia,preset-init = <0x5>;
nvidia,aspm-cmrt = <0x3c>;
nvidia,aspm-pwr-on-t = <0x14>;
nvidia,aspm-l0s-entrance-latency = <0x3>;
bus-range = <0x0 0xff>;
ranges = <0x81000000 0x0 0x30100000 0x0 0x30100000 0x0 0x100000 0x82000000 0x0 0x40000000 0x12 0x30000000 0x0 0x10000000 0xc2000000 0x12 0x0 0x12 0x0 0x0 0x30000000>;
nvidia,cfg-link-cap-l1sub = <0x194>;
nvidia,cap-pl16g-status = <0x164>;
nvidia,cap-pl16g-cap-off = <0x178>;
nvidia,event-cntr-ctrl = <0x1a8>;
nvidia,event-cntr-data = <0x1ac>;
nvidia,margin-port-cap = <0x180>;
nvidia,margin-lane-cntrl = <0x184>;
nvidia,dl-feature-cap = <0x2dc>;
vddio-pex-ctl-supply = <0xa>;
nvidia,enable-power-down;
phys = <0x18>;
phy-names = "pcie-p2u-0";
linux,phandle = <0xf2>;
phandle = <0xf2>;
};
fragment-pcie-c1-rp {
ids = "<2822-0000-200";
override@0 {
target = <0xf2>;
_overlay_ {
nvidia,max-speed = <0x1>;
};
};
};
fragment-pcie-older-than-p2822-B00 {
ids = "<2822-0000-400";
override@0 {
target = <0xf2>;
_overlay_ {
nvidia,disable-aspm-states = <0xf>;
};
};
override@1 {
target = <0xf3>;
_overlay_ {
delete-target-property = "nvidia,plat-gpios";
};
};
override@2 {
target = <0x13>;
_overlay_ {
pcie-reg-enable {
status = "disabled";
};
};
};
};