Usb2-0 修改otg为主模式

hi,
jetpack5.1.2 + jetson xavier NX .
我们自定义的底板,将otg用来作为普通USB使用,我在jetpack4.6 中将tegra194-p3668-common.dtsi中的mode = “otg” 修改为host,就可以将otg转化为普通USB(插上鼠标键盘可以使用),可是在Jp5.1.2中也进行修改为host,刷完系统并没有达到修改的目的(不能识别鼠标键盘)。是不是还需要修改某些地方才可以?谢谢!

please refer to

https://docs.nvidia.com/jetson/archives/r35.4.1/DeveloperGuide/text/HR/JetsonModuleAdaptationAndBringUp/JetsonAgxOrinSeries.html?highlight=pci#porting-the-universal-serial-bus

你好WayneWWW
按照文档,修改如下:
mode = “host”
vbus-gpio = <&tegra_main_gpio TEGRA194_MAIN_GPIO(Z, 1) GPIO_ACTIVE_HIGH>
但是刷入系统后,该接口并不是host模式,cat /sys/kernel/debug/gpio 结果如下:


谢谢!