Hi,
For host/device mode switch, please check [For an OTG (On-The-GO) Port] in adaptation guide:
If you run in host mode only, you can simple set
usb2-0 {
status = "okay";
<b>mode = "host";</b>
vbus-supply = <&vdd_usb0_5v>;
nvidia,oc-pin = <0>;
};
disable xudc@3550000
xudc@3550000 {
<b>status = "disabled";</b>
...
};
and remove extcon-* in xhci@3530000
xhci@3530000 {
<s>extcon-cables = <&vbus_id_extcon 1>;</s>
<s>extcon-cable-names = "id";</s>
<s>#extcon-cells = <1>;</s>
...
};