USB3.0 Can not bring up without USB 2.0

Hi WayneWWW

I have a big problem. USB3.0 can not bring up

Direct firmware load for tegra18x_xusb_firmware failed with error -2

Hi aesinfo,

  1. Yes, usb3.0 requires usb2.0 too.

  2. This error indicate the firmware is missing and not related to your topic “USB3.0 Can not bring up without USB 2.0”

Hi WayneWWW
I change some setting in tegra186-quill-p3310-1000-c03-00-base.dts file as below:
I’m not sure white it change setting is correct. Would you help me to check and if you need more information please let me know.

   gpio@2200000 {
	sdmmc-wake-support-input {
		status = "okay";
	};

	sdmmc-wake-support-output {
		status = "okay";
	};
};

   xudc@3550000 {
    status = "okay";
    phys = <&tegra_xusb_padctl TEGRA_PADCTL_PHY_UTMI_P(1)>,
	<&tegra_xusb_padctl TEGRA_PADCTL_PHY_USB3_P(0)>;
    phy-names = "usb2", "usb3";
};


xhci@3530000 {
        status = "okay";
        phys = <&tegra_xusb_padctl TEGRA_PADCTL_PHY_UTMI_P(0)>,
            <&tegra_xusb_padctl TEGRA_PADCTL_PHY_UTMI_P(1)>,
            <&tegra_xusb_padctl TEGRA_PADCTL_PHY_UTMI_P(2)>,
            <&tegra_xusb_padctl TEGRA_PADCTL_PHY_USB3_P(0)>,
            <&tegra_xusb_padctl TEGRA_PADCTL_PHY_USB3_P(1)>,
            <&tegra_xusb_padctl TEGRA_PADCTL_PHY_USB3_P(2)>;
        phy-names = "utmi-0", "utmi-1", "utmi-2", "usb3-0", "usb3-1", "usb3-2";
    };

    pinctrl@3520000 {
        status = "okay";
        pinctrl-0 = <&tegra_xusb_padctl_pinmux_default>;
        pinctrl-1 = <&vbus_en0_sfio_tristate_state>;
        pinctrl-2 = <&vbus_en1_sfio_tristate_state>;
        pinctrl-3 = <&vbus_en0_sfio_passthrough_state>;
        pinctrl-4 = <&vbus_en1_sfio_passthrough_state>;
        pinctrl-5 = <&vbus_en0_default_state>;
        pinctrl-6 = <&vbus_en1_default_state>;
        pinctrl-names = "default",
            "vbus_en0_sfio_tristate", "vbus_en1_sfio_tristate",
            "vbus_en0_sfio_passthrough", "vbus_en1_sfio_passthrough",
            "vbus_en0_default", "vbus_en1_default";
        tegra_xusb_padctl_pinmux_default: pinmux {
            /* Quill does not support usb3-micro AB */
            usb2-micro-AB {
                nvidia,lanes = "otg-0";
                nvidia,function = "xusb";
                nvidia,port-cap = <TEGRA_PADCTL_PORT_OTG_CAP>;
                status = "okay";
            };
            usb2-micro-AB {
                nvidia,lanes = "otg-0";
                nvidia,function = "xusb";
                nvidia,port-cap = <TEGRA_PADCTL_PORT_OTG_CAP>;
                status = "okay";
            };
            usb2-std-A-port2 {
                nvidia,lanes = "otg-1";
                nvidia,function = "xusb";
                nvidia,port-cap = <TEGRA_PADCTL_PORT_HOST_ONLY>;
                status = "okay";
            };
	usb3-std-A-port2 {
		nvidia,lanes = "usb3-0";
		nvidia,port-cap = <TEGRA_PADCTL_PORT_HOST_ONLY>;
		status = "okay";
	};
	usb3-std-A-port3 {
		nvidia,lanes = "usb3-2";
		nvidia,port-cap = <TEGRA_PADCTL_PORT_HOST_ONLY>;
		status = "okay";
	};
	usb3-std-A-port4 {
		nvidia,lanes = "usb3-1";
		nvidia,port-cap = <TEGRA_PADCTL_PORT_HOST_ONLY>;
		status = "okay";
	};
        };
    };

    pcie-controller@10003000 {
        status = "okay";
        pci@1,0 {
            nvidia,num-lanes = <2>;
            nvidia,disable-clock-request;
            status = "okay";
        };
        pci@2,0 {
            nvidia,num-lanes = <1>;
            status = "okay";
        };
        pci@3,0 {
            nvidia,num-lanes = <1>;
            status = "disabled";
        };
    };

Are you using rel-28 or rel-32?

Hi Wayne

We use rel-28

Thank

Then please refer to

https://elinux.org/Jetson/TX2_USB

If you think your device tree is correct, please share the full dmesg with us.

Hi WayneWWW

Please see attachment
20191024_tx2.txt (69.6 KB)

I saw usb function is up in your side. Could you also share the result of lsusb?

Hi WayneWWW

Please see attachment
2019-10-24_TX2.png
20191024_TX2_LOG.txt (66.9 KB)

  1. Do you read adaptation guide to configure the ODMDATA before flash?

  2. Your log indicates usb3.0 port is up. Please clarify which port has issue.

Hi WayneWWW

I get this message from TX2

tegra-xudc-new 3550000.xudc: usb3 phy is not available yet

Hi WayneWWW

Which part in log is showed usb3.0 port is up

thank you

lsusb gives out a 5000M speed usb hub. That means usb 3.0 is up.

hi WayneWWW

I understand but i plug-ing USB-3.0 can not detect usb 3.0

Hi aesinfo,

Let me share what is the information needed for checking such issue. USB bring up topics are everywhere on this forum. You could search it too.

  1. The full dts. Not only the partial one.

  2. dmesg. You already shared.

  3. The schematic of your carrier board.

  4. More information from you. For example, there are 3 usb 3.0 ports on your side, do all of them not work? or only one of them? What is the change you’ve made? Did you read adaptation guide about how to configure uphy mapping?

Hi WayneWWW

Fix this problem

Thank you

Since this is public forum, please kindly share your solution so that other users can take as a reference.

Thanks.