How to enable USB3 interface as a Host

Hi DaneLLL,

Thank you for replying. I’ve been trying to modify the device tree similar to what we found in the following post.

Our modifications are as follows.

1. under ucsi_ccg 
        ucsi_ccg: ucsi_ccg@8 {
-            status = "okay";
+           status = "disabled";

2. under xusb_padctl@3520000, made sure mode is set to "host" and usb3 ports need its companion usb2 port.
    xusb_padctl: xusb_padctl@3520000 {
......
        ports {
            usb2-3 {
               mode = "host";
               status = "okay";
            };
            usb3-3 {
		status = "okay";
		nvidia,usb2-companion = <0x03>; 
                usb3-gen1-only = <0x01>
	    };
        };

3. Removed all "extcon*" property under xhci@3610000 and xudc@3550000.

We could compile the dts file to a dtb file. However, I am not sure how to use dd or flash.sh so that our modified dtb is applied.