Platform Adaptation and Bring-Up
Jetson Nano Platform Adaptation and Bring-Up Guide DA_09361-002 | 22
Under the xusb_padctl Node
xusb_padctl settings for an OTG port are the same as for a host-only port except that
the mode must be otg.
For the example of J28, the USB 2.0 Micro B connector, create a pad/port node and
property list:
xusb_padctl: xusb_padctl@7009f000 {
...
pads {
usb2 {
lanes {
usb2-0 {
nvidia,function = "xusb";
status = "okay";
};
...
};
};
pcie {
lanes {
...
};
};
};
ports {
usb2-0 {
mode = "otg";
vbus-supply = <&p3449_vdd_usb_vbus>;
status = "okay";
};
...
};
};
Under the xHCI Node
The xHCI settings for an OTG port are the same as for a host-only port except for these
additional extcon settings:
• extcon-cables
OTG support. Must contain a pointer to the extcon-cable entry for the USB ID
pin. When the extcon cable state is 0, the OTG port transitions to the host role.
• extcon-cable-names
Must be id.
• #extcon-cells