Enable 2 usb3.0 on TX2

Hi, I’m using an Advantech MIC-720ai and only one usb is usb3. I would like to have 2. I flashed the OS using the SDKManager.

From my understanding, I need to change the device tree, with which I’m new to. I decompiled /boot/dtb/kernel_tegra186-quill-p3310-1000-c03-00-base.dtb, edited it and recompiled it and replaced it. After rebooting there was no change.

This is the change I did:

ports {

			usb3-0 {
				status = "okay";
				nvidia,usb2-companion = <0x1>;
			};

			hsic-0 {
				status = "disabled";
			};

			usb2-2 {
				vbus-supply = <0xaf>;
				mode = "host";
				status = "okay";
			};

			usb2-0 {
				vbus-supply = <0xad>;
				mode = "otg";
				status = "okay";
				nvidia,oc-pin = <0x0>;
			};

			usb3-1 {
				status = "okay";
				nvidia,usb2-companion = <0x1>;
			};

			usb2-1 {
				vbus-supply = <0xae>;
				mode = "host";
				status = "okay";
				nvidia,oc-pin = <0x1>;
			};

			usb3-2 {
				status = "okay";
			};
		};

Now I see multiple possibilities:

  1. The reboot is not enough and I need to do other operations, which?
  2. I am editing the wrong file
  3. My modifications are wrong

Could you point me to the right direction? Thanks

Actually you should directly check if Advantech provides their own BSP files to flash the board but not doing the dtb configuration by yourself.

You don’t have the schematic of the board from Advantech’s so it is unlikely to write a correct dtb file…

1 Like

Thanks for the explanation. It makes total sense.
I wrote them and meanwhile familiarized myself with potential configuration here
I will come back if I have any questions

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.