Platform Adaptation and Bring-Up
Jetson Nano Platform Adaptation and Bring-Up Guide DA_09361-002 | 14
●
host
● device
● otg
• nvidia,usb2-companion
The USB2 port (0, 1, or 2) to which the port is mapped. A port for USB3 must have
this property.
• nvidia,oc-pin
The overcurrent VBUS pin the port is using. The value must be positive or zero.
Note:
Overcurrent detection and handling for U27, the Realtek SuperSpeed hub on
the P3499 carrier board, are controlled by the hub itself. Therefore, you need
not set this property.
• vbus-supply
VBUS regulator for the corresponding UTMI pad. Set to &battery_reg for a
dummy regulator.
Note:
As the Realtek SuperSpeed hub is always connected to the root hub port on a
P3449, You need not control hub power, just enable it with VDD_HUB_3V3.
Therefore, you must set dummy regulators for U27 on the P3449 carrier
board.
For the detailed information about xusb_padctl, refer to the documentation at:
kernel/kernel-
4.9/Documentation/devicetree/bindings/pinctrl/nvidia,tegra210-
padctl.txt
As an example consider U27, the Realtek SuperSpeed hub, which is always connected to
USB2 port 1 and USB3 port 0 on the root hub. Create a pad/port node and property list
for U27 based on the device tree structure described above:
xusb_padctl: xusb_padctl@7009f000 {
...
pads {
usb2 {
status = "okay";
lanes {
...
usb2-1 {
nvidia,function = "xusb";
status = "okay";
};
...
};
};