USB doesn't work on custom carrier board

Hi,

Based on Orin Nano devkit, we make our own carrier board. In our carrier board the USB design as below:


The PD_EN signal is HIGH before the test.
And the device-tree was updated as below, the USB port is fixed as host mode:

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

			ports {
				usb2-0 {
					mode = "host";
					status = "okay";
					vbus-supply = <&vdd_5v0_sys>;
					/delete-property/ usb-role-switch;
				};
				usb2-1 {
					mode = "host";
					vbus-supply = <&vdd_5v0_sys>;
					status = "okay";
				};
				usb2-2 {
					status = "disabled";
				};

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

		usb@3610000 {
			status = "okay";

			phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>,
			       <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-1}>,
			       <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>,
			       <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>;
			phy-names = "usb2-0", "usb2-1", "usb3-0", "usb3-1";
		};

The custom pinmux & device tree is successfully flashed into Orin NX + M2 disk.

After bootup, plugging USB device but it is not recognized by the OS.

This is full boot log from Debug Serial

Jetson System firmware version 36.4.0-gcid-37537400 date 2024-09-13T04:02:39+00:
00
ESC   to enter Setup.
F11   to enter Boot Manager Menu.
Enter to continue boot.
......
      L4TLauncher: Attempting Direct Boot
EFI stub: Booting Linux Kernel...
EFI stub: Using DTB from configuration table
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI stub: Exiting boot services...
��debugfs initialized
��I/TC: Reserved shared memory is disabled
I/TC: Dynamic shared memory is enabled
I/TC: Normal World virtualization support is disabled
I/TC: Asynchronous notifications are disabled
��[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd421]
[    0.000000] Linux version 5.15.148-tegra (buildbrain@mobile-u64-5441-d8000) (aarch64-buildroot-linux-gnu-gcc.br_real (Buildroot 2022.08) 11.3.0, GNU ld (GNU Binutils) 2.38) #1 SMP PREEMPT Thu Sep 12 21)
[    0.000000] Machine model: Orin NX 8GB PCB-02 carrier board
[    0.000000] efi: EFI v2.70 by EDK II
[    0.000000] efi: RTPROP=0x26d7ef198 TPMFinalLog=0x25e3b0000 SMBIOS=0xffff0000 SMBIOS 3.0=0x26d1e0000 MEMATTR=0x26711c018 ESRT=0x267152498 TPMEventLog=0x25e3c8018 RNG=0x25a900018 MEMRESERVE=0x25e3cac18 
[    0.000000] random: crng init done
[    0.000000] secureboot: Secure boot disabled
[    0.000000] esrt: Reserving ESRT space from 0x0000000267152498 to 0x00000002671524d0.
[    0.000000] Reserved memory: created CMA memory pool at 0x000000024a000000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x0000000277ffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x271302800-0x271304fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x0000000277ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000bdffffff]
[    0.000000]   node   0: [mem 0x00000000c2000000-0x00000000fffdffff]
[    0.000000]   node   0: [mem 0x00000000fffe0000-0x00000000ffffffff]
[    0.000000]   node   0: [mem 0x0000000100000000-0x000000025e��WARNING: clock_disable: clk_power_ungate on gated domain 35 for gpc1clk
��200fff]
[    0.000000]   node   0: [mem 0x000000025e201000-0x000000025e3bffff]
[    0.000000]   node   0: [mem 0x000000025e3c0000-0x000000025e3cafff]
[    0.000000]   node   0: [mem 0x000000025e3cb000-0x000000025e3cbfff]
[    0.000000]   node   0: [mem 0x000000025e3cc000-0x000000026b8affff]
[    0.000000]   node   0: [mem 0x000000026b8b0000-0x000000026d7effff]
[    0.000000]   node   0: [mem 0x000000026d7f0000-0x0000000271dfffff]
[    0.000000]   node   0: [mem 0x0000000271e00000-0x0000000271ffffff]
[    0.000000]   node   0: [mem 0x0000000272000000-0x000000027259ffff]
[    0.000000]   node   0: [mem 0x0000000272f00000-0x0000000272ffffff]
[    0.000000]   node   0: [mem 0x0000000276000000-0x0000000277ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000277ffffff]
[    0.000000] On node 0, zone DMA: 16384 pages in unavailable ranges
[    0.000000] On node 0, zone Normal: 2400 pages in unavailable ranges
[    0.000000] On node 0, zone Normal: 12288 pages in unavailable ranges
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 29 pages/cpu s80408 r8192 d30184 u118784
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: Address authentication (architected algorithm)
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: Virtualization Host Extensions
[    0.000000] CPU features: detected: Hardware dirty bit management
[    0.000000] CPU features: detected: Spectre-v4
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] alternatives: patching kernel code
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 2001056
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: root=PARTUUID=a1b95114-ddd1-42e2-9252-14129d9ea2af rw rootwait rootfstype=ext4 mminit_loglevel=4 console=ttyTCU0,115200 firmware_class.path=/etc/firmware fbcon=map:0 no 
[    0.000000] Unknown kernel command line parameters "bl_prof_dataptr=2031616@0x271E10000 bl_prof_ro_ptr=65536@0x271E00000", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x00000000fbfe0000-0x00000000fffe0000] (64MB)
[    0.000000] Memory: 7517500K/8133248K available (20160K kernel code, 4064K rwdata, 10060K rodata, 7680K init, 529K bss, 353604K reserved, 262144K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=6.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 960 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000f440000
[    0.000000] arch_timer: cp15 timer(s) running at 31.25MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xe6a171046, max_idle_ns: 881590405314 ns
[    0.000000] sched_clock: 56 bits at 31MHz, resolution 32ns, wraps every 4398046511088ns
[    0.000373] Console: colour dummy device 80x25
[    0.000382] printk: console [tty0] enabled
[    0.000441] Calibrating delay loop (skipped), value calculated using timer frequency.. 62.50 BogoMIPS (lpj=125000)
[    0.000449] pid_max: default: 32768 minimum: 301
[    0.000488] LSM: Security Framework initializing
[    0.000511] Yama: becoming mindful.
[    0.000527] SELinux:  Initializing.
[    0.000605] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.000619] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.001720] rcu: Hierarchical SRCU implementation.
[    0.004018] Tegra Revision: A01 SKU: 212 CPU Process: 0 SoC Process: 0
[    0.004297] Remapping and enabling EFI services.
[    0.005097] smp: Bringing up secondary CPUs ...
[    0.005586] Detected PIPT I-cache on CPU1
[    0.005627] GICv3: CPU1: found redistributor 100 region 0:0x000000000f460000
[    0.005653] CPU1: Booted secondary processor 0x0000000100 [0x410fd421]
[    0.006103] Detected PIPT I-cache on CPU2
[    0.006114] GICv3: CPU2: found redistributor 200 region 0:0x000000000f480000
[    0.006129] CPU2: Booted secondary processor 0x0000000200 [0x410fd421]
[    0.006543] Detected PIPT I-cache on CPU3
[    0.006553] GICv3: CPU3: found redistributor 300 region 0:0x000000000f4a0000
[    0.006565] CPU3: Booted secondary processor 0x0000000300 [0x410fd421]
[    0.009019] Detected PIPT I-cache on CPU4
[    0.009048] GICv3: CPU4: found redistributor 20200 region 0:0x000000000f580000
[    0.009074] CPU4: Booted secondary processor 0x0000020200 [0x410fd421]
[    0.009542] Detected PIPT I-cache on CPU5
[    0.009553] GICv3: CPU5: found redistributor 20300 region 0:0x000000000f5a0000
[    0.009567] CPU5: Booted secondary processor 0x0000020300 [0x410fd421]
[    0.009620] smp: Brought up 1 node, 6 CPUs
[    0.009624] SMP: Total of 6 processors activated.
[    0.009627] CPU features: detected: 32-bit EL0 Support
[    0.009628] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[    0.009630] CPU features: detected: Common not Private translations
[    0.009631] CPU features: detected: CRC32 instructions
[    0.009632] CPU features: detected: Data cache clean to Point of Persistence
[    0.009634] CPU features: detected: Generic authentication (architected algorithm)
[    0.009635] CPU features: detected: RCpc load-acquire (LDAPR)
[    0.009636] CPU features: detected: LSE atomic instructions
[    0.009637] CPU features: detected: Privileged Access Never
[    0.009639] CPU features: detected: RAS Extension Support
[    0.009641] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[    0.024365] spectre-bhb mitigation disabled by command line option
[    0.048402] CPU: All CPU(s) started at EL2
[    0.051664] devtmpfs: initialized
[    0.070353] KASLR enabled
[    0.070532] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.070562] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.075596] pinctrl core: initialized pinctrl subsystem
[    0.076637] SMBIOS 3.6.0 present.
[    0.076649] DMI: NVIDIA Orin NX 8GB PCB-02 carrier board/Jetson, BIOS 36.4.0-gcid-37537400 09/13/2024
[    0.077238] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.078930] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.079056] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.079143] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.079246] audit: initializing netlink subsys (disabled)
[    0.079404] audit: type=2000 audit(0.076:1): state=initialized audit_enabled=0 res=1
[    0.081232] thermal_sys: Registered thermal governor 'step_wise'
[    0.081234] thermal_sys: Registered thermal governor 'user_space'
[    0.081235] thermal_sys: Registered thermal governor 'power_allocator'
[    0.084998] cpuidle: using governor menu
[    0.085257] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.085355] ASID allocator initialised with 32768 entries
[    0.087410] Serial: AMBA PL011 UART driver
[    0.098146] 31d0000.serial: ttyAMA0 at MMIO 0x31d0000 (irq = 116, base_baud = 0) is a SBSA
[    0.108401] platform bpmp: Fixing up cyclic dependency with 2c60000.external-memory-controller
[    0.117281] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.117287] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.117290] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.117292] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.118325] cryptd: max_cpu_qlen set to 1000
[    0.120111] ACPI: Interpreter disabled.
[    0.121469] VDD_1V8_AO: supplied by VDD_5V0_SYS
[    0.121650] VDD_3V3_AO: supplied by VDD_5V0_SYS
[    0.121866] VDD_AV10_HUB: supplied by VDD_5V0_SYS
[    0.122391] iommu: Default domain type: Translated 
[    0.122399] iommu: DMA domain TLB invalidation policy: strict mode 
[    0.122730] SCSI subsystem initialized
[    0.122987] vgaarb: loaded
[    0.123194] usbcore: registered new interface driver usbfs
[    0.123215] usbcore: registered new interface driver hub
[    0.123233] usbcore: registered new device driver usb
[    0.123651] pps_core: LinuxPPS API ver. 1 registered
[    0.123657] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.123670] PTP clock support registered
[    0.123753] EDAC MC: Ver: 3.0.0
[    0.124930] Registered efivars operations
[    0.125558] FPGA manager framework
[    0.125643] Advanced Linux Sound Architecture Driver Initialized.
[    0.126242] Bluetooth: Core ver 2.22
[    0.126274] NET: Registered PF_BLUETOOTH protocol family
[    0.126280] Bluetooth: HCI device and connection manager initialized
[    0.126291] Bluetooth: HCI socket layer initialized
[    0.126300] Bluetooth: L2CAP socket layer initialized
[    0.126317] Bluetooth: SCO socket layer initialized
[    0.126819] clocksource: Switched to clocksource arch_sys_counter
[    0.161201] VFS: Disk quotas dquot_6.6.0
[    0.161272] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.161495] pnp: PnP ACPI: disabled
[    0.164852] NET: Registered PF_INET protocol family
[    0.165165] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.166753] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.166863] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.166880] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.166973] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[    0.168321] TCP: Hash tables configured (established 65536 bind 65536)
[    0.168543] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.168569] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.168771] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.169176] RPC: Registered named UNIX socket transport module.
[    0.169183] RPC: Registered udp transport module.
[    0.169184] RPC: Registered tcp transport module.
[    0.169187] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.169201] PCI: CLS 0 bytes, default 64
[    0.169502] Unpacking initramfs...
[    0.170489] hw perfevents: enabled with armv8_cortex_a78 PMU driver, 7 counters available
[    0.170802] kvm [1]: IPA Size Limit: 48 bits
[    0.170851] kvm [1]: GICv3: no GICV resource entry
[    0.170861] kvm [1]: disabling GICv2 emulation
[    0.170887] kvm [1]: GIC system register CPU interface enabled
[    0.170968] kvm [1]: vgic interrupt IRQ9
[    0.171145] kvm [1]: VHE mode initialized successfully
[    0.173854] Initialise system trusted keyrings
[    0.173900] Key type blacklist registered
[    0.174000] workingset: timestamp_bits=42 max_order=21 bucket_order=0
[    0.177850] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.178323] NFS: Registering the id_resolver key type
[    0.178353] Key type id_resolver registered
[    0.178357] Key type id_legacy registered
[    0.178420] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.178442] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.178470] ntfs: driver 2.1.32 [Flags: R/O].
[    0.178677] 9p: Installing v9fs 9p2000 file system support
[    0.179358] integrity: Platform Keyring initialized
[    0.192636] Key type asymmetric registered
[    0.192641] Asymmetric key parser 'x509' registered
[    0.192747] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.192755] io scheduler mq-deadline registered
[    0.192761] io scheduler kyber registered
[    0.204123] EINJ: ACPI disabled.
[    0.218538] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.220356] SuperH (H)SCI(F) driver initialized
[    0.220741] msm_serial: driver initialized
[    0.221430] printk: console [ttyTCU0] enabled
[    0.222472] arm-smmu 8000000.iommu: probing hardware configuration...
[    0.222478] arm-smmu 8000000.iommu: SMMUv2 with:
[    0.222487] arm-smmu 8000000.iommu:  stage 1 translation
[    0.222490] arm-smmu 8000000.iommu:  stage 2 translation
[    0.222491] arm-smmu 8000000.iommu:  nested translation
[    0.222496] arm-smmu 8000000.iommu:  stream matching with 128 register groups
[    0.222500] arm-smmu 8000000.iommu:  128 context banks (0 stage-2 only)
[    0.222513] arm-smmu 8000000.iommu:  Supported page sizes: 0x61311000
[    0.222514] arm-smmu 8000000.iommu:  Stage-1: 48-bit VA -> 48-bit IPA
[    0.222516] arm-smmu 8000000.iommu:  Stage-2: 48-bit IPA -> 48-bit PA
[    0.223557] arm-smmu 10000000.iommu: probing hardware configuration...
[    0.223562] arm-smmu 10000000.iommu: SMMUv2 with:
[    0.223564] arm-smmu 10000000.iommu:         stage 1 translation
[    0.223565] arm-smmu 10000000.iommu:         stage 2 translation
[    0.223567] arm-smmu 10000000.iommu:         nested translation
[    0.223570] arm-smmu 10000000.iommu:         stream matching with 128 register groups
[    0.223572] arm-smmu 10000000.iommu:         128 context banks (0 stage-2 only)
[    0.223587] arm-smmu 10000000.iommu:         Supported page sizes: 0x61311000
[    0.223588] arm-smmu 10000000.iommu:         Stage-1: 48-bit VA -> 48-bit IPA
[    0.223589] arm-smmu 10000000.iommu:         Stage-2: 48-bit IPA -> 48-bit PA
[    0.224044] arm-smmu 12000000.iommu: probing hardware configuration...
[    0.224049] arm-smmu 12000000.iommu: SMMUv2 with:
[    0.224051] arm-smmu 12000000.iommu:         stage 1 translation
[    0.224052] arm-smmu 12000000.iommu:         stage 2 translation
[    0.224053] arm-smmu 12000000.iommu:         nested translation
[    0.224057] arm-smmu 12000000.iommu:         stream matching with 128 register groups
[    0.224059] arm-smmu 12000000.iommu:         128 context banks (0 stage-2 only)
[    0.224064] arm-smmu 12000000.iommu:         Supported page sizes: 0x61311000
[    0.224067] arm-smmu 12000000.iommu:         Stage-1: 48-bit VA -> 48-bit IPA
[    0.224069] arm-smmu 12000000.iommu:         Stage-2: 48-bit IPA -> 48-bit PA
[    0.231803] loop: module loaded
[    0.232731] megasas: 07.717.02.00-rc1
[    0.237299] tun: Universal TUN/TAP device driver, 1.6
[    0.237934] thunder_xcv, ver 1.0
[    0.237964] thunder_bgx, ver 1.0
[    0.237996] nicpf, ver 1.0
[    0.238985] hclge is initializing
[    0.239015] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    0.239025] hns3: Copyright (c) 2017 Huawei Corporation.
[    0.239067] e1000: Intel(R) PRO/1000 Network Driver
[    0.239075] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.239105] e1000e: Intel(R) PRO/1000 Network Driver
[    0.239111] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    0.239143] igb: Intel(R) Gigabit Ethernet Network Driver
[    0.239150] igb: Copyright (c) 2007-2014 Intel Corporation.
[    0.239170] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    0.239176] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    0.239409] sky2: driver version 1.30
[    0.240136] VFIO - User Level meta-driver version: 0.3
[    0.241843] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.241854] ehci-pci: EHCI PCI platform driver
[    0.241889] ehci-platform: EHCI generic platform driver
[    0.241963] ehci-orion: EHCI orion driver
[    0.242035] ehci-exynos: EHCI Exynos driver
[    0.242107] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.242138] ohci-pci: OHCI PCI platform driver
[    0.242166] ohci-platform: OHCI generic platform driver
[    0.242243] ohci-exynos: OHCI Exynos driver
[    0.242721] usbcore: registered new interface driver usb-storage
[    0.244724] i2c_dev: i2c /dev entries driver
[    0.246197] pps pps0: new PPS source ktimer
[    0.246206] pps pps0: ktimer PPS source registered
[    0.246215] pps_ldisc: PPS line discipline registered
[    0.248566] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    0.250584] sdhci: Secure Digital Host Controller Interface driver
[    0.250590] sdhci: Copyright(c) Pierre Ossman
[    0.251150] Synopsys Designware Multimedia Card Interface Driver
[    0.251839] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.253111] ledtrig-cpu: registered to indicate activity on CPUs
[    0.254174] SMCCC: SOC_ID: ID = jep106:036b:0234 Revision = 0x00000401
[    0.254674] tegra-bpmp bpmp: Adding to iommu group 0
[    0.256021] tegra-bpmp bpmp: firmware: dc3fd3cac60f9b918e11-da583751bbf
[    0.446077] Freeing initrd memory: 15492K
[    2.121071] clocksource: tsc: mask: 0xffffffffffffff max_cycles: 0xe6a171046, max_idle_ns: 881590405314 ns
[    2.121098] clocksource: osc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 49772407460 ns
[    2.121103] clocksource: usec: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[    2.121312] hid: raw HID events driver (C) Jiri Kosina
[    2.121673] usbcore: registered new interface driver usbhid
[    2.121679] usbhid: USB HID core driver
[    2.125498] optee: probing for conduit method.
[    2.125561] optee: revision 4.2 (d78bc5fa)
[    2.184241] optee: dynamic shared memory is enabled
[    2.184504] optee: initialized driver
[    2.186484] usbcore: registered new interface driver snd-usb-audio
[    2.187991] NET: Registered PF_PACKET protocol family
[    2.188740] Bluetooth: RFCOMM TTY layer initialized
[    2.188776] Bluetooth: RFCOMM socket layer initialized
[    2.188801] Bluetooth: RFCOMM ver 1.11
[    2.189096] 9pnet: Installing 9P2000 support
[    2.189205] Key type dns_resolver registered
[    2.190218] printk: console [tty0]: printing thread started
[    2.190986] printk: console [ttyTCU0]: printing thread started
[    2.191063] Loading compiled-in X.509 certificates
[    2.194365] Loaded X.509 cert 'Build time autogenerated kernel key: 6057098974cb65317d873b1c27b0a3a1aaaa62bd'
[    2.228111] tegra-gpcdma 2600000.dma-controller: Adding to iommu group 1
[    2.230158] tegra-gpcdma 2600000.dma-controller: GPC DMA driver register 31 channels
[    2.234658] 3110000.serial: ttyS0 at MMIO 0x3110000 (irq = 191, base_baud = 4250000) is a Tegra
[    2.235976] serial-tegra 3100000.serial: RX in PIO mode
[    2.235982] serial-tegra 3100000.serial: TX in PIO mode
[    2.236153] 3100000.serial: ttyTHS1 at MMIO 0x3100000 (irq = 112, base_baud = 0) is a TEGRA_UART
[    2.238487] tegra_rtc c2a0000.rtc: registered as rtc1
[    2.238498] tegra_rtc c2a0000.rtc: Tegra internal Real Time Clock
[    2.239081] tegra-i2c 3160000.i2c: Adding to iommu group 1
[    2.244632] tegra-i2c 3180000.i2c: Adding to iommu group 1
[    2.248389] tegra-i2c 31b0000.i2c: Adding to iommu group 1
[    2.253604] tegra-i2c c240000.i2c: Adding to iommu group 1
[    2.258434] tegra-i2c c250000.i2c: Adding to iommu group 1
[    2.271968] cpufreq: cpu0,cur:1568000,set:1984000,delta:416000,set ndiv:155
[    2.282637] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 1568000 KHz, changing to: 1574400 KHz
[    2.283108] cpufreq: cpu0,cur:1369000,set:1574400,delta:205400,set ndiv:123
[    2.285653] cpufreq: cpufreq_online: CPU4: Running at unlisted initial frequency: 1523000 KHz, changing to: 1574400 KHz
[    2.290175] tegra-xusb 3610000.usb: Adding to iommu group 2
[    2.305857] tegra-xusb 3610000.usb: Firmware timestamp: 2023-02-10 03:48:10 UTC
[    2.305866] tegra-xusb 3610000.usb: xHCI Host Controller
[    2.305882] tegra-xusb 3610000.usb: new USB bus registered, assigned bus number 1
[    2.306617] tegra-xusb 3610000.usb: hcc params 0x0180ff05 hci version 0x120 quirks 0x0000000000010810
[    2.306638] tegra-xusb 3610000.usb: irq 122, io mem 0x03610000
[    2.306772] tegra-xusb 3610000.usb: xHCI Host Controller
[    2.306776] tegra-xusb 3610000.usb: new USB bus registered, assigned bus number 2
[    2.306780] tegra-xusb 3610000.usb: Host supports USB 3.1 Enhanced SuperSpeed
[    2.307036] hub 1-0:1.0: USB hub found
[    2.307052] hub 1-0:1.0: 4 ports detected
[    2.307329] hub 2-0:1.0: USB hub found
[    2.307342] hub 2-0:1.0: 4 ports detected
[    2.309028] sdhci-tegra 3400000.mmc: Adding to iommu group 3
[    2.310173] irq: IRQ222: trimming hierarchy from :bus@0:pmc@c360000
[    2.310237] irq: IRQ223: trimming hierarchy from :bus@0:interrupt-controller@f400000-1
[    2.310281] irq: IRQ224: trimming hierarchy from :bus@0:pmc@c360000
[    2.310370] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    2.312277] sdhci-tegra 3400000.mmc: Got CD GPIO
[    2.363948] ALSA device list:
[    2.363953]   No soundcards found.
[    2.409334] irq: IRQ225: trimming hierarchy from :bus@0:interrupt-controller@f400000-1
[    2.409633] mmc0: SDHCI controller on 3400000.mmc [3400000.mmc] using ADMA 64-bit
[    2.410713] Freeing unused kernel memory: 7680K
[    2.410783] Run /init as init process
[    2.422729] Checking overlayfs setting...
[    2.431136] Overlayfs is disabled...
[    2.436405] Root device found: PARTUUID=a1b95114-ddd1-42e2-9252-14129d9ea2af
[    5.838578] tegra194-pcie 14160000.pcie: Adding to iommu group 4
[    5.842012] tegra194-pcie 14160000.pcie: host bridge /bus@0/pcie@14160000 ranges:
[    5.842038] tegra194-pcie 14160000.pcie:      MEM 0x2140000000..0x2427ffffff -> 0x2140000000
[    5.842047] tegra194-pcie 14160000.pcie:      MEM 0x2428000000..0x242fffffff -> 0x0040000000
[    5.842050] tegra194-pcie 14160000.pcie:       IO 0x0036100000..0x00361fffff -> 0x0036100000
[    5.842386] tegra194-pcie 14160000.pcie: iATU unroll: enabled
[    5.842388] tegra194-pcie 14160000.pcie: Detected iATU regions: 8 outbound, 2 inbound
[    5.859272] tegra-xudc 3550000.usb: Adding to iommu group 5
[    5.946815] tegra194-pcie 14160000.pcie: Link up
[    5.949358] tegra194-pcie 14160000.pcie: Link up
[    5.949404] tegra194-pcie 14160000.pcie: PCI host bridge to bus 0004:00
[    5.949408] pci_bus 0004:00: root bus resource [io  0x0000-0xfffff] (bus address [0x36100000-0x361fffff])
[    5.949411] pci_bus 0004:00: root bus resource [mem 0x2428000000-0x242fffffff] (bus address [0x40000000-0x47ffffff])
[    5.949416] pci_bus 0004:00: root bus resource [bus 00-ff]
[    5.949417] pci_bus 0004:00: root bus resource [mem 0x2140000000-0x2427ffffff pref]
[    5.949466] pci 0004:00:00.0: [10de:229c] type 01 class 0x060400
[    5.949619] pci 0004:00:00.0: PME# supported from D0 D3hot
[    5.952646] pci 0004:01:00.0: [1e4b:1202] type 00 class 0x010802
[    5.952836] pci 0004:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    5.954053] pci 0004:01:00.0: PME# supported from D0 D3hot D3cold
[    5.957273] pci 0004:00:00.0: BAR 14: assigned [mem 0x2428000000-0x24280fffff]
[    5.957278] pci 0004:01:00.0: BAR 0: assigned [mem 0x2428000000-0x2428003fff 64bit]
[    5.957362] pci 0004:00:00.0: PCI bridge to [bus 01-ff]
[    5.957367] pci 0004:00:00.0:   bridge window [mem 0x2428000000-0x24280fffff]
[    5.957465] pcieport 0004:00:00.0: Adding to iommu group 4
[    5.957555] pcieport 0004:00:00.0: PME: Signaling with IRQ 189
[    5.957844] pcieport 0004:00:00.0: AER: enabled with IRQ 189
[    5.958019] nvme 0004:01:00.0: Adding to iommu group 4
[    5.958185] nvme nvme0: pci function 0004:01:00.0
[    5.958409] nvme 0004:01:00.0: enabling device (0000 -> 0002)
[    5.958858] tegra194-pcie 140a0000.pcie: Adding to iommu group 6
[    5.966799] nvme nvme0: allocated 16 MiB host memory buffer.
[    5.978185] nvme nvme0: 6/0/0 default/read/poll queues
[    5.982009] nvme nvme0: Ignoring bogus Namespace Identifiers
[    5.984398]  nvme0n1: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15
[    6.068836] tegra194-pcie 140a0000.pcie: host bridge /bus@0/pcie@140a0000 ranges:
[    6.068871] tegra194-pcie 140a0000.pcie:      MEM 0x3240000000..0x3527ffffff -> 0x3240000000
[    6.068878] tegra194-pcie 140a0000.pcie:      MEM 0x3528000000..0x352fffffff -> 0x0040000000
[    6.068881] tegra194-pcie 140a0000.pcie:       IO 0x002a100000..0x002a1fffff -> 0x002a100000
[    6.069376] tegra194-pcie 140a0000.pcie: iATU unroll: enabled
[    6.069378] tegra194-pcie 140a0000.pcie: Detected iATU regions: 8 outbound, 2 inbound
[    6.170033] EXT4-fs (nvme0n1p1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[    6.174994] tegra194-pcie 140a0000.pcie: Link up
[    6.175700] Rootfs mounted over PARTUUID=a1b95114-ddd1-42e2-9252-14129d9ea2af
[    6.176446] tegra194-pcie 140a0000.pcie: Link up
[    6.176517] tegra194-pcie 140a0000.pcie: PCI host bridge to bus 0008:00
[    6.176521] pci_bus 0008:00: root bus resource [io  0x100000-0x1fffff] (bus address [0x2a100000-0x2a1fffff])
[    6.176525] pci_bus 0008:00: root bus resource [mem 0x3528000000-0x352fffffff] (bus address [0x40000000-0x47ffffff])
[    6.176529] pci_bus 0008:00: root bus resource [bus 00-ff]
[    6.176530] pci_bus 0008:00: root bus resource [mem 0x3240000000-0x3527ffffff pref]
[    6.176580] pci 0008:00:00.0: [10de:229c] type 01 class 0x060400
[    6.176735] pci 0008:00:00.0: PME# supported from D0 D3hot
[    6.181825] pci 0008:01:00.0: [10ec:8168] type 00 class 0x020000
[    6.181981] pci 0008:01:00.0: reg 0x10: [io  0x0000-0x00ff]
[    6.182161] pci 0008:01:00.0: reg 0x18: [mem 0x00000000-0x00000fff 64bit]
[    6.182277] pci 0008:01:00.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit]
[    6.183258] pci 0008:01:00.0: supports D1 D2
[    6.183259] pci 0008:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    6.189307] Switching from initrd to actual rootfs
[    6.198022] pci 0008:00:00.0: BAR 14: assigned [mem 0x3528000000-0x35280fffff]
[    6.198027] pci 0008:00:00.0: BAR 13: assigned [io  0x100000-0x100fff]
[    6.198032] pci 0008:01:00.0: BAR 4: assigned [mem 0x3528000000-0x3528003fff 64bit]
[    6.198126] pci 0008:01:00.0: BAR 2: assigned [mem 0x3528004000-0x3528004fff 64bit]
[    6.198218] pci 0008:01:00.0: BAR 0: assigned [io  0x100000-0x1000ff]
[    6.198246] pci 0008:00:00.0: PCI bridge to [bus 01-ff]
[    6.198248] pci 0008:00:00.0:   bridge window [io  0x100000-0x100fff]
[    6.198253] pci 0008:00:00.0:   bridge window [mem 0x3528000000-0x35280fffff]
[    6.198366] pcieport 0008:00:00.0: Adding to iommu group 6
[    6.198461] pcieport 0008:00:00.0: PME: Signaling with IRQ 187
[    6.199036] pcieport 0008:00:00.0: AER: enabled with IRQ 187
[    6.323308] systemd[1]: System time before build time, advancing clock.
[    6.364658] NET: Registered PF_INET6 protocol family
[    6.365498] Segment Routing with IPv6
[    6.365505] In-situ OAM (IOAM) with IPv6
[    6.377606] systemd[1]: systemd 249.11-0ubuntu3.12 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IP)
[    6.377931] systemd[1]: Detected architecture arm64.
[    6.378544] systemd[1]: Hostname set to <orin-linh>.
[    6.386977] systemd[1]: Using hardware watchdog 'NVIDIA Tegra186 WDT', version 0, device /dev/watchdog
[    6.386995] systemd[1]: Set hardware watchdog to 2min.
[    6.570390] systemd[1]: /etc/systemd/system/nvs-service.service:41: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the s.
[    6.576260] systemd[1]: /etc/systemd/system/nvargus-daemon.service:42: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing th.
[    6.608482] systemd[1]: Queued start job for default target Graphical Interface.
[    6.609902] systemd[1]: Created slice Slice /system/modprobe.
[    6.610486] systemd[1]: Created slice Slice /system/serial-getty.
[    6.610960] systemd[1]: Created slice Slice /system/systemd-fsck.
[    6.611268] systemd[1]: Created slice User and Session Slice.
[    6.612087] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    6.612440] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    6.612605] systemd[1]: Reached target Slice Units.
[    6.612663] systemd[1]: Reached target Mounting snaps.
[    6.612713] systemd[1]: Reached target Mounted snaps.
[    6.612768] systemd[1]: Reached target Swaps.
[    6.612827] systemd[1]: Reached target Local Verity Protected Volumes.
[    6.618172] systemd[1]: Listening on RPCbind Server Activation Socket.
[    6.618581] systemd[1]: Listening on Syslog Socket.
[    6.618797] systemd[1]: Listening on fsck to fsckd communication Socket.
[    6.618966] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    6.619492] systemd[1]: Listening on Journal Audit Socket.
[    6.624166] systemd[1]: Listening on Journal Socket (/dev/log).
[    6.624394] systemd[1]: Listening on Journal Socket.
[    6.624880] systemd[1]: Listening on udev Control Socket.
[    6.625038] systemd[1]: Listening on udev Kernel Socket.
[    6.626065] systemd[1]: Mounting Huge Pages File System...
[    6.627331] systemd[1]: Mounting POSIX Message Queue File System...
[    6.658534] systemd[1]: Mounting Kernel Debug File System...
[    6.659832] systemd[1]: Mounting Kernel Trace File System...
[    6.671384] systemd[1]: Starting Journal Service...
[    6.672682] systemd[1]: Starting Set the console keyboard layout...
[    6.674112] systemd[1]: Starting Create List of Static Device Nodes...
[    6.676019] systemd[1]: Starting Load Kernel Module configfs...
[    6.695001] systemd[1]: Starting Load Kernel Module drm...
[    6.697102] systemd[1]: Starting Load Kernel Module efi_pstore...
[    6.700072] systemd[1]: Starting Load Kernel Module fuse...
[    6.712776] systemd[1]: Starting NVIDIA specific first-boot udev script...
[    6.716121] systemd[1]: Started Nameserver information manager.
[    6.721004] fuse: init (API version 7.34)
[    6.727761] systemd[1]: Reached target Preparation for Network.
[    6.728189] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    6.736050] systemd[1]: Starting Load Kernel Modules...
[    6.743637] nvsciipc: loading out-of-tree module taints kernel.
[    6.744687] nvsciipc: loaded module
[    6.750665] nvmap_heap_init: nvmap_heap_init: created heap block cache
[    6.751803] nvmap_page_pool_init: Total RAM pages: 1950704
[    6.751807] nvmap_page_pool_init: nvmap page pool size: 243838 pages (952 MB)
[    6.751855] nvmap_background_zero_thread: PP zeroing thread starting.
[    6.759041] tegra-host1x 13e00000.host1x: Adding to iommu group 7
[    6.760242] host1x-context host1x-ctx.0: Adding to iommu group 8
[    6.760366] host1x-context host1x-ctx.1: Adding to iommu group 9
[    6.760469] host1x-context host1x-ctx.2: Adding to iommu group 10
[    6.760570] host1x-context host1x-ctx.3: Adding to iommu group 11
[    6.760769] host1x-context host1x-ctx.4: Adding to iommu group 12
[    6.760880] host1x-context host1x-ctx.5: Adding to iommu group 13
[    6.760973] host1x-context host1x-ctx.6: Adding to iommu group 14
[    6.761091] host1x-context host1x-ctx.7: Adding to iommu group 15
[    6.761187] host1x-context host1x-ctx.8: Adding to iommu group 16
[    6.761397] host1x-context host1x-ctx.9: Adding to iommu group 17
[    6.761506] host1x-context host1x-ctx.10: Adding to iommu group 18
[    6.761601] host1x-context host1x-ctx.11: Adding to iommu group 19
[    6.761695] host1x-context host1x-ctx.12: Adding to iommu group 20
[    6.761869] host1x-context host1x-ctx.13: Adding to iommu group 21
[    6.762009] host1x-context host1x-ctx.14: Adding to iommu group 22
[    6.762102] host1x-context host1x-ctx.15: Adding to iommu group 23
[    6.771926] systemd[1]: Starting Remount Root and Kernel File Systems...
[    6.782372] EXT4-fs (nvme0n1p1): re-mounted. Opts: (null). Quota mode: none.
[    6.808591] systemd[1]: Starting Coldplug All udev Devices...
[    6.866295] systemd[1]: Started Journal Service.
[    6.871560] nvgpu: 17000000.gpu          nvgpu_nvhost_syncpt_init:122  [INFO]  syncpt_unit_base 60000000 syncpt_unit_size 4000000 size 10000
[    6.871560] 
[    6.953529] systemd-journald[235]: Received client request to flush runtime journal.
[    7.205669] nvdla 158c0000.nvdla1: deferred probe timeout, ignoring dependency
[    7.205671] nvdla: probe of 158c0000.nvdla1 failed with error -110
��TCU debug prints will be routed to traces.
��[    7.328330] tegra-hsp b950000.tegra-hsp: Try increasing MBOX_TX_QUEUE_LEN
[    7.328386] tegra-ivc-bus bc00000.rtcpu:ivc-bus:echo@0: ivc channel driver missing
[    7.328391] tegra-hsp b950000.tegra-hsp: Try increasing MBOX_TX_QUEUE_LEN
[    7.328395] tegra-ivc-bus bc00000.rtcpu:ivc-bus:dbg@1: ivc channel driver missing
[    7.328400] tegra-hsp b950000.tegra-hsp: Try increasing MBOX_TX_QUEUE_LEN
[    7.328402] tegra-ivc-bus bc00000.rtcpu:ivc-bus:dbg@2: ivc channel driver missing
[    7.328408] tegra-hsp b950000.tegra-hsp: Try increasing MBOX_TX_QUEUE_LEN
[    7.328408] tegra-ivc-bus bc00000.rtcpu:ivc-bus:ivccontrol@3: ivc channel driver missing
[    7.328414] tegra-hsp b950000.tegra-hsp: Try increasing MBOX_TX_QUEUE_LEN
[    7.328414] tegra-ivc-bus bc00000.rtcpu:ivc-bus:ivccapture@4: ivc channel driver missing
[    7.328421] tegra-ivc-bus bc00000.rtcpu:ivc-bus:diag@5: ivc channel driver missing
[    7.868934] (NULL device *): fops function table already registered
��Starting RmBootstrap
Registered event_type:[0] for dce_core_ipc_type:[1]
Registered event_type:[1] for dce_core_ipc_type:[3]
dce_ipc State Initialized
RmBootstrap completed successfully
��[    8.172131] at24 1-0050: supply vcc not found, using dummy regulator
[   11.196327] cpufreq: cpu0,cur:549000,set:1984000,delta:1435000,set ndiv:155
[   11.197415] cpufreq: cpu4,cur:1635000,set:1984000,delta:349000,set ndiv:155
[   12.347228] IRQ226: set affinity failed(-22).
[   12.347279] IRQ247: set affinity failed(-22).
[   12.420381] IRQ226: set affinity failed(-22).
[   12.420480] IRQ247: set affinity failed(-22).

Ubuntu 22.04.4 LTS orin-linh ttyTCU0

orin-linh login: scaleaq (automatic login)

Welcome to Ubuntu 22.04.4 LTS (GNU/Linux 5.15.148-tegra aarch64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

This system has been minimized by removing packages and content that are
not required on a system that users do not log into.

To restore this content, you can run the 'unminimize' command.

Expanded Security Maintenance for Applications is not enabled.

180 updates can be applied immediately.
107 of these updates are standard security updates.
To see these additional updates run: apt list --upgradable

28 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm

Last login: Tue Dec 17 07:53:55 UTC 2024 from 10.42.0.1 on pts/0
linh@orin-linh:~$

USB related:

linh@orin-linh:~$ sudo dmesg | grep -i usb
[    0.123194] usbcore: registered new interface driver usbfs
[    0.123215] usbcore: registered new interface driver hub
[    0.123233] usbcore: registered new device driver usb
[    0.241843] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.242107] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.242721] usbcore: registered new interface driver usb-storage
[    2.121673] usbcore: registered new interface driver usbhid
[    2.121679] usbhid: USB HID core driver
[    2.186484] usbcore: registered new interface driver snd-usb-audio
[    2.290175] tegra-xusb 3610000.usb: Adding to iommu group 2
[    2.305857] tegra-xusb 3610000.usb: Firmware timestamp: 2023-02-10 03:48:10 UTC
[    2.305866] tegra-xusb 3610000.usb: xHCI Host Controller
[    2.305882] tegra-xusb 3610000.usb: new USB bus registered, assigned bus number 1
[    2.306617] tegra-xusb 3610000.usb: hcc params 0x0180ff05 hci version 0x120 quirks 0x0000000000010810
[    2.306638] tegra-xusb 3610000.usb: irq 122, io mem 0x03610000
[    2.306772] tegra-xusb 3610000.usb: xHCI Host Controller
[    2.306776] tegra-xusb 3610000.usb: new USB bus registered, assigned bus number 2
[    2.306780] tegra-xusb 3610000.usb: Host supports USB 3.1 Enhanced SuperSpeed
[    2.307036] hub 1-0:1.0: USB hub found
[    2.307329] hub 2-0:1.0: USB hub found
[    5.859272] tegra-xudc 3550000.usb: Adding to iommu group 5
linh@orin-linh:~$ lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 10000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 480M

I’m using JP 6.1.

Can you please have any idea what is wrong? Thank you.
Linh

Does the usb device have power when it got connected to the Jetson?

Measured the voltage on VBUS pin and USB_DET, I saw that VBUS is 5v and USB_DET is 0v.
So it looks like the power is provided to the device.

What is the change of xudc part? Did you change that?

Do you mean usb@3550000? I keep it the same.

This is the de-compile DTB regarding xudc:

usb@3550000 {
			compatible = "nvidia,tegra234-xudc";
			reg = <0x00 0x3550000 0x00 0x8000 0x00 0x3558000 0x00 0x8000>;
			reg-names = "base\0fpci";
			interrupts = <0x00 0xa6 0x04>;
			clocks = <0x03 0x109 0x03 0x10c 0x03 0x113 0x03 0x110>;
			clock-names = "dev\0ss\0ss_src\0fs_src";
			interconnects = <0x57 0x4c 0x58 0x57 0x4d 0x58>;
			interconnect-names = "dma-mem\0write";
			iommus = <0xf0 0x0f>;
			power-domains = <0x03 0x0b 0x03 0x0a>;
			power-domain-names = "dev\0ss";
			nvidia,xusb-padctl = <0xfa>;
			dma-coherent;
			status = "okay";
			phys = <0xfb 0xfc>;
			phy-names = "usb2-0\0usb3-0";
		};

please disable it if you don’t need usb device mode.

1 Like

I have disabled the xudc. But nothing changed as I can say.

This is the dmesg & lsusb when I plugged the USB device with PD_EN signal is HIGH

Jetson System firmware version 36.4.0-gcid-37537400 date 2024-09-13T04:02:39+00:
00
ESC   to enter Setup.
F11   to enter Boot Manager Menu.
Enter to continue boot.
......
      L4TLauncher: Attempting Direct Boot
EFI stub: Booting Linux Kernel...
EFI stub: Using DTB from configuration table
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI stub: Exiting boot services...
��debugfs initialized
��I/TC: Reserved shared memory is disabled
I/TC: Dynamic shared memory is enabled
I/TC: Normal World virtualization support is disabled
I/TC: Asynchronous notifications are disabled
��[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd421]
[    0.000000] Linux version 5.15.148-tegra (buildbrain@mobile-u64-5441-d8000) (aarch64-buildroot-linux-gnu-gcc.br_real (Buildroot 2022.08) 11.3.0, GNU ld (GNU Binutils) 2.38) #1 SMP PREEMPT Thu Sep 12 21)
[    0.000000] Machine model: Orin NX 8GB PCB-02 carrier board
[    0.000000] efi: EFI v2.70 by EDK II
[    0.000000] efi: RTPROP=0x26d7ef198 TPMFinalLog=0x25e3b0000 SMBIOS=0xffff0000 SMBIOS 3.0=0x26d1e0000 MEMATTR=0x2670eb018 ESRT=0x26711b998 TPMEventLog=0x25e3c8018 RNG=0x25a8f0018 MEMRESERVE=0x25e3cac18 
[    0.000000] random: crng init done
[    0.000000] secureboot: Secure boot disabled
[    0.000000] esrt: Reserving ESRT space from 0x000000026711b998 to 0x000000026711b9d0.
[    0.000000] Reserved memory: created CMA memory pool at 0x000000024a000000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x0000000277ffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x271303800-0x271305fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x0000000277ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000bdffffff]
[    0.000000]   node   0: [mem 0x00000000c2000000-0x00000000fffdffff]
[    0.000000]   node   0: [mem 0x00000000fffe0000-0x00000000ffffffff]
[    0.000000]   node   0: [mem 0x0000000100000000-0x000000025e1f7fff]
[    0.000000]   node   0: ��WARNING: clock_disable: clk_power_ungate on gated domain 35 for gpc1clk
��[mem 0x000000025e1f8000-0x000000025e3bffff]
[    0.000000]   node   0: [mem 0x000000025e3c0000-0x000000025e3cafff]
[    0.000000]   node   0: [mem 0x000000025e3cb000-0x000000025e3cbfff]
[    0.000000]   node   0: [mem 0x000000025e3cc000-0x000000026b8affff]
[    0.000000]   node   0: [mem 0x000000026b8b0000-0x000000026d7effff]
[    0.000000]   node   0: [mem 0x000000026d7f0000-0x0000000271dfffff]
[    0.000000]   node   0: [mem 0x0000000271e00000-0x0000000271ffffff]
[    0.000000]   node   0: [mem 0x0000000272000000-0x000000027259ffff]
[    0.000000]   node   0: [mem 0x0000000272f00000-0x0000000272ffffff]
[    0.000000]   node   0: [mem 0x0000000276000000-0x0000000277ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000277ffffff]
[    0.000000] On node 0, zone DMA: 16384 pages in unavailable ranges
[    0.000000] On node 0, zone Normal: 2400 pages in unavailable ranges
[    0.000000] On node 0, zone Normal: 12288 pages in unavailable ranges
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 29 pages/cpu s80408 r8192 d30184 u118784
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: Address authentication (architected algorithm)
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: Virtualization Host Extensions
[    0.000000] CPU features: detected: Hardware dirty bit management
[    0.000000] CPU features: detected: Spectre-v4
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] alternatives: patching kernel code
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 2001056
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: root=PARTUUID=3fe56481-4985-46dd-a566-b6d27d92ea6a rw rootwait rootfstype=ext4 mminit_loglevel=4 console=ttyTCU0,115200 firmware_class.path=/etc/firmware fbcon=map:0 no 
[    0.000000] Unknown kernel command line parameters "bl_prof_dataptr=2031616@0x271E10000 bl_prof_ro_ptr=65536@0x271E00000", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x00000000fbfe0000-0x00000000fffe0000] (64MB)
[    0.000000] Memory: 7517468K/8133248K available (20160K kernel code, 4064K rwdata, 10060K rodata, 7680K init, 529K bss, 353636K reserved, 262144K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=6.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 960 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000f440000
[    0.000000] arch_timer: cp15 timer(s) running at 31.25MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xe6a171046, max_idle_ns: 881590405314 ns
[    0.000000] sched_clock: 56 bits at 31MHz, resolution 32ns, wraps every 4398046511088ns
[    0.000383] Console: colour dummy device 80x25
[    0.000391] printk: console [tty0] enabled
[    0.000449] Calibrating delay loop (skipped), value calculated using timer frequency.. 62.50 BogoMIPS (lpj=125000)
[    0.000457] pid_max: default: 32768 minimum: 301
[    0.000492] LSM: Security Framework initializing
[    0.000513] Yama: becoming mindful.
[    0.000528] SELinux:  Initializing.
[    0.000606] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.000620] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.001758] rcu: Hierarchical SRCU implementation.
[    0.004100] Tegra Revision: A01 SKU: 212 CPU Process: 0 SoC Process: 0
[    0.004390] Remapping and enabling EFI services.
[    0.005189] smp: Bringing up secondary CPUs ...
[    0.005676] Detected PIPT I-cache on CPU1
[    0.005718] GICv3: CPU1: found redistributor 100 region 0:0x000000000f460000
[    0.005746] CPU1: Booted secondary processor 0x0000000100 [0x410fd421]
[    0.006200] Detected PIPT I-cache on CPU2
[    0.006211] GICv3: CPU2: found redistributor 200 region 0:0x000000000f480000
[    0.006224] CPU2: Booted secondary processor 0x0000000200 [0x410fd421]
[    0.006639] Detected PIPT I-cache on CPU3
[    0.006649] GICv3: CPU3: found redistributor 300 region 0:0x000000000f4a0000
[    0.006661] CPU3: Booted secondary processor 0x0000000300 [0x410fd421]
[    0.009114] Detected PIPT I-cache on CPU4
[    0.009141] GICv3: CPU4: found redistributor 20200 region 0:0x000000000f580000
[    0.009166] CPU4: Booted secondary processor 0x0000020200 [0x410fd421]
[    0.009640] Detected PIPT I-cache on CPU5
[    0.009651] GICv3: CPU5: found redistributor 20300 region 0:0x000000000f5a0000
[    0.009665] CPU5: Booted secondary processor 0x0000020300 [0x410fd421]
[    0.009719] smp: Brought up 1 node, 6 CPUs
[    0.009724] SMP: Total of 6 processors activated.
[    0.009727] CPU features: detected: 32-bit EL0 Support
[    0.009728] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[    0.009730] CPU features: detected: Common not Private translations
[    0.009732] CPU features: detected: CRC32 instructions
[    0.009733] CPU features: detected: Data cache clean to Point of Persistence
[    0.009735] CPU features: detected: Generic authentication (architected algorithm)
[    0.009736] CPU features: detected: RCpc load-acquire (LDAPR)
[    0.009737] CPU features: detected: LSE atomic instructions
[    0.009739] CPU features: detected: Privileged Access Never
[    0.009740] CPU features: detected: RAS Extension Support
[    0.009743] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[    0.024702] spectre-bhb mitigation disabled by command line option
[    0.024702] spectre-bhb mitigation disabled by command line option
[    0.038603] CPU: All CPU(s) started at EL2
[    0.040127] devtmpfs: initialized
[    0.058249] KASLR enabled
[    0.058437] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.058464] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.063479] pinctrl core: initialized pinctrl subsystem
[    0.064498] SMBIOS 3.6.0 present.
[    0.064511] DMI: NVIDIA NVIDIA Jetson Orin NX Engineering Reference Developer Kit/Jetson, BIOS 36.4.0-gcid-37537400 09/13/2024
[    0.065071] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.066933] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.067060] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.067152] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.067213] audit: initializing netlink subsys (disabled)
[    0.067327] audit: type=2000 audit(0.064:1): state=initialized audit_enabled=0 res=1
[    0.068966] thermal_sys: Registered thermal governor 'step_wise'
[    0.068970] thermal_sys: Registered thermal governor 'user_space'
[    0.068971] thermal_sys: Registered thermal governor 'power_allocator'
[    0.072831] cpuidle: using governor menu
[    0.073063] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.073166] ASID allocator initialised with 32768 entries
[    0.075225] Serial: AMBA PL011 UART driver
[    0.086059] 31d0000.serial: ttyAMA0 at MMIO 0x31d0000 (irq = 116, base_baud = 0) is a SBSA
[    0.096275] platform bpmp: Fixing up cyclic dependency with 2c60000.external-memory-controller
[    0.105420] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.105427] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.105430] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.105432] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.106376] cryptd: max_cpu_qlen set to 1000
[    0.108007] ACPI: Interpreter disabled.
[    0.109385] VDD_1V8_AO: supplied by VDD_5V0_SYS
[    0.109528] VDD_3V3_AO: supplied by VDD_5V0_SYS
[    0.109763] VDD_AV10_HUB: supplied by VDD_5V0_SYS
[    0.110209] iommu: Default domain type: Translated 
[    0.110215] iommu: DMA domain TLB invalidation policy: strict mode 
[    0.110551] SCSI subsystem initialized
[    0.110763] vgaarb: loaded
[    0.110944] usbcore: registered new interface driver usbfs
[    0.110971] usbcore: registered new interface driver hub
[    0.110987] usbcore: registered new device driver usb
[    0.111430] pps_core: LinuxPPS API ver. 1 registered
[    0.111437] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.111451] PTP clock support registered
[    0.111522] EDAC MC: Ver: 3.0.0
[    0.112616] Registered efivars operations
[    0.113277] FPGA manager framework
[    0.113351] Advanced Linux Sound Architecture Driver Initialized.
[    0.113854] Bluetooth: Core ver 2.22
[    0.113886] NET: Registered PF_BLUETOOTH protocol family
[    0.113891] Bluetooth: HCI device and connection manager initialized
[    0.113903] Bluetooth: HCI socket layer initialized
[    0.113910] Bluetooth: L2CAP socket layer initialized
[    0.113925] Bluetooth: SCO socket layer initialized
[    0.114344] clocksource: Switched to clocksource arch_sys_counter
[    0.148397] VFS: Disk quotas dquot_6.6.0
[    0.148478] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.148697] pnp: PnP ACPI: disabled
[    0.151901] NET: Registered PF_INET protocol family
[    0.152192] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.153770] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.153867] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.153880] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.153966] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[    0.155313] TCP: Hash tables configured (established 65536 bind 65536)
[    0.155549] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.155580] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.155775] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.156242] RPC: Registered named UNIX socket transport module.
[    0.156247] RPC: Registered udp transport module.
[    0.156249] RPC: Registered tcp transport module.
[    0.156249] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.156266] PCI: CLS 0 bytes, default 64
[    0.156522] Unpacking initramfs...
[    0.163466] hw perfevents: enabled with armv8_cortex_a78 PMU driver, 7 counters available
[    0.163763] kvm [1]: IPA Size Limit: 48 bits
[    0.163801] kvm [1]: GICv3: no GICV resource entry
[    0.163811] kvm [1]: disabling GICv2 emulation
[    0.163830] kvm [1]: GIC system register CPU interface enabled
[    0.163899] kvm [1]: vgic interrupt IRQ9
[    0.164059] kvm [1]: VHE mode initialized successfully
[    0.167805] Initialise system trusted keyrings
[    0.167856] Key type blacklist registered
[    0.168019] workingset: timestamp_bits=42 max_order=21 bucket_order=0
[    0.171245] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.171702] NFS: Registering the id_resolver key type
[    0.171734] Key type id_resolver registered
[    0.171737] Key type id_legacy registered
[    0.171790] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.171805] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.171833] ntfs: driver 2.1.32 [Flags: R/O].
[    0.172084] 9p: Installing v9fs 9p2000 file system support
[    0.172709] integrity: Platform Keyring initialized
[    0.188393] Key type asymmetric registered
[    0.188401] Asymmetric key parser 'x509' registered
[    0.188472] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.188483] io scheduler mq-deadline registered
[    0.188495] io scheduler kyber registered
[    0.200184] EINJ: ACPI disabled.
[    0.214186] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.216191] SuperH (H)SCI(F) driver initialized
[    0.216583] msm_serial: driver initialized
[    0.217290] printk: console [ttyTCU0] enabled
[    0.218348] arm-smmu 8000000.iommu: probing hardware configuration...
[    0.218354] arm-smmu 8000000.iommu: SMMUv2 with:
[    0.218363] arm-smmu 8000000.iommu:  stage 1 translation
[    0.218365] arm-smmu 8000000.iommu:  stage 2 translation
[    0.218366] arm-smmu 8000000.iommu:  nested translation
[    0.218374] arm-smmu 8000000.iommu:  stream matching with 128 register groups
[    0.218377] arm-smmu 8000000.iommu:  128 context banks (0 stage-2 only)
[    0.218398] arm-smmu 8000000.iommu:  Supported page sizes: 0x61311000
[    0.218401] arm-smmu 8000000.iommu:  Stage-1: 48-bit VA -> 48-bit IPA
[    0.218404] arm-smmu 8000000.iommu:  Stage-2: 48-bit IPA -> 48-bit PA
[    0.219511] arm-smmu 10000000.iommu: probing hardware configuration...
[    0.219515] arm-smmu 10000000.iommu: SMMUv2 with:
[    0.219518] arm-smmu 10000000.iommu:         stage 1 translation
[    0.219519] arm-smmu 10000000.iommu:         stage 2 translation
[    0.219519] arm-smmu 10000000.iommu:         nested translation
[    0.219523] arm-smmu 10000000.iommu:         stream matching with 128 register groups
[    0.219525] arm-smmu 10000000.iommu:         128 context banks (0 stage-2 only)
[    0.219530] arm-smmu 10000000.iommu:         Supported page sizes: 0x61311000
[    0.219531] arm-smmu 10000000.iommu:         Stage-1: 48-bit VA -> 48-bit IPA
[    0.219532] arm-smmu 10000000.iommu:         Stage-2: 48-bit IPA -> 48-bit PA
[    0.219962] arm-smmu 12000000.iommu: probing hardware configuration...
[    0.219966] arm-smmu 12000000.iommu: SMMUv2 with:
[    0.219968] arm-smmu 12000000.iommu:         stage 1 translation
[    0.219969] arm-smmu 12000000.iommu:         stage 2 translation
[    0.219970] arm-smmu 12000000.iommu:         nested translation
[    0.219973] arm-smmu 12000000.iommu:         stream matching with 128 register groups
[    0.219975] arm-smmu 12000000.iommu:         128 context banks (0 stage-2 only)
[    0.219980] arm-smmu 12000000.iommu:         Supported page sizes: 0x61311000
[    0.219981] arm-smmu 12000000.iommu:         Stage-1: 48-bit VA -> 48-bit IPA
[    0.219982] arm-smmu 12000000.iommu:         Stage-2: 48-bit IPA -> 48-bit PA
[    0.227892] loop: module loaded
[    0.228792] megasas: 07.717.02.00-rc1
[    0.233384] tun: Universal TUN/TAP device driver, 1.6
[    0.234008] thunder_xcv, ver 1.0
[    0.234048] thunder_bgx, ver 1.0
[    0.234075] nicpf, ver 1.0
[    0.235094] hclge is initializing
[    0.235133] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    0.235142] hns3: Copyright (c) 2017 Huawei Corporation.
[    0.235190] e1000: Intel(R) PRO/1000 Network Driver
[    0.235197] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.235232] e1000e: Intel(R) PRO/1000 Network Driver
[    0.235237] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    0.235260] igb: Intel(R) Gigabit Ethernet Network Driver
[    0.235264] igb: Copyright (c) 2007-2014 Intel Corporation.
[    0.235294] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    0.235298] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    0.235533] sky2: driver version 1.30
[    0.236380] VFIO - User Level meta-driver version: 0.3
[    0.238186] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.238202] ehci-pci: EHCI PCI platform driver
[    0.238243] ehci-platform: EHCI generic platform driver
[    0.238318] ehci-orion: EHCI orion driver
[    0.238440] ehci-exynos: EHCI Exynos driver
[    0.238501] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.238533] ohci-pci: OHCI PCI platform driver
[    0.238560] ohci-platform: OHCI generic platform driver
[    0.238626] ohci-exynos: OHCI Exynos driver
[    0.239104] usbcore: registered new interface driver usb-storage
[    0.241118] i2c_dev: i2c /dev entries driver
[    0.242670] pps pps0: new PPS source ktimer
[    0.242683] pps pps0: ktimer PPS source registered
[    0.242691] pps_ldisc: PPS line discipline registered
[    0.245220] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    0.247275] sdhci: Secure Digital Host Controller Interface driver
[    0.247282] sdhci: Copyright(c) Pierre Ossman
[    0.247844] Synopsys Designware Multimedia Card Interface Driver
[    0.248559] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.249902] ledtrig-cpu: registered to indicate activity on CPUs
[    0.250992] SMCCC: SOC_ID: ID = jep106:036b:0234 Revision = 0x00000401
[    0.251508] tegra-bpmp bpmp: Adding to iommu group 0
[    0.253002] tegra-bpmp bpmp: firmware: dc3fd3cac60f9b918e11-da583751bbf
[    0.450714] Freeing initrd memory: 15492K
[    3.667747] clocksource: tsc: mask: 0xffffffffffffff max_cycles: 0xe6a171046, max_idle_ns: 881590405314 ns
[    3.667764] clocksource: osc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 49772407460 ns
[    3.667768] clocksource: usec: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[    3.668025] hid: raw HID events driver (C) Jiri Kosina
[    3.668354] usbcore: registered new interface driver usbhid
[    3.668359] usbhid: USB HID core driver
[    3.672580] optee: probing for conduit method.
[    3.672633] optee: revision 4.2 (d78bc5fa)
[    3.733087] optee: dynamic shared memory is enabled
[    3.733359] optee: initialized driver
[    3.736410] usbcore: registered new interface driver snd-usb-audio
[    3.737500] NET: Registered PF_PACKET protocol family
[    3.739118] Bluetooth: RFCOMM TTY layer initialized
[    3.739146] Bluetooth: RFCOMM socket layer initialized
[    3.739212] Bluetooth: RFCOMM ver 1.11
[    3.739498] 9pnet: Installing 9P2000 support
[    3.739602] Key type dns_resolver registered
[    3.741657] printk: console [tty0]: printing thread started
[    3.743238] printk: console [ttyTCU0]: printing thread started
[    3.743368] Loading compiled-in X.509 certificates
[    3.747517] Loaded X.509 cert 'Build time autogenerated kernel key: 6057098974cb65317d873b1c27b0a3a1aaaa62bd'
[    3.779283] tegra-gpcdma 2600000.dma-controller: Adding to iommu group 1
[    3.780810] tegra-gpcdma 2600000.dma-controller: GPC DMA driver register 31 channels
[    3.784704] 3110000.serial: ttyS0 at MMIO 0x3110000 (irq = 190, base_baud = 4250000) is a Tegra
[    3.785157] serial-tegra 3100000.serial: RX in PIO mode
[    3.785162] serial-tegra 3100000.serial: TX in PIO mode
[    3.785203] 3100000.serial: ttyTHS1 at MMIO 0x3100000 (irq = 112, base_baud = 0) is a TEGRA_UART
[    3.786809] tegra_rtc c2a0000.rtc: registered as rtc1
[    3.786819] tegra_rtc c2a0000.rtc: Tegra internal Real Time Clock
[    3.787194] tegra-i2c 3160000.i2c: Adding to iommu group 1
[    3.791452] tegra-i2c 3180000.i2c: Adding to iommu group 1
[    3.795676] tegra-i2c 31b0000.i2c: Adding to iommu group 1
[    3.798919] tegra-i2c c240000.i2c: Adding to iommu group 1
[    3.803492] tegra-i2c c250000.i2c: Adding to iommu group 1
[    3.830176] cpufreq: cpufreq_online: CPU4: Running at unlisted initial frequency: 1972000 KHz, changing to: 1984000 KHz
[    3.830668] cpufreq: cpu4,cur:1853000,set:1984000,delta:131000,set ndiv:155
[    3.835361] tegra-xusb 3610000.usb: Adding to iommu group 2
[    3.853225] tegra-xusb 3610000.usb: Firmware timestamp: 2023-02-10 03:48:10 UTC
[    3.853232] tegra-xusb 3610000.usb: xHCI Host Controller
[    3.853245] tegra-xusb 3610000.usb: new USB bus registered, assigned bus number 1
[    3.853989] tegra-xusb 3610000.usb: hcc params 0x0180ff05 hci version 0x120 quirks 0x0000000000010810
[    3.854015] tegra-xusb 3610000.usb: irq 121, io mem 0x03610000
[    3.854151] tegra-xusb 3610000.usb: xHCI Host Controller
[    3.854155] tegra-xusb 3610000.usb: new USB bus registered, assigned bus number 2
[    3.854160] tegra-xusb 3610000.usb: Host supports USB 3.1 Enhanced SuperSpeed
[    3.854619] hub 1-0:1.0: USB hub found
[    3.854632] hub 1-0:1.0: 4 ports detected
[    3.854935] hub 2-0:1.0: USB hub found
[    3.854946] hub 2-0:1.0: 4 ports detected
[    3.856784] sdhci-tegra 3400000.mmc: Adding to iommu group 3
[    3.857858] irq: IRQ221: trimming hierarchy from :bus@0:pmc@c360000
[    3.857920] irq: IRQ222: trimming hierarchy from :bus@0:interrupt-controller@f400000-1
[    3.857965] irq: IRQ223: trimming hierarchy from :bus@0:pmc@c360000
[    3.858032] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    3.858887] sdhci-tegra 3400000.mmc: Got CD GPIO
[    3.990660] ALSA device list:
[    3.990665]   No soundcards found.
[    4.040409] irq: IRQ224: trimming hierarchy from :bus@0:interrupt-controller@f400000-1
[    4.041594] mmc0: SDHCI controller on 3400000.mmc [3400000.mmc] using ADMA 64-bit
[    4.042468] Freeing unused kernel memory: 7680K
[    4.042577] Run /init as init process
[    4.057129] Checking overlayfs setting...
[    4.065172] Overlayfs is disabled...
[    4.070504] Root device found: PARTUUID=3fe56481-4985-46dd-a566-b6d27d92ea6a
[    7.518646] tegra194-pcie 14160000.pcie: Adding to iommu group 4
[    7.520747] tegra194-pcie 14160000.pcie: host bridge /bus@0/pcie@14160000 ranges:
[    7.520768] tegra194-pcie 14160000.pcie:      MEM 0x2140000000..0x2427ffffff -> 0x2140000000
[    7.520774] tegra194-pcie 14160000.pcie:      MEM 0x2428000000..0x242fffffff -> 0x0040000000
[    7.520777] tegra194-pcie 14160000.pcie:       IO 0x0036100000..0x00361fffff -> 0x0036100000
[    7.521107] tegra194-pcie 14160000.pcie: iATU unroll: enabled
[    7.521110] tegra194-pcie 14160000.pcie: Detected iATU regions: 8 outbound, 2 inbound
[    7.626351] tegra194-pcie 14160000.pcie: Link up
[    7.627837] tegra194-pcie 14160000.pcie: Link up
[    7.627901] tegra194-pcie 14160000.pcie: PCI host bridge to bus 0004:00
[    7.627906] pci_bus 0004:00: root bus resource [io  0x0000-0xfffff] (bus address [0x36100000-0x361fffff])
[    7.627909] pci_bus 0004:00: root bus resource [mem 0x2428000000-0x242fffffff] (bus address [0x40000000-0x47ffffff])
[    7.627912] pci_bus 0004:00: root bus resource [bus 00-ff]
[    7.627913] pci_bus 0004:00: root bus resource [mem 0x2140000000-0x2427ffffff pref]
[    7.627962] pci 0004:00:00.0: [10de:229c] type 01 class 0x060400
[    7.628116] pci 0004:00:00.0: PME# supported from D0 D3hot
[    7.631543] pci 0004:01:00.0: [1e4b:1202] type 00 class 0x010802
[    7.631751] pci 0004:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    7.633077] pci 0004:01:00.0: PME# supported from D0 D3hot D3cold
[    7.636350] pci 0004:00:00.0: BAR 14: assigned [mem 0x2428000000-0x24280fffff]
[    7.636357] pci 0004:01:00.0: BAR 0: assigned [mem 0x2428000000-0x2428003fff 64bit]
[    7.636441] pci 0004:00:00.0: PCI bridge to [bus 01-ff]
[    7.636445] pci 0004:00:00.0:   bridge window [mem 0x2428000000-0x24280fffff]
[    7.636548] pcieport 0004:00:00.0: Adding to iommu group 4
[    7.636643] pcieport 0004:00:00.0: PME: Signaling with IRQ 188
[    7.636922] pcieport 0004:00:00.0: AER: enabled with IRQ 188
[    7.637112] nvme 0004:01:00.0: Adding to iommu group 4
[    7.637300] nvme nvme0: pci function 0004:01:00.0
[    7.637532] nvme 0004:01:00.0: enabling device (0000 -> 0002)
[    7.637913] tegra194-pcie 140a0000.pcie: Adding to iommu group 5
[    7.645708] nvme nvme0: allocated 16 MiB host memory buffer.
[    7.658093] nvme nvme0: 6/0/0 default/read/poll queues
[    7.662269] nvme nvme0: Ignoring bogus Namespace Identifiers
[    7.664637]  nvme0n1: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15
[    7.747445] tegra194-pcie 140a0000.pcie: host bridge /bus@0/pcie@140a0000 ranges:
[    7.747469] tegra194-pcie 140a0000.pcie:      MEM 0x3240000000..0x3527ffffff -> 0x3240000000
[    7.747475] tegra194-pcie 140a0000.pcie:      MEM 0x3528000000..0x352fffffff -> 0x0040000000
[    7.747479] tegra194-pcie 140a0000.pcie:       IO 0x002a100000..0x002a1fffff -> 0x002a100000
[    7.747788] tegra194-pcie 140a0000.pcie: iATU unroll: enabled
[    7.747791] tegra194-pcie 140a0000.pcie: Detected iATU regions: 8 outbound, 2 inbound
[    7.854354] tegra194-pcie 140a0000.pcie: Link up
[    7.855810] tegra194-pcie 140a0000.pcie: Link up
[    7.855891] tegra194-pcie 140a0000.pcie: PCI host bridge to bus 0008:00
[    7.855895] pci_bus 0008:00: root bus resource [io  0x100000-0x1fffff] (bus address [0x2a100000-0x2a1fffff])
[    7.855898] pci_bus 0008:00: root bus resource [mem 0x3528000000-0x352fffffff] (bus address [0x40000000-0x47ffffff])
[    7.855901] pci_bus 0008:00: root bus resource [bus 00-ff]
[    7.855903] pci_bus 0008:00: root bus resource [mem 0x3240000000-0x3527ffffff pref]
[    7.855951] pci 0008:00:00.0: [10de:229c] type 01 class 0x060400
[    7.856105] pci 0008:00:00.0: PME# supported from D0 D3hot
[    7.861180] pci 0008:01:00.0: [10ec:8168] type 00 class 0x020000
[    7.861338] pci 0008:01:00.0: reg 0x10: [io  0x0000-0x00ff]
[    7.861519] pci 0008:01:00.0: reg 0x18: [mem 0x00000000-0x00000fff 64bit]
[    7.861636] pci 0008:01:00.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit]
[    7.862642] pci 0008:01:00.0: supports D1 D2
[    7.862644] pci 0008:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    7.878656] pci 0008:00:00.0: BAR 14: assigned [mem 0x3528000000-0x35280fffff]
[    7.878685] pci 0008:00:00.0: BAR 13: assigned [io  0x100000-0x100fff]
[    7.878708] pci 0008:01:00.0: BAR 4: assigned [mem 0x3528000000-0x3528003fff 64bit]
[    7.878818] pci 0008:01:00.0: BAR 2: assigned [mem 0x3528004000-0x3528004fff 64bit]
[    7.878910] pci 0008:01:00.0: BAR 0: assigned [io  0x100000-0x1000ff]
[    7.878938] pci 0008:00:00.0: PCI bridge to [bus 01-ff]
[    7.878940] pci 0008:00:00.0:   bridge window [io  0x100000-0x100fff]
[    7.878944] pci 0008:00:00.0:   bridge window [mem 0x3528000000-0x35280fffff]
[    7.879060] pcieport 0008:00:00.0: Adding to iommu group 5
[    7.879158] pcieport 0008:00:00.0: PME: Signaling with IRQ 186
[    7.879453] pcieport 0008:00:00.0: AER: enabled with IRQ 186
[    7.885728] EXT4-fs (nvme0n1p1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[    7.923028] Rootfs mounted over PARTUUID=3fe56481-4985-46dd-a566-b6d27d92ea6a
[    7.934537] Switching from initrd to actual rootfs
[    8.086205] systemd[1]: System time before build time, advancing clock.
[    8.132353] NET: Registered PF_INET6 protocol family
[    8.133232] Segment Routing with IPv6
[    8.133240] In-situ OAM (IOAM) with IPv6
[    8.154960] systemd[1]: systemd 249.11-0ubuntu3.12 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IP)
[    8.155289] systemd[1]: Detected architecture arm64.
[    8.156289] systemd[1]: Hostname set to <orin-linh>.
[    8.166533] systemd[1]: Using hardware watchdog 'NVIDIA Tegra186 WDT', version 0, device /dev/watchdog
[    8.166549] systemd[1]: Set hardware watchdog to 2min.
[    8.335985] systemd[1]: /etc/systemd/system/nvs-service.service:41: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the s.
[    8.341604] systemd[1]: /etc/systemd/system/nvargus-daemon.service:42: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing th.
[    8.373322] systemd[1]: Queued start job for default target Graphical Interface.
[    8.374959] systemd[1]: Created slice Slice /system/modprobe.
[    8.375527] systemd[1]: Created slice Slice /system/serial-getty.
[    8.376002] systemd[1]: Created slice Slice /system/systemd-fsck.
[    8.376308] systemd[1]: Created slice User and Session Slice.
[    8.376464] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    8.376823] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    8.376978] systemd[1]: Reached target Slice Units.
[    8.377040] systemd[1]: Reached target Mounting snaps.
[    8.377087] systemd[1]: Reached target Mounted snaps.
[    8.377139] systemd[1]: Reached target Swaps.
[    8.377196] systemd[1]: Reached target Local Verity Protected Volumes.
[    8.381658] systemd[1]: Listening on RPCbind Server Activation Socket.
[    8.381998] systemd[1]: Listening on Syslog Socket.
[    8.382202] systemd[1]: Listening on fsck to fsckd communication Socket.
[    8.382324] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    8.385604] systemd[1]: Listening on Journal Audit Socket.
[    8.385775] systemd[1]: Listening on Journal Socket (/dev/log).
[    8.385986] systemd[1]: Listening on Journal Socket.
[    8.386481] systemd[1]: Listening on udev Control Socket.
[    8.407401] systemd[1]: Listening on udev Kernel Socket.
[    8.408375] systemd[1]: Mounting Huge Pages File System...
[    8.409469] systemd[1]: Mounting POSIX Message Queue File System...
[    8.411431] systemd[1]: Mounting Kernel Debug File System...
[    8.431217] systemd[1]: Mounting Kernel Trace File System...
[    8.433709] systemd[1]: Starting Journal Service...
[    8.435353] systemd[1]: Starting Set the console keyboard layout...
[    8.449370] systemd[1]: Starting Create List of Static Device Nodes...
[    8.452220] systemd[1]: Starting Load Kernel Module configfs...
[    8.461646] systemd[1]: Starting Load Kernel Module drm...
[    8.464517] systemd[1]: Starting Load Kernel Module efi_pstore...
[    8.473764] systemd[1]: Starting Load Kernel Module fuse...
[    8.475976] systemd[1]: Starting NVIDIA specific first-boot udev script...
[    8.485292] systemd[1]: Started Nameserver information manager.
[    8.485686] systemd[1]: Reached target Preparation for Network.
[    8.486043] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    8.501619] fuse: init (API version 7.34)
[    8.504817] systemd[1]: Starting Load Kernel Modules...
[    8.516087] systemd[1]: Starting Remount Root and Kernel File Systems...
[    8.518729] systemd[1]: Starting Coldplug All udev Devices...
[    8.527982] EXT4-fs (nvme0n1p1): re-mounted. Opts: (null). Quota mode: none.
[    8.530409] systemd[1]: Started Journal Service.
[    8.540290] nvsciipc: loading out-of-tree module taints kernel.
[    8.541730] nvsciipc: loaded module
[    8.563070] nvmap_heap_init: nvmap_heap_init: created heap block cache
[    8.563860] nvmap_page_pool_init: Total RAM pages: 1950696
[    8.563864] nvmap_page_pool_init: nvmap page pool size: 243837 pages (952 MB)
[    8.564080] nvmap_background_zero_thread: PP zeroing thread starting.
[    8.582234] systemd-journald[237]: Received client request to flush runtime journal.
[    8.591138] tegra-host1x 13e00000.host1x: Adding to iommu group 6
[    8.593068] host1x-context host1x-ctx.0: Adding to iommu group 7
[    8.593433] host1x-context host1x-ctx.1: Adding to iommu group 8
[    8.593815] host1x-context host1x-ctx.2: Adding to iommu group 9
[    8.594085] host1x-context host1x-ctx.3: Adding to iommu group 10
[    8.594815] host1x-context host1x-ctx.4: Adding to iommu group 11
[    8.595204] host1x-context host1x-ctx.5: Adding to iommu group 12
[    8.595509] host1x-context host1x-ctx.6: Adding to iommu group 13
[    8.595699] host1x-context host1x-ctx.7: Adding to iommu group 14
[    8.596034] host1x-context host1x-ctx.8: Adding to iommu group 15
[    8.596368] host1x-context host1x-ctx.9: Adding to iommu group 16
[    8.596625] host1x-context host1x-ctx.10: Adding to iommu group 17
[    8.596968] host1x-context host1x-ctx.11: Adding to iommu group 18
[    8.597110] host1x-context host1x-ctx.12: Adding to iommu group 19
[    8.597415] host1x-context host1x-ctx.13: Adding to iommu group 20
[    8.597737] host1x-context host1x-ctx.14: Adding to iommu group 21
[    8.597857] host1x-context host1x-ctx.15: Adding to iommu group 22
[    8.730226] nvgpu: 17000000.gpu          nvgpu_nvhost_syncpt_init:122  [INFO]  syncpt_unit_base 60000000 syncpt_unit_size 4000000 size 10000
[    8.730226] 
[    9.049506] nvdla 158c0000.nvdla1: deferred probe timeout, ignoring dependency
[    9.049529] nvdla: probe of 158c0000.nvdla1 failed with error -110
��TCU debug prints will be routed to traces.
��[    9.236350] tegra-ivc-bus bc00000.rtcpu:ivc-bus:echo@0: ivc channel driver missing
[    9.236353] tegra-ivc-bus bc00000.rtcpu:ivc-bus:dbg@1: ivc channel driver missing
[    9.236354] tegra-ivc-bus bc00000.rtcpu:ivc-bus:dbg@2: ivc channel driver missing
[    9.236356] tegra-ivc-bus bc00000.rtcpu:ivc-bus:ivccontrol@3: ivc channel driver missing
[    9.236358] tegra-ivc-bus bc00000.rtcpu:ivc-bus:ivccapture@4: ivc channel driver missing
[    9.236359] tegra-ivc-bus bc00000.rtcpu:ivc-bus:diag@5: ivc channel driver missing
[    9.691732] (NULL device *): fops function table already registered
[   10.179145] at24 1-0050: supply vcc not found, using dummy regulator
��Starting RmBootstrap
Registered event_type:[0] for dce_core_ipc_type:[1]
Registered event_type:[1] for dce_core_ipc_type:[3]
dce_ipc State Initialized
RmBootstrap completed successfully
��[   15.274727] IRQ225: set affinity failed(-22).
[   15.274762] IRQ246: set affinity failed(-22).
[   15.347758] IRQ225: set affinity failed(-22).
[   15.347860] IRQ246: set affinity failed(-22).

usb related


linh@orin-linh:~$ lsusb
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
linh@orin-linh:~$ lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 10000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 480M
linh@orin-linh:~$ sudo dmesg | grep -i usb
[sudo] password for scaleaq: 
[    0.110944] usbcore: registered new interface driver usbfs
[    0.110971] usbcore: registered new interface driver hub
[    0.110987] usbcore: registered new device driver usb
[    0.238186] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.238501] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.239104] usbcore: registered new interface driver usb-storage
[    3.668354] usbcore: registered new interface driver usbhid
[    3.668359] usbhid: USB HID core driver
[    3.736410] usbcore: registered new interface driver snd-usb-audio
[    3.835361] tegra-xusb 3610000.usb: Adding to iommu group 2
[    3.853225] tegra-xusb 3610000.usb: Firmware timestamp: 2023-02-10 03:48:10 UTC
[    3.853232] tegra-xusb 3610000.usb: xHCI Host Controller
[    3.853245] tegra-xusb 3610000.usb: new USB bus registered, assigned bus number 1
[    3.853989] tegra-xusb 3610000.usb: hcc params 0x0180ff05 hci version 0x120 quirks 0x0000000000010810
[    3.854015] tegra-xusb 3610000.usb: irq 121, io mem 0x03610000
[    3.854151] tegra-xusb 3610000.usb: xHCI Host Controller
[    3.854155] tegra-xusb 3610000.usb: new USB bus registered, assigned bus number 2
[    3.854160] tegra-xusb 3610000.usb: Host supports USB 3.1 Enhanced SuperSpeed
[    3.854619] hub 1-0:1.0: USB hub found
[    3.854935] hub 2-0:1.0: USB hub found

xudc is disabled

linh@orin-linh:~$ sudo cat /proc/device-tree/bus@0/usb@3550000/status
disabled
linh@orin-linh:~$

When you hotplug the usb device, would you see anything new in dmesg?

No, there is nothing in dmesg when I plug or unplug the USB device. That is the problem :(

I wonder if that type C PD design and behavior is really correct.

What you are configuring now in your device tree is just a type A kind of configuration. But you are using a type C port here.

For example, who is responsible for controlling that DET pin? Tegra usb driver is totally not aware of it.

I think that is correct.
In the Orin devkit, it has fusb301 IC to detect and check if it is device or host and switching the role. On our board it is another IC with USB_DET signal out. And this signal was not handled.

Do you have any guide dance how to handle this correctly? Thank you.

What would be this signal be handled? I mean this sounds not part of what I can answer.

If this is related to specific typeC IC, you may check with vendor first.

The Type C IC here is TPS25810 and it is quite simple, it is only support DFP mode with output current is configureable, in our case, we use 3A current limit. But I think this is not important. Since we saw the IC enabled VBUS, and USB_DET pin was set to LOW, that means the device is connected and detected by the IC.

So, the only point is do we need to trigger USB driver that there is a USB device connected, then USB driver will enumerate the devices?

I saw in the document Orin NX design guide, the USB connector for Type A is quite simple, so I have the same question here, do we have any trigger/call to USB system based on USB_DET signal to ask USB driver enumerates the devices?

Hi again,

I saw that in JP 5, Xavier NX devkit micro USB has extcon-gpio-states to monitor state of the USB_DET signal. Not sure it is only to wakeup the device or any USB related here? However, in JP6, the extcon-gpio-states was removed.

Device tree of Xavier NX in JP5:

	external-connection {
		vbus_id_extcon: extcon@1 {
			compatible = "extcon-gpio-states";
			reg = <0x1>;
			extcon-gpio,name = "VBUS";
			extcon-gpio,cable-states = <
						0x0 0x1
						0x1 0x0>;
			gpios = <&tegra_main_gpio TEGRA194_MAIN_GPIO(Z, 1) 0>;
			extcon-gpio,out-cable-names = <EXTCON_USB EXTCON_USB_HOST EXTCON_NONE>;
			wakeup-source;
			#extcon-cells = <1>;
		};
	};
...
	tegra_xudc: xudc@3550000 {
		extcon-cables = <&vbus_id_extcon 0>;
		extcon-cable-names = "vbus";
		#extcon-cells = <1>;
		phys = <&{/xusb_padctl@3520000/pads/usb2/lanes/usb2-0}>;
		phy-names = "usb2";
		nvidia,xusb-padctl = <&xusb_padctl>;
		nvidia,boost_cpu_freq = <1200>;
		status = "okay";
	};

	tegra_xhci: xhci@3610000 {
		extcon-cables = <&vbus_id_extcon 1>;
		extcon-cable-names = "id";
		#extcon-cells = <1>;
		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-2}>;
		phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-2";
		nvidia,xusb-padctl = <&xusb_padctl>;
		status = "okay";
	};

I saw it has extcon-usb-gpio, but not sure this driver is relevant?

Just to clarify…

  1. A real type C port would support both device mode and host mode (OTG). However, you only want to trigger it as host mode. That is the problem. If you made your port as type A now, I would guarantee that your current software would work there. But you make it as type C, our driver won’t control that USB_DET for you.

  2. The “extcon-gpio-states” in old jetpack is to control the OTG. The ID pin and Vbus_DET pin will form as a true table for micro USB port to switch between host /deivce mode based on hardware status. Extcon is not in use on jetpack6 anymore. It is using the USBConnectorClass now.

https://docs.nvidia.com/jetson/archives/r36.4/DeveloperGuide/HR/JetsonModuleAdaptationAndBringUp/JetsonAgxOrinSeries.html?highlight=universal%20serial%20bus#porting-the-universal-serial-bus

1 Like

Thank you. We will update our carrier board the same as devkit.

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