Hello everone,
I have a problme to enable USB3.0, generall to enable the second USB port, on TX1 with the latest L4T 32.2.
I found a patch but only for L4T 28 Version. It does not work with L4T 32.2.
I would appreciate if someone can explain me what changes I should do to get usb to work!
Thank you in advance!
The patch for TX1 L4T 28.
pcie {
nvidia,lanes = <b>"uphy-lane-4";</b>
nvidia,function = "pcie";
nvidia,pcie-controller = <0x0>;
nvidia,pcie-lane-select = <0x0>;
};
pcie-m2 {
nvidia,lanes = "uphy-lane-0";
nvidia,function = "pcie";
nvidia,pcie-controller = <0x1>;
nvidia,pcie-lane-select = <0x1>;
<b>status = "disabled";</b>
};
[b]usb2-m2 {
nvidia,lanes = "otg-3";
nvidia,function = "xusb";
nvidia,port-cap = <0x1>;
};
usb3-m2 {
nvidia,lanes = "uphy-lane-0";
nvidia,function = "usb3";
nvidia,usb3-port = <0x2>;
nvidia,usb2-map = <0x3>;
nvidia,port-cap = <0x1>;
};[/b]
sata {
nvidia,lanes = "uphy-lane-7";
nvidia,function = "sata";
};
};
};
xusb@70090000 {
compatible = "nvidia,tegra210-xhci";
reg = <0x0 0x70090000 0x0 0x8000 0x0 0x70098000 0x0 0x1000 0x0 0x70099000 0x0 0x1000>;
interrupts = <0x0 0x27 0x4 0x0 0x28 0x4 0x0 0x31 0x4>;
nvidia,xusb-padctl = <0x68>;
clocks = <0x41 0x59 0x41 0x11d 0x41 0x9c 0x41 0x11f 0x41 0x122 0x41 0x11e 0x41 0xff 0x41 0xe9 0x41 0x107>;
clock-names = "xusb_host", "xusb_falcon_src", "xusb_ss", "xusb_ss_src", "xusb_hs_src", "xusb_fs_src", "pll_u_480m", "clk_m", "pll_e";
iommus = <0x4b 0x14>;
status = "okay";
hvdd_usb-supply = <0x67>;
avdd_pll_utmip-supply = <0x56>;
vddio_hsic-supply = <0x60>;
avddio_usb-supply = <0x62>;
dvdd_sata-supply = <0x63>;
avddio_pll_uerefe-supply = <0x61>;
extcon-cables = <0x5f 0x1>;
extcon-cable-names = "id";
#extcon-cells = <0x1>;
[b] phys = <0x5b 0x12 0x5b 0x1 0x5b 0x11 0x5b 0x0 0x5b 0x10 0x5b 0x2 0x5b 0x13>;
phy-names = "utmi-2", "usb3-1", "utmi-1", "usb3-0", "utmi-0", "usb3-2", "utmi-3";[/b]
nvidia,pmc-wakeup = <0x58 0x1 0x27 0x4 0x58 0x1 0x29 0x4 0x58 0x1 0x2c 0x4>;
nvidia,boost_cpu_freq = <0x4b0>;
};
Here the output of lsusb:
lsusb
Bus 002 Device 002: ID 0955:09ff NVidia Corp.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 5000M
|__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/5p, 480M