TX2 config#4 for USB LANE MAPPING on R32.2.3

i need to enable three usb 3.0 on my custom carrier board.
when i do it well on R28
this is my topic
https://devtalk.nvidia.com/default/topic/1068272/jetson-tx2/tx2-config-4-for-usb-lane-mapping/post/5410923/#5410923
but when it does not work well on R32.2.3

is the config for device tree same on R32 and R28?
another question i compile the device tree ,and i get so many dtb files ,is that all useful ?
or i should just replace the tegra186-quill-p3310-1000-c03-00-base.dtb on the kernel/dtb folder ?

-rw-rw-r-- 1 ubuntu ubuntu 344127 Dec 19 18:09tegra186-quill-e3313-1000-a00-00-e2598.dtb
-rw-rw-r-- 1 ubuntu ubuntu 343745 Dec 19 18:09 tegra186-quill-hdmi-primary-p3310-1000-a00-00.dtb
-rw-rw-r-- 1 ubuntu ubuntu 346712 Dec 19 18:09 tegra186-quill-hdmi-primary-p3310-1000-a00-00-imx274.dtb
-rw-rw-r-- 1 ubuntu ubuntu 344083 Dec 19 18:09 tegra186-quill-hdmi-primary-p3310-1000-c03-00.dtb
-rw-rw-r-- 1 ubuntu ubuntu 347050 Dec 19 18:09 tegra186-quill-hdmi-primary-p3310-1000-c03-00-imx274.dtb
-rw-rw-r-- 1 ubuntu ubuntu 343847 Dec 19 18:09 tegra186-quill-p3310-1000-a00-00-ape-cam.dtb
-rw-rw-rw- 1 ubuntu ubuntu 343737 Dec 19 18:09 tegra186-quill-p3310-1000-a00-00-base.dtb
-rw-rw-r-- 1 ubuntu ubuntu 344912 Dec 19 18:09 tegra186-quill-p3310-1000-a00-00-base-mods-display.dtb
-rw-rw-r-- 1 ubuntu ubuntu 343511 Dec 19 18:09 tegra186-quill-p3310-1000-a00-00-dsi-dp.dtb
-rw-rw-r-- 1 ubuntu ubuntu 343761 Dec 19 18:09 tegra186-quill-p3310-1000-a00-00-dsi-hdmi-dp.dtb
-rw-rw-r-- 1 ubuntu ubuntu 343982 Dec 19 18:09 tegra186-quill-p3310-1000-a00-00-edp.dtb
-rw-rw-r-- 1 ubuntu ubuntu 243572 Dec 19 18:09 tegra186-quill-p3310-1000-a00-00-imx185_v1.dtb
-rw-rw-r-- 1 ubuntu ubuntu 346700 Dec 19 18:09 tegra186-quill-p3310-1000-a00-00-imx274.dtb
-rw-rw-r-- 1 ubuntu ubuntu 344945 Dec 19 18:09 tegra186-quill-p3310-1000-a00-00-lc898212.dtb
-rw-rw-r-- 1 ubuntu ubuntu     72 Dec 19 18:09 tegra186-quill-p3310-1000-a00-overlay.dtbo
-rw-rw-rw- 1 ubuntu ubuntu 341524 Dec 19 18:09 tegra186-quill-p3310-1000-as-0888.dtb
-rw-rw-r-- 1 ubuntu ubuntu 344342 Dec 19 18:09 tegra186-quill-p3310-1000-c00-00-auo-1080p-edp.dtb
-rw-rw-r-- 1 ubuntu ubuntu 344185 Dec 19 18:09 tegra186-quill-p3310-1000-c03-00-ape-cam.dtb
-rw-rw-rw- 1 ubuntu ubuntu 344075 Dec 19 18:09 tegra186-quill-p3310-1000-c03-00-base.dtb
-rw-rw-r-- 1 ubuntu ubuntu 343849 Dec 19 18:09 tegra186-quill-p3310-1000-c03-00-dsi-dp.dtb
-rw-rw-rw- 1 ubuntu ubuntu 344099 Dec 19 18:09 tegra186-quill-p3310-1000-c03-00-dsi-hdmi-dp.dtb
-rw-rw-r-- 1 ubuntu ubuntu 243918 Dec 19 18:09 tegra186-quill-p3310-1000-c03-00-imx185_v1.dtb
-rw-rw-rw- 1 ubuntu ubuntu 337208 Dec 19 18:09 tegra186-quill-p3489-0888-a00-00-base.dtb
-rw-rw-r-- 1 ubuntu ubuntu 335819 Dec 19 18:09 tegra186-quill-p3489-0888-a00-00-e2598.dtb
-rw-rw-r-- 1 ubuntu ubuntu 337866 Dec 19 18:09 tegra186-quill-p3489-1000-a00-00-e2598.dtb
-rw-rw-rw- 1 ubuntu ubuntu 337302 Dec 19 18:09 tegra186-quill-p3489-1000-a00-00-ucm1.dtb
-rw-rw-rw- 1 ubuntu ubuntu 337302 Dec 19 18:09 tegra186-quill-p3489-1000-a00-00-ucm2.dtb
-rw-rw-r-- 1 ubuntu ubuntu 187829 Dec 19 18:09 tegra194-p2888-0001-e3366-1199.dtb
-rw-rw-rw- 1 ubuntu ubuntu 280903 Dec 19 18:09 tegra194-p2888-0001-p2822-0000.dtb
-rw-rw-r-- 1 ubuntu ubuntu 201749 Dec 19 18:09 tegra194-p2888-0001-p2822-0000-imx185_v1.dtb
-rw-rw-r-- 1 ubuntu ubuntu 200579 Dec 19 18:09 tegra194-p2888-0001-p2822-0000-imx274-hdmi.dtb
-rw-rw-rw- 1 ubuntu ubuntu 280940 Dec 19 18:09 tegra194-p2888-0001-p2822-0000-maxn.dtb
-rw-rw-rw- 1 ubuntu ubuntu 280947 Dec 19 18:09 tegra194-p2888-0006-p2822-0000.dtb
-rw-rw-rw- 1 ubuntu ubuntu 280982 Dec 19 18:09 tegra194-p2888-as-0006-p2822-0000.dtb

Hi,
Foe USB lane mapping, device tree programming is different between r28 and r32 releases. Please check adaptation guide for r32.
https://developer.nvidia.com/embedded/dlc/Tegra_Linux_Driver_Package_TX2_Adaptation_Guide

There are several posts for reference:
https://devtalk.nvidia.com/default/topic/1049988/jetson-tx2/third-usb-on-custom-board-not-working-with-jetpack-4-2/post/5330117/#5330117
https://devtalk.nvidia.com/default/topic/1057885/jetson-tx2/usb-not-working-in-jetson-tx2-r32-2/post/5364464/#5364464
https://devtalk.nvidia.com/default/topic/1066610/jetson-tx2/jetson-tx2-usb-2-3-connection-/post/5402116/#5402116

thanks for your replay.
now i config the device tree and recompile then flash it .
all the three usb3.0 does not work.

the log by dmesg | grep usb as follows

[    0.000000] Kernel command line: root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 video=tegrafb no_console_suspend=1 earlycon=uart8250,mmio32,0x3100000 nvdumper_reserved=0x2772e0000 gpt usbcore.old_scheme_first=1 tegraid=18.1.2.0.0 maxcpus=6 boot.slot_suffix= boot.ratchetvalues=0.2031647.1 bl_prof_dataptr=0x10000@0x275840000 sdhci_tegra.en_boot_part_access=1  
[    0.550432] usbcore: registered new interface driver usbfs
[    0.550533] usbcore: registered new interface driver hub
[    0.550696] usbcore: registered new device driver usb
[    0.631056] vdd-usb0-5v: 5000 mV 
[    0.631440] vdd-usb1-5v: 5000 mV 
[    0.814530] tegra-xusb-padctl 3520000.xusb_padctl: failed to setup XUSB ports: -517
[    3.301948] usbcore: registered new interface driver r8152
[    3.301985] usbcore: registered new interface driver asix
[    3.302017] usbcore: registered new interface driver ax88179_178a
[    3.302048] usbcore: registered new interface driver cdc_ether
[    3.302077] usbcore: registered new interface driver net1080
[    3.302108] usbcore: registered new interface driver cdc_subset
[    3.302138] usbcore: registered new interface driver zaurus
[    3.302177] usbcore: registered new interface driver cdc_ncm
[    3.310423] usbcore: registered new interface driver uas
[    3.310463] usbcore: registered new interface driver usb-storage
[    3.310538] usbcore: registered new interface driver usbserial
[    3.312384] tegra-usb-cd usb_cd: otg phy is not available yet
[    3.315944] usbcore: registered new interface driver xpad
[   21.457026] usbcore: registered new interface driver usbhid
[   21.462645] usbhid: USB HID core driver
[   22.022587] usbcore: registered new interface driver snd-usb-audio
[   22.487054] tegra-xusb-padctl 3520000.xusb_padctl: failed to setup XUSB ports: -517
[   22.489638] tegra-usb-cd usb_cd: otg phy is not available yet
[   22.493815] tegra-xusb-padctl 3520000.xusb_padctl: failed to setup XUSB ports: -517
[   22.495660] tegra-usb-cd usb_cd: otg phy is not available yet
[   22.585058] tegra-xusb-padctl 3520000.xusb_padctl: failed to setup XUSB ports: -517
[   22.587527] tegra-usb-cd usb_cd: otg phy is not available yet
[   22.624016] vdd-usb0-5v: disabling
[   22.627432] vdd-usb1-5v: disabling
[   23.620455] tegra-xusb-padctl 3520000.xusb_padctl: failed to setup XUSB ports: -517
[   23.632260] tegra-usb-cd usb_cd: otg phy is not available yet
[   23.743118] tegra-xusb-padctl 3520000.xusb_padctl: failed to setup XUSB ports: -517
[   23.745106] tegra-usb-cd usb_cd: otg phy is not available yet
[   24.850643] tegra-xusb-padctl 3520000.xusb_padctl: failed to setup XUSB ports: -517
[   24.862225] tegra-usb-cd usb_cd: otg phy is not available yet
[   24.868312] tegra-xusb-padctl 3520000.xusb_padctl: failed to setup XUSB ports: -517
[   24.880566] tegra-usb-cd usb_cd: otg phy is not available yet
[   25.144094] tegra-xusb-padctl 3520000.xusb_padctl: failed to setup XUSB ports: -517
[   25.154976] tegra-usb-cd usb_cd: otg phy is not available yet
[   25.159560] tegra-xusb-padctl 3520000.xusb_padctl: failed to setup XUSB ports: -517

modified tegra186-quill-p3310-1000-a00-00-base.dts as follows

xudc@3550000 {
		status = "okay";
		phys = <&{/xusb_padctl@3520000/pads/usb2/lanes/usb2-0}>,
				<&{/xusb_padctl@3520000/pads/usb3/lanes/usb3-0}>;
		phy-names = "usb2","usb3";
		nvidia,boost-cpu-freq = <1200>;
	};

	xhci@3530000 {
		status = "okay";
		phys = <&{/xusb_padctl@3520000/pads/usb2/lanes/usb2-0}>,
			<&{/xusb_padctl@3520000/pads/usb2/lanes/usb2-1}>,
			<&{/xusb_padctl@3520000/pads/usb2/lanes/usb2-2}>,
			<&{/xusb_padctl@3520000/pads/usb3/lanes/usb3-0}>,
			<&{/xusb_padctl@3520000/pads/usb3/lanes/usb3-1}>,
			<&{/xusb_padctl@3520000/pads/usb3/lanes/usb3-2}>;
		phy-names = "utmi-0", "utmi-1","utmi-2", "usb3-0", "usb3-1", "usb3-2";
	};

	xusb_padctl@3520000 {
		status = "okay";
		pinctrl-0 = <&vbus_en0_default_state>;
		pinctrl-1 = <&vbus_en1_default_state>;
		pinctrl-2 = <&vbus_en0_sfio_tristate_state>;
		pinctrl-3 = <&vbus_en1_sfio_tristate_state>;
		pinctrl-4 = <&vbus_en0_sfio_passthrough_state>;
		pinctrl-5 = <&vbus_en1_sfio_passthrough_state>;
		pinctrl-names = "vbus_en0_default", "vbus_en1_default",
			"vbus_en0_sfio_tristate", "vbus_en1_sfio_tristate",
			"vbus_en0_sfio_passthrough", "vbus_en1_sfio_passthrough";

		pads {
			usb2 {
				lanes {
					usb2-0 {
						nvidia,function = "xusb";
						status = "okay";
					};
					usb2-1 {
						nvidia,function = "xusb";
						status = "okay";
					};
					usb2-2 {
						nvidia,function = "xusb";
						status = "okay";
					};
				};
			};
			usb3 {
				lanes {
					usb3-0 {
						nvidia,function = "xusb";
						status = "okay";
					};
					usb3-1 {
						nvidia,function = "xusb";
						status = "okay";
					};
					usb3-2 {
						nvidia,function = "xusb";
						status = "okay";
					};
				};
			};
		};

		ports {
			usb2-0 {
				status = "okay";
				mode = "otg";
				vbus-supply = <&vdd_usb0_5v>;
				nvidia,oc-pin = <0>;
			};
			usb2-1 {
				status = "okay";
				mode = "host";
				vbus-supply = <&vdd_usb1_5v>;
				nvidia,oc-pin = <1>;
			};
			usb2-2 {
				status = "okay";
				mode = "host";
				vbus-supply = <&vdd_usb2_5v>;
			};
			usb3-0 {
				mode = "host";
				nvidia,usb2-companion = <0>;
				vbus-supply = <&battery_reg>;
				nvidia,oc-pin = <0>;
				status = "okay";
			};
			usb3-1 {
				mode = "host";
				nvidia,usb2-companion = <1>;
				vbus-supply = <&battery_reg>;
				nvidia,oc-pin = <1>;
				status = "okay";
			};
			usb3-2 {
				mode = "host";
				nvidia,usb2-companion = <2>;
				vbus-supply = <&battery_reg>;
				nvidia,oc-pin = <2>;
				status = "okay";
			};
		};
	};

modified tegra186-quill-p3310-1000-c03-00-base.dts as follow

xhci@3530000 {
		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";
	};

tegra186-quill-p3310-1000-a00-plugin-manager.dtsi

#if TEGRA_XUSB_PADCONTROL_VERSION >= DT_VERSION_2
				_overlay_ {
					phys = <&{/xusb_padctl@3520000/pads/usb2/lanes/usb2-0}>,
						<&{/xusb_padctl@3520000/pads/usb2/lanes/usb2-1}>,
						<&{/xusb_padctl@3520000/pads/usb2/lanes/usb2-2}>,
						<&{/xusb_padctl@3520000/pads/usb3/lanes/usb3-0}>,
						<&{/xusb_padctl@3520000/pads/usb3/lanes/usb3-1}>,
						<&{/xusb_padctl@3520000/pads/usb3/lanes/usb3-2}>;
					phy-names = "utmi-0", "utmi-1","utmi-2", "usb3-0", "usb3-1", "usb3-2";
				};
#else

tegra186-quill-power-tree-p3310-1000-a00-00.dtsi

pinctrl@3520000 {
		vbus-0-supply = <&vdd_usb0_5v>;
		vbus-1-supply = <&vdd_usb1_5v>;
		vbus-2-supply = <&battery_reg>;
		vbus-3-supply = <&vdd_usb2_5v>;
		vddio-hsic-supply = <&battery_reg>;
		avdd_usb-supply = <&spmic_sd3>;
		vclamp_usb-supply = <&spmic_sd2>;
		avdd_pll_erefeut-supply = <&spmic_sd2>;
	};

Please refer to jetson TX2 adaptation guide which is published on 7/2/2019.

There is no phy-names as "“utmi-0”, “utmi-1”,“utmi-2”. Only usb2-0/2-1/2-2.

Hi 714028760,

Have you clarified the cause and resolved the problem? Any result can be shared?