The module is used as EP mode to control which PINs need to be controlled

At present, only the POWER_EN PIN is pulled up to 5V, and the device tree is changed to EP mode, but the master still does not recognize the module.

Hi,

please try to elaborate your question more clearly. Not sure what you want to ask here.

麻煩詳述一下你的問題. 現在這個敘述看不是很懂你想表達什麼

你好,

目前我们的主控无法枚举到Jetson_Xavier_NX这个设备,Jetson_Xavier_NX已经烧录固件,设备树已配置成EP模式,外部信号只上拉了POWER_EN到5V,请问还需要控制些什么信号才能使我们的主设备识别到Jetson_Xavier_NX模组?或者系统上还需要配置些什么模式?

Hi,

抱歉, 你的回應只是把你的問題從英文翻成中文. 資訊量還是沒有增加.
我直接講明白一點好了
請問你的EP mode是指什麼? 什麼介面? PCIe EP? USB device mode? 還是你再說其他的東西?
Master指的是什麼?

你用的是哪一版BSP-> Jetpack 多少?
你的硬體設計是怎樣? 自己做底板還是我們的devkit?

我們希望把PCIE0_TX/RX0和PCIE0_TX/RX1配置成EP模式,主控平臺是RK3568,使用的是Jetson_Linux_R35.3.1_aarch64.tbz2。

ok. 請問你目前如何配置成PCIe EP mode? 我說軟體部份

kernel/dtb/tegra194-p3668-p3509-overlay.dtbo,
fragment-pcie-c5-ep-enable@9 {
target-path = “/”;
board_config {
odm-data = “pcie-c5-endpoint-enable”;
};
overlay {
pcie@141a0000 {
status = “disabled”;
};
pcie_ep@141a0000 {
status = “okay”;
};
};
};

這個是我們參考了論壇中其他工程師的配置,在你們的底板中看讀取log是EP模式,但是在我們的底板中無法識別。

麻煩附上dmesg.

Jetson_dmesg.txt (70.6 KB)

主控上有關PCIE的dmesg如下
[ 0.222310] rk-pcie 3c0800000.pcie: Looking up vpcie3v3-supply from device tree
[ 0.222324] rk-pcie 3c0800000.pcie: Looking up vpcie3v3-supply property in node /pcie@fe280000 failed
[ 0.222335] rk-pcie 3c0800000.pcie: no vpcie3v3 regulator found
[ 0.234438] rk-pcie 3c0800000.pcie: missing legacy IRQ resource
[ 0.234471] rk-pcie 3c0800000.pcie: Missing config reg space
[ 0.234490] rk-pcie 3c0800000.pcie: host bridge /pcie@fe280000 ranges:
[ 0.234516] rk-pcie 3c0800000.pcie: err 0xf0000000… 0xf00fffff → 0xf0000000
[ 0.234538] rk-pcie 3c0800000.pcie: IO 0xf0100000… 0xf01fffff → 0xf0100000
[ 0.234562] rk-pcie 3c0800000.pcie: MEM 0xf0200000… 0xf1ffffff → 0xf0200000
[ 0.234580] rk-pcie 3c0800000.pcie: MEM 0x380000000… 0x3bfffffff → 0x380000000

我們的配置參考論壇該連結