Bring up another USB3.0(USB_SS#2) on TX1 l4t R28.1

Hi,

According to the Documentation Tegra_Linux_Drive_Package_TX1_Adaption_Guide.pdf, we want to enable use case #4 of USB LANE MAPPING.

But the dts codes in l4t R28.1 can not be matched with this Doc.

So we don’t know how to enable use case 4, i.e USB3.0 x2.

Could u help us with this issue? How to modify dts files to enable this use case?

new USB3.0 port configs:

B42, USB2_DP
B43, USB2_DN
G42, USB_SS1_RX+
G43, USB_SS1_RX-
D42, USB_SS1_TX+
D43, USB_SS1_TX-

Thanks.

Hi ShayWang, we are still working on the doc update.

Thanks DaneLLL,

But I don’t think the USB LANE MAPPING chapter of Tegra_Linux_Drive_Package_TX2_Adaption_Guide.pdf is detailed enough. Only one page, without any examples.

I mean I can adapt the dts according to l4t R24.2.1 Tegra_Linux_Drive_Package_TX1_Adaption_Guide.pdf. But can not manage to adapt tx2 dts according to l4t R28.1 Tegra_Linux_Drive_Package_TX2_Adaption_Guide.pdf.

Our customized carrier board has two USB3.0, now both port can work while using TX2. But only one port can work while using TX1.

We want both USB3.0 port work with TX1 urgently. So could u give an example on how to implement use case #4 of USB LANE MAPPING, i.e Lane3->USB_SS#2, Lane5->USB_SS#1

according to Nvidia, we have documents and examples on PDF and sources.

I reading, but I can not find any DTS and DTSI matches available with JetPack 3.1 sources, pdf and sources_release.tbz2.

In addition, Source_sync.sh returns a TIMEOUT:

./source_sync.sh -k tegra-l4t-r28.1

So I do not have access to this content (firewall problem?!).

can you include the files “dts” with the activation for USB according to their possibility , each can choose according to its needs: USB, PCIe, SATA

I try to make a custom L2T ; DTS and packages , may be with a “MenuConfig” for rebuild a L4T without all packages and include another packages like Exfat.

Hi Syd,

Extract sources_release.tbz2, you will find kernel_src-tx1.tbz2.

And two folders in kernel_src-tx1.tbz2: hardware and kernel.

The dts related to USB is hardware/nvidia/platform/t210/jetson/kernel-dts/tegra210-jetson-cv-base-p2597-2180-a00.dts.

Thanks.

yes, i find it ! :)

but, i cant find how to use the example in Tegra_Linux_Drive_Package_TX1_Adaption_Guide.pdf.

Devices tree are different between pdf and this dts ?! … :/

pcie-controller {
[...]
-
+
[...]
nvidia,lane-map = <0x14>;
nvidia,lane-map = <0x4>;

@Syd

Yes, that’s what I was asking.

@DaneLLL said they are still working on the doc update.

ok, we wait for good news … ^^

I am also waiting for an update on this.

i follow another thread https://devtalk.nvidia.com/default/topic/1023691/jetson-tx1/tx1-cann-t-export-gpio_exp0_int-as-gpio/post/5210213/#5210213 for DTS issu.

I think a have a first problem : a firewall problem for download Release repository. unfortunaly, i cant change the config firewall.

Secondly , i used J120 board from Auvidea … without Source Code. I have downgroad the TX1 to Jetpack 3.0/R24.2.1 like J120 manuel guide !! After the TX1 flashing , i have 2xUSB3 (Line #4) .
But , i cant build a clean custom image for the embbeded apps.

In fine, ASAP , i try the linuxdev’s solution for download release without install from an another connection .

Hi Syd,

I can also make 2xUSB3 work while using R24.2.1. I want to make it work on R28.1.

me too . But you can use patch J120 and testing your apps with USB3 while waiting one update ;)

it’s ok , i found a firewall problem !!!

Please refer to updated https://developer.nvidia.com/embedded/dlc/l4t-driver-package-tx1-adaptation-guide

Thx !!! … i go read that ;)

Thanks for the updated adaptation guide. Our case fits Example 1 for R28. We want to have USB3.0 on pins E41,E42,H41,H42. We already achieved this on our hardware by modifying the r24.1 kernel.

Looking at the update guide, I applied the changes to the dts file found in Linux_for_Tegra_64_tx1/sources/hardware/nvidia/platform/t210/jetson/kernel-dts/tegra210-jetson-cv-base-p2597-2180-a00.dts . I built the kernel according to Tegra Linux Driver Package Development Guide r28.1 with no errors and I replaced the related files in the kernel folder (kernel images, kernel_supplementz.* and dtb files). Flashing and first boot went also fine.

After installing the software and drivers for my USB3.0 device, I tested the default USB3.0 port, which was ok. However, when I connect to device to the second port the interface is still USB2.0.

The dmesg output is below. USB3 device was connected during boot up to the default USB3 port. Last messages show the plug off from USB3.0 port, plug in to the USB2.0 port (which is supposed to be USB3.0), then plugged back to the default USB3.0 port. I also tested the performances and they match the interfaces.

Is there a step that I skipped or is something else wrong?

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.38+ (--@--) (gcc version 4.8.5 (GCC) ) #1 SMP PREEMPT Thu Oct 5 13:27:01 CEST 2017
[    0.000000] Boot CPU: AArch64 Processor [411fd071]
[    0.000000] Reserved memory: initialized node vpr-carveout, compatible id nvidia,vpr-carveout
[    0.000000] Reserved memory: initialized node iram-carveout, compatible id nvidia,iram-carveout
[    0.000000] Reserved memory: initialized node ramoops_carveout, compatible id nvidia,ramoops
[    0.000000] cma: Reserved 16 MiB at 0x00000000fdc00000
[    0.000000] On node 0 totalpages: 1043456
[    0.000000]   DMA zone: 8192 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 519168 pages, LIFO batch:31
[    0.000000]   Normal zone: 8192 pages used for memmap
[    0.000000]   Normal zone: 524288 pages, LIFO batch:31
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] PERCPU: Embedded 17 pages/cpu @ffffffc0ffe40000 s31360 r8192 d30080 u69632
[    0.000000] pcpu-alloc: s31360 r8192 d30080 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] CPU features: enabling workaround for ARM erratum 832075
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 1027072
[    0.000000] Kernel command line: root=/dev/mmcblk0p1 rw rootwait console=ttyS0,115200n8 console=tty0 OS=l4t fbcon=map:0 net.ifnames=0 androidboot.modem=none androidboot.serialno=032391614115700004fd androidboot.security=non-secure tegraid=21.1.2.0.0 ddr_die=2048M@2048M ddr_die=2048M@4096M section=256M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 debug_uartport=lsport,0 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff2bf000 nvdumper_reserved=0xff23f000 core_edp_mv=1075 core_edp_ma=4000 gpt android.kerneltype=normal androidboot.touch_vendor_id=0 androidboot.touch_panel_id=63 androidboot.touch_feature=0 androidboot.bootloader=00.00.2014.50-t210-fadd1be5 androidboot.verifiedbootstate=orange root=/dev/mmcblk0p1 rw rootwait
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Memory: 3372524K/4173824K available (11009K kernel code, 1804K rwdata, 6412K rodata, 1208K init, 645K bss, 96788K reserved, 704512K cma-reserved)
[    0.000000] Virtual kernel memory layout:
                   vmalloc : 0xffffff8000000000 - 0xffffffbdbfff0000   (   246 GB)
                   vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000   (     8 GB maximum)
                             0xffffffbdc2000000 - 0xffffffbdc6000000   (    64 MB actual)
                   fixed   : 0xffffffbffa7fd000 - 0xffffffbffac00000   (  4108 KB)
                   PCI I/O : 0xffffffbffae00000 - 0xffffffbffbe00000   (    16 MB)
                   modules : 0xffffffbffc000000 - 0xffffffc000000000   (    64 MB)
                   memory  : 0xffffffc000000000 - 0xffffffc100000000   (  4096 MB)
                     .init : 0xffffffc001184000 - 0xffffffc0012b2000   (  1208 KB)
                     .text : 0xffffffc000080000 - 0xffffffc001183c04   ( 17424 KB)
                     .data : 0xffffffc0012cc000 - 0xffffffc00148f1b0   (  1805 KB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 64.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] /interrupt-controller@60004000: 192 interrupts forwarded to /interrupt-controller
[    0.000000] enable_t210_agic_clks:106 ape clocked & reset cleared
[    0.000000] clk_cbus_recalc_rate: no gbus parent
[    0.000000] clk_cbus_recalc_rate: no gbus parent
[    0.000000] clk_cbus_recalc_rate: no gbus parent
[    0.000000] clk_cbus_recalc_rate: no gbus parent
[    0.000000] clk_cbus_recalc_rate: no gbus parent
[    0.000000] kmemleak: Kernel memory leak detector disabled
[    0.000000] Architected cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000005] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.001750] Console: colour dummy device 80x25
[    0.002621] console [tty0] enabled
[    0.002653] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=76800)
[    0.002689] pid_max: default: 32768 minimum: 301
[    0.002775] Security Framework initialized
[    0.002795] SELinux:  Initializing.
[    0.002868] SELinux:  Starting in permissive mode
[    0.002906] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.002930] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.003595] Initializing cgroup subsys freezer
[    0.003626] Initializing cgroup subsys debug
[    0.003895] CPU0 ipc=1024
[    0.003932] CPU1 ipc=1024
[    0.003965] CPU2 ipc=1024
[    0.003999] CPU3 ipc=1024
[    0.004068] ASID allocator initialised with 65536 entries
[    0.031123] tegra-id: chipid=22117.
[    0.031154] tegra-id: opt_subrevision=0.
[    0.031184] Tegra Speedo/IDDQ fuse revision 4
[    0.031205] Tegra: CPU Speedo ID 7, SoC Speedo ID 0, GPU Speedo ID 2
[    0.031225] Tegra: CPU Process ID 0, SoC Process ID 1, GPU Process ID 0
[    0.031246] Tegra: CPU Speedo Value 2115, SoC Speedo Value 2010, GPU Speedo Value 2117
[    0.031274] Tegra: CPU IDDQ Value 2720, SoC IDDQ Value 2844, GPU IDDQ Value 3525
[    0.031316] Tegra Revision: A02 SKU: 0x17 CPU Process: 0 SoC Process: 1
[    0.032772] DTS File Name: /home/--/NVIDIA/jetpack3.1/64_TX1/Linux_for_Tegra_64_tx1/sources/kernel/kernel-4.4/arch/arm64/boot/dts/../../../../../../hardware/nvidia/platform/t210/jetson/kernel-dts/tegra210-jetson-tx1-p2597-2180-a01-devkit.dts
[    0.032829] DTB Build time: Oct  5 2017 13:27:39
[    0.048811] CPU1: Booted secondary processor [411fd071]
[    0.060774] CPU2: Booted secondary processor [411fd071]
[    0.072774] CPU3: Booted secondary processor [411fd071]
[    0.072859] Brought up 4 CPUs
[    0.072925] SMP: Total of 4 processors activated.
[    0.072948] CPU: All CPU(s) started at EL2
[    0.072990] alternatives: patching kernel code
[    0.075399] devtmpfs: initialized
[    0.146603] Initilizing CustomIPI irq domain
[    0.146943] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.159018] pinctrl core: initialized pinctrl subsystem
[    0.159248] OS set in device tree is L4T.
[    0.159654] regulator-dummy: no parameters
[    0.159871] Initializing plugin-manager
[    0.159943] Plugin module not found
[    0.160970] node /plugin-manager/fragement@0 match with board >=2180-1000-300
[    0.161784] node /plugin-manager/fragement@4 match with odm-data l4t
[    0.161903] Removing Prop nvidia,pmc-wakeup from target /bcmdhd_wlan
[    0.162398] Adding domain ape-pd to PM domain mc-clk-pd
[    0.162441] Adding domain adsp-pd to PM domain ape-pd
[    0.167683] NET: Registered protocol family 16
[    0.169550] console [pstore-1] enabled
[    0.169572] pstore: Registered ramoops as persistent store backend
[    0.169596] ramoops: attached 0x200000@0xb0000000, ecc: 0/0
[    0.180236] cpuidle: using governor ladder
[    0.192227] cpuidle: using governor menu
[    0.192583] bpmp: mail init ok
[    0.193711] vdso: 2 pages (1 code @ ffffffc0012d1000, 1 data @ ffffffc0012d0000)
[    0.193770] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.196119] atomic_pool_init():526: DMA: preallocated 1024 KiB pool for atomic allocations
[    0.197065] tegra_powergate_init: DONE
[    0.197108] DTS File Name: /home/--/NVIDIA/jetpack3.1/64_TX1/Linux_for_Tegra_64_tx1/sources/kernel/kernel-4.4/arch/arm64/boot/dts/../../../../../../hardware/nvidia/platform/t210/jetson/kernel-dts/tegra210-jetson-tx1-p2597-2180-a01-devkit.dts
[    0.197167] DTB Build time: Oct  5 2017 13:27:39
[    0.198180] Error: Driver 'tegra-mc' is already registered, aborting...
[    0.199847] platform tegra-carveouts: SMMU isn't ready yet
[    0.200611] platform tegra-carveouts: domain=ffffffc0fa13a318 allocates as[0]=ffffffc0fa14c0a8
[    0.200681] tegra_smmu 70019000.iommu: Loaded Tegra IOMMU driver
[    0.200929] platform smmu_test: domain=ffffffc0fa13a618 allocates as[0]=ffffffc0fa14c110
[    0.201261] platform 70016000.bpmp: domain=ffffffc0fa13a918 allocates as[0]=ffffffc0fa14c178
[    0.201976] bpmp: ping status is 0
[    0.202086] bpmp 70016000.bpmp: firmware tag is 1e4b302fc0f866f97885165cf8b395ac
[    0.202347] bpmp 70016000.bpmp: probe ok
[    0.203006] mc: mapped MMIO address: 0xffffff800007e000 -> 0x70019000
[    0.203111] mc: mapped MMIO address: 0xffffff80000b6000 -> 0x7001c000
[    0.203213] mc: mapped MMIO address: 0xffffff80000dc000 -> 0x7001d000
[    0.203301] mc-err: Set intmask: 0x23d40
[    0.214902] GPIO line 58 (wlan-default-input-h2) hogged as input
[    0.214951] GPIO line 65 (wlan-default-input-i1) hogged as input
[    0.214995] GPIO line 56 (wlan-default-output-high-h0) hogged as output/high
[    0.215037] GPIO line 64 (wlan-default-output-high-i0) hogged as output/high
[    0.215081] GPIO line 148 (cam0-rst) hogged as output/low
[    0.215120] GPIO line 151 (cam0-pwdn) hogged as output/low
[    0.215158] GPIO line 149 (cam1-rst) hogged as output/low
[    0.215196] GPIO line 152 (cam1-pwdn) hogged as output/low
[    0.215309] gpiochip_add_data: registered GPIOs 0 to 255 on device: tegra-gpio
[    0.217853] platform 70006000.serial: domain=ffffffc0fa1d6e18 allocates as[0]=ffffffc0fa14c1e0
[    0.219017] platform sound: domain=ffffffc0fa1f1718 allocates as[0]=ffffffc0fa14c248
[    0.221531] platform tegradc.1: domain=ffffffc0fa235918 allocates as[0]=ffffffc0fa14c2b0
[    0.222159] platform tegradc.1: IOVA linear map 0x00000000c6000000(2a000000)
[    0.224976] platform 57000000.gpu: domain=ffffffc0fa23bd18 allocates as[0]=ffffffc0fa14c318
[    0.225055] platform 57000000.gpu: domain=ffffffc0fa23bd18 allocates as[1]=ffffffc0fa14c380
[    0.225126] platform 57000000.gpu: domain=ffffffc0fa23bd18 allocates as[2]=ffffffc0fa14c3e8
[    0.225195] platform 57000000.gpu: domain=ffffffc0fa23bd18 allocates as[3]=ffffffc0fa14c450
[    0.225969] tegra-pmc 7000e400.pmc: i2c-thermtrip node not found, emergency thermal reset disabled.
[    0.226013] tegra-pmc 7000e400.pmc: scratch reg offset dts data not present
[    0.226038] tegra-pmc: ### PMC reset source: Power on reset
[    0.226058] tegra-pmc: ### PMC reset status reg: 0x0
[    0.226443] padctrl padctrl.0: Pad control driver tegra-pmc-padctrl registered
[    0.226478] tegra-pmc: Clear bootloader IO dpd settings
[    0.228340] tegra-pmc 7000e400.pmc: PMC: IO pad audio voltage is 1800000
[    0.232319] tegra-pmc 7000e400.pmc: PMC: IO pad cam voltage is 1800000
[    0.236317] tegra-pmc 7000e400.pmc: PMC: IO pad dbg voltage is 1800000
[    0.240317] tegra-pmc 7000e400.pmc: PMC: IO pad dmic voltage is 1800000
[    0.240346] tegra-pmc 7000e400.pmc: PMC: IO pad pex-ctrl voltage is 1800000
[    0.244316] tegra-pmc 7000e400.pmc: PMC: IO pad spi voltage is 1800000
[    0.248316] tegra-pmc 7000e400.pmc: PMC: IO pad uart voltage is 1800000
[    0.252316] tegra-pmc 7000e400.pmc: PMC: IO pad audio-hv voltage is 1800000
[    0.252345] tegra-pmc 7000e400.pmc: PMC: IO pad spi-hv voltage is 1800000
[    0.256319] tegra-pmc 7000e400.pmc: PMC: IO pad gpio voltage is 1800000
[    0.260315] tegra-pmc 7000e400.pmc: PMC: IO pad sdmmc3 voltage is 1800000
[    0.260342] tegra-pmc 7000e400.pmc: IO padctrl driver initialized
[    0.260413] tegra-pmc 7000e400.pmc: PMC: Successfully configure bootrom reset commands
[    0.263609] platform 1003000.pcie-controller: domain=ffffffc0fa244e18 allocates as[0]=ffffffc0fa14c4b8
[    0.266009] platform sdhci-tegra.3: domain=ffffffc0fa24bf18 allocates as[0]=ffffffc0fa14c520
[    0.266633] platform sdhci-tegra.0: domain=ffffffc0fa251318 allocates as[0]=ffffffc0fa14c588
[    0.272093] vdd-ac-bat: 5000 mV 
[    0.273351] vdd-cpu-fixed: 1000 mV 
[    0.277281] irq: no irq domain found for /soctherm@0x700E2000 !
[    0.277633] irq: no irq domain found for /soctherm@0x700E2000 !
[    0.301472] ACPI: Interpreter disabled.
[    0.302322] SCSI subsystem initialized
[    0.302394] libata version 3.00 loaded.
[    0.302618] usbcore: registered new interface driver usbfs
[    0.302691] usbcore: registered new interface driver hub
[    0.302791] usbcore: registered new device driver usb
[    0.305553] tegra-i2c 7000c400.i2c: no acknowledge from address 0x74
[    0.305626] pca953x 1-0074: failed reading register
[    0.305707] pca953x: probe of 1-0074 failed with error -121
[    0.306162] tegra-i2c 7000c400.i2c: no acknowledge from address 0x77
[    0.306229] pca953x 1-0077: failed reading register
[    0.306299] pca953x: probe of 1-0077 failed with error -121
[    0.309008] max77620 4-003c: PMIC Version OTP:0x3C and ES:0x8
[    0.310813] GPIO line 506 (spmic-default-output-high) hogged as output/high
[    0.310936] gpiochip_add_data: registered GPIOs 504 to 511 on device: max77620-gpio
[    0.316402] vdd-core: 600 <--> 1400 mV at 1075 mV 
[    0.320347] vddio-ddr: at 1125 mV 
[    0.321200] vdd-pre-reg: 1350 mV 
[    0.324220] vdd-1v8: 1800 mV 
[    0.328222] avdd-sys: 1200 mV 
[    0.332222] vdd-pex: 1050 mV 
[    0.332854] vddio-sdmmc1: 1800 <--> 3300 mV at 3300 mV 
[    0.333702] vdd-cam-hv: 2800 mV 
[    0.336220] vdd-rtc: 850 mV 
[    0.337052] avdd-ts-hv: 3300 mV 
[    0.337899] vdd-ts: 1800 mV 
[    0.340223] vdd-gen-pll-edp: 1050 mV 
[    0.344221] vdd-hdmi-dp: 1050 mV 
[    0.344860] max77620 4-003c: max77620 probe successful
[    0.346838] media: Linux media interface: v0.10
[    0.346911] Linux video capture interface: v2.00
[    0.354681] tegra210-emc 7001b000.memory-controller: validated EMC DFS table
[    0.355017] Advanced Linux Sound Architecture Driver Initialized.
[    0.358390] tegra210_dvfs: no clock found for sdmmc2_ddr
[    0.358442] tegra210_dvfs: no clock found for sdmmc4_ddr
[    0.358539] tegra210_dvfs: no clock found for sdmmc1_ddr
[    0.358583] tegra210_dvfs: no clock found for sdmmc3_ddr
[    0.361570] regulator_get() failed for (dvfs,vdd-cpu), -19
[    0.361597] tegra_dvfs: Unable to get vdd-cpu rail for step info, defering probe
[    0.364227] vdd-3v3: 3300 mV 
[    0.368222] max77620-gpio7: 1050 mV 
[    0.368551] lcd-bl-en: 1800 mV 
[    0.368874] en-vdd-sd: 3300 mV 
[    0.372221] vdd-sys-boost: 5000 mV 
[    0.372615] aux-3v3: 3300 mV 
[    0.372854] snsr_pm: 3300 mV 
[    0.376224] vdd-disp-3v0: 3000 mV 
[    0.376649] usb-vbus1: 5000 mV 
[    0.377693] rtl-5v0: 5000 mV 
[    0.377992] en-usb-vbus2: 5000 mV 
[    0.378403] en-vdd-vcm-2v8: 2800 mV 
[    0.381206] extcon-gpio-states extcon:extcon@1: Cable state 2
[    0.382596] clocksource: Switched to clocksource arch_sys_counter
[    0.421819] nvmap_heap_init: nvmap_heap_init: created heap block cache
[    0.422210] dma_declare_coherent_resizable_cma_memory:290: resizable heap=vpr, base=0x00000000c6000000, size=0x2a000000
[    0.422404] cma: enabled page replacement for spfn=c6000, epfn=f0000
[    0.422433] dma_declare_coherent_resizable_cma_memory:337: resizable cma heap=vpr create successful
[    0.422463] tegra-carveouts tegra-carveouts: assigned reserved memory node vpr-carveout
[    0.422523] tegra-carveouts tegra-carveouts: iram :dma coherent mem declare 0x0000000040001000,258048
[    0.422557] tegra-carveouts tegra-carveouts: assigned reserved memory node iram-carveout
[    0.422898] misc nvmap: created heap iram base 0x0000000040001000 size (252KiB)
[    0.423619] misc nvmap: created heap vpr base 0x00000000c6000000 size (688128KiB)
[    0.424371] pnp: PnP ACPI: disabled
[    0.436237] thermal thermal_zone0: Registering thermal zone thermal_zone0 for type AO-therm
[    0.438167] thermal thermal_zone1: Registering thermal zone thermal_zone1 for type CPU-therm
[    0.438651] thermal thermal_zone2: Registering thermal zone thermal_zone2 for type GPU-therm
[    0.438856] thermal thermal_zone3: Registering thermal zone thermal_zone3 for type PLL-therm
[    0.440521] thermal thermal_zone4: Registering thermal zone thermal_zone4 for type Tdiode_tegra
[    0.440779] thermal thermal_zone5: Registering thermal zone thermal_zone5 for type PMIC-Die
[    0.441010] thermal thermal_zone6: Registering thermal zone thermal_zone6 for type Tboard_tegra
[    0.442188] isomgr_init(): iso emc max clk=1600000KHz
[    0.442211] isomgr_init(): max_iso_bw=11520000KB
[    0.442356] NET: Registered protocol family 2
[    0.442967] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    0.443153] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    0.443424] TCP: Hash tables configured (established 32768 bind 32768)
[    0.443519] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    0.443583] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    0.443832] NET: Registered protocol family 1
[    0.444161] RPC: Registered named UNIX socket transport module.
[    0.444188] RPC: Registered udp transport module.
[    0.444208] RPC: Registered tcp transport module.
[    0.444228] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.444265] PCI: CLS 0 bytes, default 128
[    0.444477] Trying to unpack rootfs image as initramfs...
[    0.455436] host1x 50000000.host1x: initialized
[    0.457163] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.460333] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.460464] audit: initializing netlink subsys (disabled)
[    0.460522] audit: type=2000 audit(0.455:1): initialized
[    0.472657] ntfs: driver 2.1.32 [Flags: R/O].
[    0.473141] fuse init (API version 7.23)
[    0.473669] SELinux:  Registering netfilter hooks
[    0.475671] io scheduler noop registered (default)
[    0.475705] io scheduler deadline registered
[    0.476033] io scheduler cfq registered
[    0.481508] tegra21x-padctl-uphy 7009f000.pinctrl: padctl mmio start 0x000000007009f000 end 0x000000007009ffff
[    0.481556] tegra21x-padctl-uphy 7009f000.pinctrl: TEGRA_FUSE_SKU_CALIB_0 0x8a49410
[    0.481590] tegra21x-padctl-uphy 7009f000.pinctrl: TEGRA_FUSE_USB_CALIB_EXT_0 0x4
[    0.483094] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-0 is used by XUSB
[    0.483130] tegra21x-padctl-uphy 7009f000.pinctrl: using UTMI port 0 for otg
[    0.483159] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-2 is used by XUSB
[    0.483195] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 5, set usb3_lanes = 0x20
[    0.483240] tegra21x-padctl-uphy 7009f000.pinctrl: USB3 port 1 maps to USB2 port 2
[    0.483274] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-1 is used by XUSB
[    0.483308] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 6, set usb3_lanes = 0x60
[    0.483350] tegra21x-padctl-uphy 7009f000.pinctrl: USB3 port 0 maps to USB2 port 1
[    0.483396] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 1, set pcie_lanes = 0x2
[    0.483443] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 2, set pcie_lanes = 0x6
[    0.483490] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 3, set pcie_lanes = 0xe
[    0.483535] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 4, set pcie_lanes = 0x1e
[    0.483575] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-3 is used by XUSB
[    0.483608] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 0, set usb3_lanes = 0x61
[    0.483649] tegra21x-padctl-uphy 7009f000.pinctrl: USB3 port 2 maps to USB2 port 3
[    0.483692] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 7, set sata_lanes = 0x80
[    0.484111] tegra21x-padctl-uphy 7009f000.pinctrl: mailbox is not ready yet
[    0.485162] tegra-pwm 7000a000.pwm: PWM clk can sleep in ops
[    0.486294] tegra-dfll-pwm 70110000.pwm: DFLL pwm-rate: 12800000
[    0.487095] Adding domain pcie-pd to PM domain mc-clk-pd
[    0.491717] tegra-pcie 1003000.pcie-controller: 4x1, 1x1 configuration
[    0.491785] tegra-pcie 1003000.pcie-controller: failed to get PHY: -517
[    0.491812] tegra-pcie 1003000.pcie-controller: failed to get PHYs: -517
[    0.495383] tsec 54500000.tsec: initialized
[    0.496712] tsec 54100000.tsecb: initialized
[    0.499595] nvdec 54480000.nvdec: initialized
[    0.505822] falcon 54340000.vic: initialized
[    0.507568] falcon 544c0000.nvenc: initialized
[    0.508730] falcon 54380000.nvjpg: initialized
[    0.510836] DC OR NODE connected to /host1x/sor1
[    0.510932] display board info: id 0xffff, fab 0x0
[    0.510987] panel_select fail by _node_status
[    0.511045] display board info: id 0xffff, fab 0x0
[    0.511092] panel_select fail by _node_status
[    0.511282] tegradc tegradc.1: DT parsed successfully
[    0.511338] tegradc tegradc.1: Display dc.ffffff8000980000 registered with id=0
[    0.511675] hdmi: couldn't get regulator vdd_hdmi_5v0: -517
[    0.512317] display board info: id 0xffff, fab 0x0
[    0.512368] panel_select fail by _node_status
[    0.513256] tegra-i2c 7000c700.i2c: no acknowledge from address 0x50
[    0.514431] tegradc tegradc.1: probed
[    0.518911] tegra_camera_platform tegra-camera-platform: tegra_camera_probe:camera_platform_driver probe
[    0.519159] misc tegra_camera_ctrl: tegra_camera_isomgr_register isp_iso_bw=1020000, vi_iso_bw=750000, max_bw=1020000
[    0.523552] tegra-apbdma 60020000.dma: Tegra20 APB DMA driver register 32 channels
[    0.525687] tegra-adma 702e2000.adma: Tegra ADMA driver register 10 channels
[    0.527334] tegra-fuse-burn 7000f800.efuse:efuse-burn: Fuse burn driver initialized
[    0.527644] kfuse 7000fc00.kfuse: initialized
[    0.529647] tegra-pmc-iopower pmc-iopower: NO_IOPOWER setting 0x0
[    0.530720] clk_cbus_round_rate: no gbus parent
[    0.530748] tegra_gpu_edp gpu_edp: unable to get max GPU freq
[    0.531318] tegra-dfll-pwm 70110000.pwm: DFLL_PWM regulator is available now
[    0.531351] vdd-cpu: 708 <--> 1322 mV at 708 mV 
[    0.531415] pwm-regulator pwm_regulators:pwm-regulator@0: PWM regulator registration passed
[    0.532634] vdd-gpu: applied init 1000000uV constraint
[    0.532665] vdd-gpu: 710 <--> 1320 mV at 1000 mV 
[    0.532728] pwm-regulator pwm_regulators:pwm-regulator@1: PWM regulator registration passed
[    0.533166] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.533309] No Device Node present for smmu client: serial8250 !!
[    0.533337] platform serial8250: No iommus property found in DT node, got swgids from fixup(101004000)
[    0.533374] No Device Node present for smmu client: serial8250 !!
[    0.533398] platform serial8250: No iommus property found in DT node, got swgids from fixup(101004000)
[    0.534526] No Device Node present for smmu client: serial8250 !!
[    0.534557] serial8250 serial8250: No iommus property found in DT node, got swgids from fixup(101004000)
[    0.534635] No Device Node present for smmu client: serial8250 !!
[    0.534662] serial8250 serial8250: No iommus property found in DT node, got swgids from fixup(101004000)
[    0.535342] console [ttyS0] disabled
[    0.535411] 70006000.serial: ttyS0 at MMIO 0x70006000 (irq = 320, base_baud = 25500000) is a Tegra
[    2.577983] console [ttyS0] enabled
[    2.579342] 70006040.serial: ttyTHS1 at MMIO 0x70006040 (irq = 321, base_baud = 0) is a TEGRA_UART
[    2.579811] 70006200.serial: ttyTHS2 at MMIO 0x70006200 (irq = 322, base_baud = 0) is a TEGRA_UART
[    2.580152] serial-tegra 70006300.serial: RX in PIO mode
[    2.580256] 70006300.serial: ttyTHS3 at MMIO 0x70006300 (irq = 323, base_baud = 0) is a TEGRA_UART
[    2.581816] Console: switching to colour frame buffer device 80x30
[    2.582621] gk20a 57000000.gpu: platform probe failed
[    2.620903] brd: module loaded
[    2.626440] loop: module loaded
[    2.627080] zram: Added device: zram0
[    2.627090] Silicon Labs C2 port support v. 0.51.0 - (C) 2007 Rodolfo Giometti
[    2.627316] nct1008_nct72 0-004c: find device tree node, parsing dt
[    2.627322] nct1008_nct72 0-004c: starting parse dt
[    2.627401] nct1008_nct72 0-004c: success parsing dt
[    2.627646] nct1008_nct72 0-004c: success in enabling tmp451 VDD rail
[    2.717015] tegradc tegradc.1: fb registered
[    2.750427] tmp451: Enabled overheat logging at 102.00C
[    2.757914] nct1008_nct72 0-004c: nct1008_probe: initialized
[    2.768547] THERMAL EST: found 2 subdevs
[    2.774574] THERMAL EST num_resources: 0
[    2.780505] [THERMAL EST subdev 0]
[    2.785896] [THERMAL EST subdev 1]
[    2.791550] thermal thermal_zone7: Registering thermal zone thermal_zone7 for type thermal-fan-est
[    2.804335] THERMAL EST: thz register success.
[    2.810788] THERMAL EST: end of probe, return err: 0
[    2.817675] tegra_profiler: Branch: Dev
[    2.823302] tegra_profiler: Version: 1.109
[    2.829106] tegra_profiler: Samples version: 37
[    2.835290] tegra_profiler: IO version: 21
[    2.840992] armv8_pmu: imp: 0x41, idcode: 0x1
[    2.846945] armv8_pmu: [0] arch: AA64 PmuV3 ARM CORTEX-A57, type: 5, ver: 0
[    2.855586] armv8_pmu: imp: 0x41, idcode: 0x1
[    2.861620] armv8_pmu: [1] arch: AA64 PmuV3 ARM CORTEX-A57, type: 5, ver: 0
[    2.870288] armv8_pmu: imp: 0x41, idcode: 0x1
[    2.876287] armv8_pmu: [2] arch: AA64 PmuV3 ARM CORTEX-A57, type: 5, ver: 0
[    2.884917] armv8_pmu: imp: 0x41, idcode: 0x1
[    2.890929] armv8_pmu: [3] arch: AA64 PmuV3 ARM CORTEX-A57, type: 5, ver: 0
[    2.899849] tegra_profiler: auth: init
[    2.905888] tegra-ahci 70027000.sata: Missing devslp-active state
[    2.914745] Rounding down aligned max_sectors from 4294967295 to 4294967288
[    2.924075] spi-tegra114 7000d400.spi: Static pin configuration used
[    2.933084] spi-tegra114 7000da00.spi: Static pin configuration used
[    2.942680] tun: Universal TUN/TAP device driver, 1.6
[    2.949539] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    2.957982] PPP generic driver version 2.4.2
[    2.964328] PPP BSD Compression module registered
[    2.970896] PPP Deflate Compression module registered
[    2.977779] PPP MPPE Compression module registered
[    2.984381] NET: Registered protocol family 24
[    2.990716] usbcore: registered new interface driver r8152
[    2.998095] usbcore: registered new interface driver asix
[    3.005356] usbcore: registered new interface driver ax88179_178a
[    3.013315] usbcore: registered new interface driver cdc_ether
[    3.021023] usbcore: registered new interface driver smsc95xx
[    3.028593] usbcore: registered new interface driver net1080
[    3.036012] usbcore: registered new interface driver cdc_subset
[    3.043639] usbcore: registered new interface driver zaurus
[    3.050884] usbcore: registered new interface driver cdc_ncm
[    3.058226] usbcore: registered new interface driver usb-storage
[    3.065821] usbcore: registered new interface driver usbserial
[    3.073124] usbcore: registered new interface driver ftdi_sio
[    3.080267] usbserial: USB Serial support registered for FTDI USB Serial Device
[    3.090294] usbcore: registered new interface driver option
[    3.097273] usbserial: USB Serial support registered for GSM modem (1-port)
[    3.105668] usbcore: registered new interface driver pl2303
[    3.112724] usbserial: USB Serial support registered for pl2303
[    3.121133] tegra-xudc-new 700d0000.xudc: usb2 phy is not available yet
[    3.261156] max77686-rtc max77620-rtc: rtc core: registered max77620-rtc as rtc1
[    3.273703] tegra_rtc 7000e000.rtc: rtc core: registered 7000e000.rtc as rtc0
[    3.282474] tegra_rtc 7000e000.rtc: Tegra internal Real Time Clock
[    3.290732] i2c /dev entries driver
[    3.297783] IR NEC protocol handler initialized
[    3.303896] IR Sharp protocol handler initialized
[    3.310214] IR XMP protocol handler initialized
[    3.316456] usbcore: registered new interface driver uvcvideo
[    3.323902] USB Video Class driver (1.1.1)
[    3.330003] max77620-power max77620-power: Event recorder REG_NVERC : 0x0
[    3.340648] tegra_soctherm 700e2000.soctherm: pllx_offset tz:0 max:14, min:2
[    3.349640] tegra_soctherm 700e2000.soctherm: pllx_offset tz:1 max:8, min:4
[    3.359053] tegra_soctherm 700e2000.soctherm: thermtrip: will shut down when cpu reaches 102500 mC
[    3.371917] tegra_soctherm 700e2000.soctherm: throttrip: will throttle when cpu reaches 100500 mC
[    3.385269] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    3.398983] tegra_soctherm 700e2000.soctherm: thermtrip: will shut down when gpu reaches 103000 mC
[    3.412406] tegra_soctherm 700e2000.soctherm: throttrip: will throttle when gpu reaches 101000 mC
[    3.426097] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    3.440052] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature 2147483647 forced to 127000
[    3.453845] tegra_soctherm 700e2000.soctherm: thermtrip: will shut down when pll reaches 127000 mC
[    3.467580] tegra_soctherm 700e2000.soctherm: throttrip: pll: missing hot temperature
[    3.480791] tegra_soctherm 700e2000.soctherm: failed to register sensor: -19
[    3.491960] tegra_aotag tegra-aotag: Registering sensor 0
[    3.500062] tegra_aotag tegra-aotag: Bound to TZ : ID 0
[    3.507862] tegra_aotag tegra-aotag: Probe done [SUCCESS]:0
[    3.516748] FAN: coudln't get the regulator
[    3.524531] tegra-wdt 60005000.timer: initialized (heartbeat = 120 sec, nowayout = 1)
[    3.538137] device-mapper: uevent: version 1.0.3
[    3.545678] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[    3.562463] sdhci: Secure Digital Host Controller Interface driver
[    3.571227] sdhci: Copyright(c) Pierre Ossman
[    3.578088] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.586926] sdhci-tegra sdhci-tegra.3: Parent select= pll_p rate=408000000
[    3.590215] tegra-se 70012000.se: tegra_se_probe: complete
[    3.590878] hidraw: raw HID events driver (C) Jiri Kosina
[    3.593807] usbcore: registered new interface driver usbhid
[    3.593809] usbhid: USB HID core driver
[    3.620004] tegra-i2c 7000c400.i2c: no acknowledge from address 0x42
[    3.620056] ina3221x 1-0042: ina3221 reset failure status: 0xffffff87
[    3.620404] ina3221x: probe of 1-0042 failed with error -121
[    3.626120] tegra-i2c 7000c400.i2c: no acknowledge from address 0x43
[    3.626166] ina3221x 1-0043: ina3221 reset failure status: 0xffffff87
[    3.626501] ina3221x: probe of 1-0043 failed with error -121
[    3.627125] parse_throttle_dt_data: Num cap clks = 6
[    3.627131] parse_throttle_dt_data: clk=cclk_g type=2
[    3.627141] parse_throttle_dt_data: clk=gpu type=4
[    3.627178] parse_throttle_dt_data: clk=cap.throttle.c2bus type=0
[    3.627211] parse_throttle_dt_data: clk=cap.throttle.c3bus type=0
[    3.627251] parse_throttle_dt_data: clk=cap.throttle.sclk type=0
[    3.627255] parse_throttle_dt_data: clk=emc type=3
[    3.635192] tegra_throttle_probe: probe successful. #cdevs=4
[    3.635445] tegra21x_actmon 6000c800.actmon: in actmon_register()...
[    3.636851] tegra21x_actmon 6000c800.actmon: initialization Completed for the device mc_all
[    3.638386] tegra124-dfll 70110000.clock: config PMU interface as PWM
[    3.644056] No Device Node present for smmu client: snd-soc-dummy !!
[    3.644065] platform snd-soc-dummy: No iommus property found in DT node, got swgids from fixup(101004000)
[    3.644073] No Device Node present for smmu client: snd-soc-dummy !!
[    3.644079] platform snd-soc-dummy: No iommus property found in DT node, got swgids from fixup(101004000)
[    3.644306] No Device Node present for smmu client: snd-soc-dummy !!
[    3.644313] snd-soc-dummy snd-soc-dummy: No iommus property found in DT node, got swgids from fixup(101004000)
[    3.644347] No Device Node present for smmu client: snd-soc-dummy !!
[    3.644353] snd-soc-dummy snd-soc-dummy: No iommus property found in DT node, got swgids from fixup(101004000)
[    3.660756] tegra210-i2s tegra210-i2s.0: Missing prop fsync-width for I2S0
[    3.661834] tegra210-i2s tegra210-i2s.2: Missing prop fsync-width for I2S2
[    3.662103] tegra210-i2s tegra210-i2s.3: Missing prop fsync-width for I2S3
[    3.662493] tegra210-i2s tegra210-i2s.4: Missing prop fsync-width for I2S4
[    3.667951] OPE platform probe
[    3.668135] OPE platform probe successful
[    3.668193] OPE platform probe
[    3.668372] OPE platform probe successful
[    3.670191] tegra-snd-t210ref-mobile-rt565x sound: Failed to get HP Det GPIO, should be handled by codec
[    3.703665] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF1 <-> ADMAIF1 mapping ok
[    3.703900] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF2 <-> ADMAIF2 mapping ok
[    3.704130] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF3 <-> ADMAIF3 mapping ok
[    3.704363] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF4 <-> ADMAIF4 mapping ok
[    3.704590] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF5 <-> ADMAIF5 mapping ok
[    3.704815] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF6 <-> ADMAIF6 mapping ok
[    3.705047] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF7 <-> ADMAIF7 mapping ok
[    3.705276] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF8 <-> ADMAIF8 mapping ok
[    3.705508] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF9 <-> ADMAIF9 mapping ok
[    3.705735] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF10 <-> ADMAIF10 mapping ok
[    3.727883] input: tegra-snd-t210ref-mobile-rt565x Headphone Jack as /devices/sound/sound/card1/input0
[    3.728926] tegra-snd-t210ref-mobile-rt565x sound: codec-dai "dit-hifi" registered
[    3.728932] tegra-snd-t210ref-mobile-rt565x sound: This is a dummy codec
[    3.729784] GACT probability NOT on
[    3.729796] Mirror/redirect action on
[    3.729810] u32 classifier
[    3.729812]     Actions configured
[    3.729823] Netfilter messages via NETLINK v0.30.
[    3.729874] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    3.730302] ctnetlink v0.93: registering with nfnetlink.
[    3.730937] xt_time: kernel timezone is -0000
[    3.731095] ipip: IPv4 over IPv4 tunneling driver
[    3.731760] ip_tables: (C) 2000-2006 Netfilter Core Team
[    3.731890] arp_tables: (C) 2002 David S. Miller
[    3.731955] Initializing XFRM netlink socket
[    3.732801] NET: Registered protocol family 10
[    3.733828] mip6: Mobile IPv6
[    3.733857] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    3.734046] sit: IPv6 over IPv4 tunneling driver
[    3.735224] NET: Registered protocol family 17
[    3.735252] NET: Registered protocol family 15
[    3.735289] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    3.735322] Key type dns_resolver registered
[    3.743536] Registered cp15_barrier emulation handler
[    3.751394] isp 54600000.isp: initialized
[    3.752801] isp 54680000.isp: initialized
[    3.756804] clk_cbus_recalc_rate: no gbus parent
[    3.756810] clk_cbus_round_rate: no gbus parent
[    3.756814] clk_cbus_round_rate: no gbus parent
[    3.756821] clk_cbus_recalc_rate: no gbus parent
[    3.771798] clk_cbus_recalc_rate: no gbus parent
[    3.771803] clk_cbus_round_rate: no gbus parent
[    3.771807] clk_cbus_round_rate: no gbus parent
[    3.771813] clk_cbus_recalc_rate: no gbus parent
[    3.771837] tegra_dvfs: GPU-cap: registered
[    3.771932] tegra dvfs: vdd-cpu: nominal 1226mV, offset 708000uV, step 19200uV, scaling enabled
[    3.771936] tegra dvfs: vdd-core: nominal 1075mV, offset 600000uV, step 12500uV, scaling enabled
[    3.771940] tegra dvfs: vdd-gpu: nominal 1090mV, offset 710000uV, step 10000uV, scaling enabled
[    3.869702] input: tegra-hda HDMI/DP,pcm=3 as /devices/70030000.hda/sound/card0/input1
[    3.886794] tegra_dvfs: vdd-gpu-vts: registered
[    3.891536] xhci-tegra 70090000.xusb: can't get usb3-0 phy (-517)
[    3.892268] tegra21x-padctl-uphy 7009f000.pinctrl: padctl mmio start 0x000000007009f000 end 0x000000007009ffff
[    3.892280] tegra21x-padctl-uphy 7009f000.pinctrl: TEGRA_FUSE_SKU_CALIB_0 0x8a49410
[    3.892287] tegra21x-padctl-uphy 7009f000.pinctrl: TEGRA_FUSE_USB_CALIB_EXT_0 0x4
[    3.893640] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-0 is used by XUSB
[    3.893650] tegra21x-padctl-uphy 7009f000.pinctrl: using UTMI port 0 for otg
[    3.893658] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-2 is used by XUSB
[    3.893672] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 5, set usb3_lanes = 0x20
[    3.893687] tegra21x-padctl-uphy 7009f000.pinctrl: USB3 port 1 maps to USB2 port 2
[    3.893694] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-1 is used by XUSB
[    3.893707] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 6, set usb3_lanes = 0x60
[    3.893720] tegra21x-padctl-uphy 7009f000.pinctrl: USB3 port 0 maps to USB2 port 1
[    3.893735] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 1, set pcie_lanes = 0x2
[    3.893753] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 2, set pcie_lanes = 0x6
[    3.893770] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 3, set pcie_lanes = 0xe
[    3.893786] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 4, set pcie_lanes = 0x1e
[    3.893797] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-3 is used by XUSB
[    3.893808] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 0, set usb3_lanes = 0x61
[    3.893820] tegra21x-padctl-uphy 7009f000.pinctrl: USB3 port 2 maps to USB2 port 3
[    3.893834] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 7, set sata_lanes = 0x80
[    3.894647] usb-vbus1: supplied by vdd-3v3
[    3.897223] tegra21x-padctl-uphy 7009f000.pinctrl: Done tegra21x_padctl_uphy_probe
[    3.899928] tegra-pcie 1003000.pcie-controller: 4x1, 1x1 configuration
[    3.900162] tegra-pcie 1003000.pcie-controller: PCIE: Enable power rails
[    3.900870] clk_cbus_round_rate: no gbus parent
[    3.900877] tegra_gpu_edp gpu_edp: unable to get max GPU freq
[    3.901257] tegra-pcie 1003000.pcie-controller: probing port 0, using 4 lanes
[    3.901466] tegra-ahci 70027000.sata: Missing devslp-active state
[    3.902471] tegra-ahci 70027000.sata: AHCI 0001.0301 32 slots 2 ports 3 Gbps 0x1 impl platform mode
[    3.902482] tegra-ahci 70027000.sata: flags: 64bit ncq sntf pm led pmp pio slum part deso sadm apst 
[    3.902696] tegra-pcie 1003000.pcie-controller: probing port 1, using 1 lanes
[    3.903476] gk20a 57000000.gpu: GPCPLL initial settings: NA mode, M=1, N=34, P=3
[    3.904075] scsi host0: tegra_ahci
[    3.904943] scsi host1: tegra_ahci
[    3.905274] ata1: SATA max UDMA/133 mmio [mem 0x70027000-0x70028fff] port 0x100 irq 370
[    3.905277] ata2: DUMMY
[    3.908641] tegra-xudc-new 700d0000.xudc: USB charger detection disabled
[    3.914778] tegra-xudc-new 700d0000.xudc: entering ELPG
[    3.915391] tegra21x-padctl-uphy 7009f000.pinctrl: trying to assert IDDQ while XUSB partitions are on
[    3.915789] tegra-xudc-new 700d0000.xudc: entering ELPG done
[    3.981394] tegra_core_action core_dvfs_cdev_floor: Tegra CORE DVFS 'floor cooling device' registered
[    4.005895] tegra_core_action core_dvfs_cdev_cap: Tegra CORE DVFS 'cap cooling device' registered
[    4.006345] tegra_dfll_action dfll-cdev-cap: Tegra DFLL 'cap cooling device' registered
[    4.029552] tegra_dfll_action dfll-cdev-floor: Tegra DFLL 'floor cooling device' registered
[    4.033538] xhci-tegra 70090000.xusb: UTMI port 0 has OTG_CAP
[    4.033540] xhci-tegra 70090000.xusb: No USB3 port has OTG_CAP
[    4.037111] xhci-tegra 70090000.xusb: Direct firmware load for tegra21x_xusb_firmware failed with error -2
[    4.037113] xhci-tegra 70090000.xusb: Falling back to user helper
[    4.088551] input: gpio-keys as /devices/gpio-keys/input/input2
[    4.122907] tegra_rtc 7000e000.rtc: setting system clock to 2017-10-05 12:03:25 UTC (1507205005)
[    4.123725] vi 54080000.vi: vi_probe: ++
[    4.234654] ata1: SATA link down (SStatus 0 SControl 300)
[    4.342209] tegra-pcie 1003000.pcie-controller: link 0 down, retrying
[    4.369132] vi 54080000.vi: initialized
[    4.508403] vi 54080000.vi: all channel register failed
[    4.515567] Disable partitions left on by BL
[    4.515569]   disb
[    4.530158] DRAM derating cdev registered.
[    4.531053] vdd-cpu-fixed: disabling
[    4.531061] vddio-sdmmc1: disabling
[    4.541145] vdd-cam-hv: disabling
[    4.552216] avdd-ts-hv: disabling
[    4.560342] vdd-ts: disabling
[    4.569649] max77620-gpio7: disabling
[    4.578282] lcd-bl-en: disabling
[    4.578286] en-vdd-sd: disabling
[    4.578288] aux-3v3: disabling
[    4.578290] snsr_pm: disabling
[    4.578292] vdd-disp-3v0: disabling
[    4.578294] usb-vbus1: disabling
[    4.578296] rtl-5v0: disabling
[    4.578297] en-usb-vbus2: disabling
[    4.578299] en-vdd-vcm-2v8: disabling
[    4.605508] ALSA device list:
[    4.605511]   #0: tegra-hda at 0x70038000 irq 348
[    4.605512]   #1: tegra-snd-t210ref-mobile-rt565x
[    4.751074] tegra-pcie 1003000.pcie-controller: link 0 down, retrying
[    4.836666] sdhci-tegra sdhci-tegra.3: Parent select= pll_c4_out2 rate=199680000
[    4.845047] sdhci-tegra sdhci-tegra.3: Client registration for eMC Successful
[    4.886739] mmc0: SDHCI controller on sdhci-tegra.3 [sdhci-tegra.3] using ADMA 64-bit with 64 bit addr
[    4.897310] sdhci-tegra sdhci-tegra.1: Parent select= pll_p rate=408000000
[    4.904833] sdhci-tegra sdhci-tegra.1: Client registration for eMC Successful
[    4.946780] mmc1: SDHCI controller on sdhci-tegra.1 [sdhci-tegra.1] using ADMA 64-bit with 64 bit addr
[    4.957673] sdhci-tegra sdhci-tegra.0: Got CD GPIO
[    4.963165] sdhci-tegra sdhci-tegra.0: Got WP GPIO
[    4.968689] sdhci-tegra sdhci-tegra.0: Parent select= pll_p rate=408000000
[    4.976265] sdhci-tegra sdhci-tegra.0: wakeup init done, cd_irq: 262
[    4.983329] sdhci-tegra sdhci-tegra.0: Client registration for eMC Successful
[    4.992640] en-vdd-sd: supplied by vdd-3v3
[    5.003214] mmc0: MAN_BKOPS_EN bit is not set
[    5.017752] mmc0: Skipping tuning since strobe enabled
[    5.029949] mmc0: new HS400 MMC card at address 0001
[    5.034698] mmc2: SDHCI controller on sdhci-tegra.0 [sdhci-tegra.0] using ADMA 64-bit with 64 bit addr
[    5.036117] Waiting for root device /dev/mmcblk0p1...
[    5.052727] mmcblk0: mmc0:0001 016G32 14.7 GiB 
[    5.058300] mmcblk0rpmb: mmc0:0001 016G32 partition 3 4.00 MiB
[    5.066783]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18
[    5.116158] mmc1: queuing unknown CIS tuple 0x80 (5 bytes)
[    5.139863] EXT4-fs (mmcblk0p1): couldn't mount as ext3 due to feature incompatibilities
[    5.150834] EXT4-fs (mmcblk0p1): couldn't mount as ext2 due to feature incompatibilities
[    5.214978] tegra-pcie 1003000.pcie-controller: link 0 down, retrying
[    5.224224] tegra-pcie 1003000.pcie-controller: link 0 down, ignoring
[    5.368341] mmc1 tuning done saved tap delay=46
[    5.373685] mmc1: hw tuning done ...
[    5.378046] mmc1: tuning_window[0]: 0xe7ffffff
[    5.383294] mmc1: tuning_window[1]: 0xffffffff
[    5.388522] mmc1: tuning_window[2]: 0xfffffff1
[    5.393731] mmc1: tuning_window[3]: 0x7ffffc7f
[    5.398923] mmc1: tuning_window[4]: 0x0
[    5.403473] mmc1: tuning_window[5]: 0x0
[    5.408004] mmc1: tuning_window[6]: 0x0
[    5.412515] mmc1: tuning_window[7]: 0x0
[    5.417005] sdhci: Tap value: 46 | Trim value: 8
[    5.418343] EXT4-fs (mmcblk0p1): 33 orphan inodes deleted
[    5.418345] EXT4-fs (mmcblk0p1): recovery complete
[    5.433019] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[    5.433040] VFS: Mounted root (ext4 filesystem) on device 179:1.
[    5.434513] devtmpfs: mounted
[    5.434929] Freeing unused kernel memory: 1208K (ffffffc001184000 - ffffffc0012b2000)
[    5.434951] Freeing alternatives memory: 76K (ffffffc0012b2000 - ffffffc0012c5000)
[    5.471525] sdhci: SDMMC_VENDOR_INTR_STATUS[0x108]: 0x40000
[    5.480664] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
[    5.486846] mmc1: new ultra high speed SDR104 SDIO card at address 0001
[    5.496400] random: systemd: uninitialized urandom read (16 bytes read, 86 bits of entropy available)
[    5.508798] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[    5.529394] systemd[1]: Detected architecture arm64.
[    5.543328] systemd[1]: Set hostname to <tegra-ubuntu>.
[    5.561056] random: systemd: uninitialized urandom read (16 bytes read, 87 bits of entropy available)
[    5.573008] random: systemd: uninitialized urandom read (16 bytes read, 88 bits of entropy available)
[    5.585024] random: systemd: uninitialized urandom read (16 bytes read, 88 bits of entropy available)
[    5.603997] random: systemd-cryptse: uninitialized urandom read (16 bytes read, 88 bits of entropy available)
[    5.618720] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 89 bits of entropy available)
[    5.618797] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 89 bits of entropy available)
[    5.642628] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 90 bits of entropy available)
[    5.654656] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 90 bits of entropy available)
[    5.670376] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 90 bits of entropy available)
[    5.754746] tegra-pcie 1003000.pcie-controller: link 1 down, retrying
[    5.804878] systemd[1]: Reached target Swap.
[    5.811525] systemd[1]: Listening on LVM2 poll daemon socket.
[    5.819624] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    5.830575] systemd[1]: Listening on Syslog Socket.
[    5.837759] systemd[1]: Listening on Journal Socket.
[    5.845032] systemd[1]: Listening on Journal Audit Socket.
[    5.852695] systemd[1]: Reached target User and Group Name Lookups.
[    5.861115] systemd[1]: Listening on LVM2 metadata daemon socket.
[    5.869346] systemd[1]: Listening on udev Kernel Socket.
[    5.876768] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[    5.885389] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    5.894448] systemd[1]: Listening on udev Control Socket.
[    5.901890] systemd[1]: Listening on Journal Socket (/dev/log).
[    5.909939] systemd[1]: Created slice System Slice.
[    5.917472] systemd[1]: Started Braille Device Support.
[    5.925789] systemd[1]: Starting Journal Service...
[    5.932822] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    5.942525] systemd[1]: Created slice system-getty.slice.
[    5.950776] systemd[1]: Mounting Debug File System...
[    5.958659] systemd[1]: Starting Create Static Device Nodes in /dev...
[    5.968156] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
[    5.982137] systemd[1]: Starting Remount Root and Kernel File Systems...
[    6.001815] systemd[1]: Starting Load Kernel Modules...
[    6.009211] systemd[1]: Created slice User and Session Slice.
[    6.017028] systemd[1]: Reached target Encrypted Volumes.
[    6.025167] systemd[1]: Reached target Remote File Systems (Pre).
[    6.033583] systemd[1]: Reached target Remote File Systems.
[    6.041224] systemd[1]: Reached target Slices.
[    6.049137] systemd[1]: Started Remount Root and Kernel File Systems.
[    6.060746] systemd[1]: Starting Load/Save Random Seed...
[    6.079642] systemd[1]: Starting udev Coldplug all Devices...
[    6.089003] systemd[1]: Mounted Debug File System.
[    6.096430] systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
[    6.108069] systemd[1]: Failed to start Load Kernel Modules.
[    6.116923] systemd[1]: systemd-modules-load.service: Unit entered failed state.
[    6.127077] systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
[    6.137279] systemd[1]: Started Journal Service.
[    6.175127] tegra-pcie 1003000.pcie-controller: link 1 down, retrying
[    6.202863] systemd-journald[203]: Received request to flush runtime journal from PID 1
[    6.402009] xhci-tegra 70090000.xusb: cannot find firmware....retry after 1 second
[    6.462606] random: nonblocking pool is initialized
[    6.610619] tegra-pcie 1003000.pcie-controller: link 1 down, retrying
[    6.620978] tegra-pcie 1003000.pcie-controller: link 1 down, ignoring
[    6.630223] tegra-pcie 1003000.pcie-controller: PCIE: no end points detected
[    6.639431] tegra-pcie 1003000.pcie-controller: PCIE: Disable power rails
[    6.792993] cfg80211: World regulatory domain updated:
[    6.799606] cfg80211:  DFS Master region: unset
[    6.799607] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    6.799610] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    6.799613] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    6.799615] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[    6.799617] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    6.799620] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[    6.799623] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[    6.799625] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    6.799627] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[    7.416321] xhci-tegra 70090000.xusb: Firmware timestamp: 2016-11-24 02:31:08 UTC, Version: 50.18 release
[    7.445852] xhci-tegra 70090000.xusb: xHCI Host Controller
[    7.452929] xhci-tegra 70090000.xusb: new USB bus registered, assigned bus number 1
[    7.463449] xhci-tegra 70090000.xusb: hcc params 0x0184f525 hci version 0x100 quirks 0x00010810
[    7.463477] xhci-tegra 70090000.xusb: irq 319, io mem 0x70090000
[    7.463586] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    7.463589] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    7.463592] usb usb1: Product: xHCI Host Controller
[    7.463594] usb usb1: Manufacturer: Linux 4.4.38+ xhci-hcd
[    7.463596] usb usb1: SerialNumber: 70090000.xusb
[    7.463948] hub 1-0:1.0: USB hub found
[    7.463972] hub 1-0:1.0: 5 ports detected
[    7.494680] xhci-tegra 70090000.xusb: xHCI Host Controller
[    7.494688] xhci-tegra 70090000.xusb: new USB bus registered, assigned bus number 2
[    7.494811] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    7.494814] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    7.494817] usb usb2: Product: xHCI Host Controller
[    7.494819] usb usb2: Manufacturer: Linux 4.4.38+ xhci-hcd
[    7.494821] usb usb2: SerialNumber: 70090000.xusb
[    7.495150] hub 2-0:1.0: USB hub found
[    7.495174] hub 2-0:1.0: 4 ports detected
[    7.807138] usb 2-1: new SuperSpeed USB device number 2 using xhci-tegra
[    7.827822] usb 2-1: New USB device found, idVendor=0955, idProduct=09ff
[    7.834640] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[    7.834642] usb 2-1: Product: USB 10/100/1000 LAN
[    7.834645] usb 2-1: Manufacturer: Nvidia
[    7.834647] usb 2-1: SerialNumber: 000001000000
[    7.836187] xhci-tegra 70090000.xusb: tegra_xhci_mbox_work mailbox command 6
[    7.837146] xhci-tegra 70090000.xusb: tegra_xhci_mbox_work mailbox command 6
[    7.837918] xhci-tegra 70090000.xusb: tegra_xhci_mbox_work mailbox command 6
[    7.955469] usb 2-1: reset SuperSpeed USB device number 2 using xhci-tegra
[    8.016016] r8152 2-1:1.0 eth0: v2.03.3 (2015/01/29)
[    8.023903] r8152 2-1:1.0 eth0: This product is covered by one or more of the following patents:
               		US6,570,884, US6,115,776, and US6,327,625.
               
[    9.100237] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    9.178789] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   10.778904] Setting pll_a = 45158400 Hz clk_out = 11289600 Hz
[   10.829425] Setting pll_a = 45158400 Hz clk_out = 11289600 Hz
[   10.870511] Setting pll_a = 45158400 Hz clk_out = 11289600 Hz
[   10.916673] Setting pll_a = 45158400 Hz clk_out = 11289600 Hz
[   10.926163] Setting pll_a = 45158400 Hz clk_out = 11289600 Hz
[   10.938355] Setting pll_a = 45158400 Hz clk_out = 11289600 Hz
[   10.969194] Setting pll_a = 45158400 Hz clk_out = 11289600 Hz
[   10.978903] Setting pll_a = 45158400 Hz clk_out = 11289600 Hz
[   11.006361] Setting pll_a = 45158400 Hz clk_out = 11289600 Hz
[   11.053294] Setting pll_a = 45158400 Hz clk_out = 11289600 Hz
[   11.563567] usb 2-2: new SuperSpeed USB device number 3 using xhci-tegra
[   11.624703] usb 2-2: New USB device found, --
[   11.635474] usb 2-2: New USB device strings: --
[   11.654699] usb 2-2: Product: --
[   11.659785] usb 2-2: Manufacturer: --
[   11.674615] usb 2-2: SerialNumber:--
[   12.177531] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   21.691560] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[   29.908945] usb 2-2: USB disconnect, device number 3
[   36.575161] usb 1-4: new high-speed USB device number 2 using xhci-tegra
[   36.629892] usb 1-4: New USB device found, --
[   36.637080] usb 1-4: New USB device strings: --
[   36.644520] usb 1-4: Product: --
[   36.649787] usb 1-4: Manufacturer: --
[   36.655125] usb 1-4: SerialNumber: --
[   40.685067] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[   51.173780] usb 1-4: USB disconnect, device number 2
[   55.622508] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[   74.352402] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[ 2324.173808] usb 2-2: new SuperSpeed USB device number 4 using xhci-tegra
[ 2324.226496] usb 2-2: New USB device found, idVendor=--
[ 2324.233387] usb 2-2: New USB device strings: --
[ 2324.242809] usb 2-2: Product: --
[ 2324.248678] usb 2-2: Manufacturer: --
[ 2324.255440] usb 2-2: SerialNumber: --

What do you see with “lsusb -t”? The tree view gives speed of a given device where “480M” is USB2 and “5000M” is USB3. The “root_hub” would be what you are interested in seeing the speed for.

When it is connected to the default USB3 port, “lsusb -t” returns:

/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-tegra/4p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
    |__ Port 2: Dev 5, If 0, Class=Miscellaneous Device, Driver=, 5000M
    |__ Port 2: Dev 5, If 1, Class=Miscellaneous Device, Driver=, 5000M
    |__ Port 2: Dev 5, If 2, Class=Miscellaneous Device, Driver=, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-tegra/5p, 480M

and when it is connected to the second port where we want to activate USB3.0:

/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-tegra/4p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-tegra/5p, 480M
    |__ Port 4: Dev 4, If 0, Class=Miscellaneous Device, Driver=, 480M
    |__ Port 4: Dev 4, If 1, Class=Miscellaneous Device, Driver=, 480M
    |__ Port 4: Dev 4, If 2, Class=Miscellaneous Device, Driver=, 480M

so the functionality is the same as the default kernel. Maybe I made a mistake in updating the kernel files and flashing. Are the modifications I made on the device tree file visible in the dmesg output?

The changes made to the device tree file according the the guide were:

pinctrl@7009f000 {
[...]
pinmux {
[...]
pcie-m2 {
nvidia,lanes = "uphy-lane-0";
nvidia,function = "pcie";
nvidia,pcie-controller = <1>;
nvidia,pcie-lane-select = <TEGRA_PADCTL_PCIE_LANE_X1>;
+  status = “disabled”;
};
+  usb2-m2 {
+  nvidia,lanes = "otg-3";
+  nvidia,function = "xusb";
+  nvidia,port-cap = <TEGRA_PADCTL_PORT_HOST_ONLY>;
+  };
+  usb3-m2 {
+  nvidia,lanes = "uphy-lane-0";
+  nvidia,function = "usb3";
+  nvidia,usb3-port = <2>;
+  nvidia,usb2-map = <3>;
+  nvidia,port-cap = <TEGRA_PADCTL_PORT_HOST_ONLY>;
+  };
};
};
[...]
xusb@70090000 {
[...]
phys = <&tegra_padctl_uphy TEGRA_PADCTL_UPHY_UTMI_P(2)>,
  <&tegra_padctl_uphy TEGRA_PADCTL_UPHY_USB3_P(1)>,
  <&tegra_padctl_uphy TEGRA_PADCTL_UPHY_UTMI_P(1)>,
  <&tegra_padctl_uphy TEGRA_PADCTL_UPHY_USB3_P(0)>,
  <&tegra_padctl_uphy TEGRA_PADCTL_UPHY_UTMI_P(0)>,
+ <&tegra_padctl_uphy TEGRA_PADCTL_UPHY_UTMI_P(3)>,
+ <&tegra_padctl_uphy TEGRA_PADCTL_UPHY_USB3_P(2)>;
phy-names = "utmi-2", "usb3-1", "utmi-1", "usb3-0", "utmi-0",
+ "utmi-3", "usb3-2";
[...]
};

Hi tlhaarslan,
Please update dTB per https://elinux.org/Jetson/TX2_DTB#TX1

And check the setting in device tree

$ xxd /proc/device-tree/xusb@70090000/phy-names
$ xxd /proc/device-tree/pcie-controller@1003000/pci@1\,0/status
$ xxd /proc/device-tree/pcie-controller@1003000/pci@1\,0/nvidia\,num-lanes
$ xxd /proc/device-tree/pcie-controller@1003000/pci@2\,0/status
$ xxd /proc/device-tree/pcie-controller@1003000/pci@2\,0/nvidia\,num-lanes
$ xxd /proc/device-tree/pinctrl@7009f000/pinmux/<control_name; ex: usb2-std-A-port0>/nvidia\,function

Please also refer to
https://devtalk.nvidia.com/default/topic/1023046/jetson-tx1/unable-to-recognize-any-devices-hooked-on-usb2-m-2-slot-/post/5210227/#5210227

Hey DaneLLL,

The patch in the second link solved the issue, thank you! Now I have two usb3.0 ports active (use case 3).

For others, I am reposting the patch from that link below; I think this should be also updated in the Platform Adaptation and Bring-Up Guide, USB3 lane mapping R28 Example 1.

From c3112f0494e148f72ff3504aab12820a7b3fd636 Mon Sep 17 00:00:00 2001
From: BH Hsieh <bhsieh@nvidia.com>
Date: Mon, 18 Sep 2017 16:01:37 +0800
Subject: [PATCH] DNI: dts: tegra210: jetson: enable usb on E3325

As USB3.0 port and PCIe x1 socket on E3325 are sharing
the same uphy lane 0 from M.2, either USB3.0 or PCIe x1
could be enabled on E3325.

Currently PCIe x1 is enabled on E3325 by default per POR.

This change enables USB3.0 port on E3325, which means
PCIe x1 is disabled on E3325 with this change.

bug 200295515

Change-Id: I07e32fceeaaf3c053ce23a5367db68646d3972a3
Signed-off-by: BH Hsieh <bhsieh@nvidia.com>
---
 .../tegra210-comms-p2530-0930.dtsi                 |  8 ++++++++
 .../tegra210-jetson-cv-base-p2597-2180-a00.dts     | 24 +++++++++++++++++++---
 2 files changed, 29 insertions(+), 3 deletions(-)

diff --git a/kernel-dts/jetson-platforms/tegra210-comms-p2530-0930.dtsi b/kernel-dts/jetson-platforms/tegra210-comms-p2530-0930.dtsi
index f9d1751..b2ffb3c 100644
--- a/kernel-dts/jetson-platforms/tegra210-comms-p2530-0930.dtsi
+++ b/kernel-dts/jetson-platforms/tegra210-comms-p2530-0930.dtsi
@@ -24,6 +24,14 @@
 			label = "wlan-default-output-high-h0",
 				"wlan-default-output-high-i0";
 		};
+
+		wlan-default-output-low {
+			gpio-hog;
+			output-low;
+			gpios = <
+				TEGRA_GPIO(I, 2) 0
+				>;
+		};
 	};
 
 	bluedroid_pm { /* BT BCM43340 in P2530 Compute Module */
diff --git a/kernel-dts/tegra210-jetson-cv-base-p2597-2180-a00.dts b/kernel-dts/tegra210-jetson-cv-base-p2597-2180-a00.dts
index 72e81fe..ef5f4d6 100644
--- a/kernel-dts/tegra210-jetson-cv-base-p2597-2180-a00.dts
+++ b/kernel-dts/tegra210-jetson-cv-base-p2597-2180-a00.dts
@@ -505,7 +505,7 @@
 				nvidia,function = "xusb";
 				nvidia,port-cap =
 					<TEGRA_PADCTL_PORT_OTG_CAP>;
-				nvidia,usb3-port-fake = <2>;
+				nvidia,usb3-port-fake = <3>;
 			};
 			usb2-std-A-port0 {
 				 nvidia,lanes = "otg-2";
@@ -553,11 +553,26 @@
 				nvidia,pcie-controller = <1>;
 				nvidia,pcie-lane-select =
 					<TEGRA_PADCTL_PCIE_LANE_X1>;
+				status = "disabled";
 			};
 			sata {
 				 nvidia,lanes = "uphy-lane-7";
 				 nvidia,function = "sata";
 			};
+			e3325-usb2-std-A {
+				nvidia,lanes = "otg-3";
+				nvidia,function = "xusb";
+				nvidia,port-cap =
+					<TEGRA_PADCTL_PORT_HOST_ONLY>;
+			};
+			e3325-usb3-std-A {
+				nvidia,lanes = "uphy-lane-0";
+				nvidia,function = "usb3";
+				nvidia,usb3-port = <2>;
+				nvidia,usb2-map = <3>;
+				nvidia,port-cap =
+					<TEGRA_PADCTL_PORT_HOST_ONLY>;
+			};
 		};
 	};
 
@@ -570,8 +585,11 @@
 			<&tegra_padctl_uphy TEGRA_PADCTL_UPHY_USB3_P(1)>,
 			<&tegra_padctl_uphy TEGRA_PADCTL_UPHY_UTMI_P(1)>,
 			<&tegra_padctl_uphy TEGRA_PADCTL_UPHY_USB3_P(0)>,
-			<&tegra_padctl_uphy TEGRA_PADCTL_UPHY_UTMI_P(0)>;
-		phy-names = "utmi-2", "usb3-1", "utmi-1", "usb3-0", "utmi-0";
+			<&tegra_padctl_uphy TEGRA_PADCTL_UPHY_UTMI_P(0)>,
+			<&tegra_padctl_uphy TEGRA_PADCTL_UPHY_UTMI_P(3)>,
+			<&tegra_padctl_uphy TEGRA_PADCTL_UPHY_USB3_P(2)>;
+		phy-names = "utmi-2", "usb3-1", "utmi-1", "usb3-0", "utmi-0", "utmi-3", "usb3-2";
+
 		nvidia,pmc-wakeup =
 			<&tegra_pmc
 				PMC_WAKE_TYPE_EVENT 41 PMC_TRIGGER_TYPE_HIGH>,
-- 
2.1.4