Issues Applying Custom Pinmux DTBO on Jetson Orin Nano (L4T 35.3.1 / JetPack 5.1.1)

I’m porting a custom carrier board for the Jetson Orin Nano and need to modify the pinmux and GPIO defaults. I followed the “Generating the Pinmux dtsi Files” procedure in the Orin NX/Nano Developer Guide and built the three DT files (pinmux.dtsi, gpio-default.dtsi, padvoltage-default.dtsi) from the NVIDIA spreadsheet and after all the process and flashing the module the result is the same if i don’t use the files generated by spreadsheet.

jtop

L4T 35.3.1, JetPack 5.1.1, Ubuntu 20.04, Orin Nano Module (P3767-0003).

Setup

Placed Orin-embedded_ia-gpio-default.dtsi in Linux_for_Tegra/bootloader/

Placed Orin-embedded_ia-pinmux.dtsi and Orin-embedded_ia-padvoltage-default.dtsi in Linux_for_Tegra/bootloader/t186ref/BCT/

Created jetson-orin-nano-devkit-custom.conf pointing to those three files as GPIOINT_CONFIG, PINMUX_CONFIG, and PMC_CONFIG.

Flashing Overlay Only

I do not want to overwrite my existing rootfs; I only want to regenerate and flash the pinmux overlays to the module. I ran:

sudo ./tools/kernel_flash/l4t_initrd_flash.sh
-p “–no-systemimg -c bootloader/t186ref/cfg/flash_t234_qspi.xml”
–network usb0
jetson-orin-nano-devkit-custom internal
| tee flash_jetson_orin_embedded_ia.log

The log reports success and indicates it compiled everything without errors.

flash_jetson_orin_embedded_ia.log (205.9 KB)

Verifying Boot Behavior

I temporarily removed all files from /boot/extlinux/ to force the SoC to load the UEFI DTB with overlays by default (per UEFI boot flow docs).

imagen

After reboot there are no pinmux or GPIO changes in Linux and the /sys/kernel/debug/gpio still show defaults.

Attempting Full Image Generation

I also tried generating the complete set of images (including extlinux.conf and DTB) without flashing:

sudo ./flash.sh
–no-flash
-c bootloader/t186ref/cfg/flash_t234_qspi.xml
jetson-orin-nano-devkit-custom internal
| tee flash_noflash.log

flash_noflash.log (8.7 KB)

I extracted the generated /boot/extlinux/extlinux.conf, the new DTB, and its accompanying DTBO. However, the system still does not pick up my overlay.

My Questions:

Critical Pinmux Question:

  • What am I missing to actually make my custom pin configuration take effect in Linux? This is my primary concern.

Debugging Tips:

  • Any suggestions on logging or tools (e.g. using cboot commands, tegrahost, etc.) to verify at which stage the custom BCT overlays are applied?

Overlay Application:

  • How can I confirm which DTB (and overlays) UEFI is actually loading at boot?

  • What else do I need to modify so that my custom DTBO gets applied automatically?

Flash Scripts:

  • Is there a recommended way to force l4t_initrd_flash.sh or flash.sh to rebuild only the DTBOs and EXTLINUX entries, without touching system.img?

  • Are there any pitfalls in my custom .conf that would prevent the overlays from being packaged?

I’ll attach relevant snippets of:

jetson-orin-nano-devkit-custom.conf and gpio pinmux dtsi config
jetson_pin_config_embedded_ia.zip (9.0 KB)

extlinux.conf and dtbo generated on image

extlinux_and_dtbo.zip (55.2 KB)

Thanks in advance for any guidance!

Hi fjserrano,

You don’t need to configure GPIOINT_CONFIG, which is used for gpio interrupt configuration.
Please just confirm Orin-embedded_ia-gpio-default.dtsi is included in Orin-embedded_ia-pinmux.dtsi

You can simply run the following command to flash QSPI only to apply the change.

$ sudo ./flash.sh -c bootloader/t186ref/cfg/flash_t234_qspi.xml jetson-orin-nano-devkit-custom internal

Please note that pinmux/gpio dtsi are loaded in early boot stage(MB1) rather than in kernel.

For DTB relates issue, please open another topic to discuss in details.
Basically, it should follow what FDT and OVERLAYS entry specified in extlinux.conf.

You can simply run the following command on your board to capture current device tree settings.

$ sudo dtc -I fs -O dts -o extracted_proc.dts /proc/device-tree

Hi again,

Thanks for the pointers, here’s what I’ve done since your last message:

Removed GPIOINT_CONFIG
I removed the GPIOINT_CONFIG line from my jetson-orin-nano-devkit-custom.conf, so now it only sets:

jetson-orin-nano-devkit-custom.conf
source "${LDK_DIR}/p3767.conf.common";

# update_flash_args_common:
update_flash_args_common()
{
	local emcfuse_bin="${1}";
	local emcpredefvalue="${2}"

	if [ ${EMC_OPT_DISABLE_FUSE_OVERRIDE} -eq 0 ]; then
		return;
	fi

	# EMCFUSE_VALUE can be passed by user
	emc_opt_disable_fuse="${DEFAULT_EMC_FUSE}";

	if [ -n "${emcpredefvalue}" ]; then
		emc_opt_disable_fuse="${emcpredefvalue}";
	elif [ -f "${emcfuse_bin}" ]; then
		emc_opt_disable_fuse=`xxd -ps "${emcfuse_bin}" | xxd -p -r | grep "OptEmcDisable" | awk '{print $2}' | sed 's/.*\(.\)/\1/'`;
	fi

	echo "emc_opt_disable_fuse:(${emc_opt_disable_fuse})"

	if [ "${board_sku}" = "0000" ] || [ "${board_sku}" = "0002" ]; then
		# use default DTB and CFG files except for TS1 & EB1 revisions
		if [ "${board_FAB}" = "TS1" ] || [ "${board_FAB}" = "EB1" ]; then
			PINMUX_CONFIG="tegra234-mb1-bct-pinmux-p3767-dp-a01.dtsi";
			PMC_CONFIG="tegra234-mb1-bct-padvoltage-p3767-dp-a01.dtsi";
			BPFDTB_FILE="tegra234-bpmp-3767-0000-a00-3509-a02.dtb";
		fi
	elif [ "${board_sku}" = "0001" ]; then
		BPFDTB_FILE="tegra234-bpmp-3767-0001-3509-a02.dtb";
		DTB_FILE="tegra234-p3767-0001-p3768-0000-a0.dtb";
	elif [ "${board_sku}" = "0003" ] || [ "${board_sku}" = "0005" ]; then
		BPFDTB_FILE="tegra234-bpmp-3767-0003-3509-a02.dtb";
		DTB_FILE="tegra234-p3767-0003-p3768-0000-a0.dtb";
	elif [ "${board_sku}" = "0004" ]; then
		BPFDTB_FILE="tegra234-bpmp-3767-0004-3509-a02.dtb";
		DTB_FILE="tegra234-p3767-0004-p3768-0000-a0.dtb";
	fi

	TBCDTB_FILE="${DTB_FILE}";
}

# update_flash_args:
update_flash_args()
{
	# All updates should go into update_flash_args_common to allow
	# for other files to include this file and override variables.
	update_flash_args_common
}

# update_emmc_cfg_for_bup:
update_emmc_cfg_for_bup()
{
	local bup_type="${1}"

	if [ "${bup_blob}" -ne 0 ] && [ "${bup_type}" == "bl" ]; then
		EMMC_CFG="flash_t234_qspi.xml";
	fi
}

DEFAULT_EMC_FUSE="0";
#PINMUX_CONFIG="tegra234-mb1-bct-pinmux-p3767-dp-a03.dtsi";
#PMC_CONFIG="tegra234-mb1-bct-padvoltage-p3767-dp-a03.dtsi";
#GPIOINT_CONFIG="Orin-embedded_ia-gpio-default.dtsi";
PINMUX_CONFIG="Orin-embedded_ia-pinmux.dtsi";
PMC_CONFIG="Orin-embedded_ia-padvoltage-default.dtsi";
BPFDTB_FILE="tegra234-bpmp-3767-0000-a02-3509-a02.dtb";
DTB_FILE="tegra234-p3767-0000-p3768-0000-a0.dtb";
TBCDTB_FILE="${DTB_FILE}";
EMMC_CFG="flash_t234_qspi_sd.xml";

If you grep the top of Orin-embedded_ia-pinmux.dtsi, you’ll see it pulls in my gpio-default dtsi, e.g.:

/dts-v1/;
#include "pinctrl-tegra.h"

#include "./Orin-embedded_ia-gpio-default.dtsi"
/ {
	pinmux@2430000 {
		pinctrl-names = "default", "drive", "unused";
		pinctrl-0 = <&pinmux_default>;
		pinctrl-1 = <&drive_default>;
		pinctrl-2 = <&pinmux_unused_lowpower>;
...
...

Flashed QSPI
I then ran exactly as you recommended:

sudo ./flash.sh -c bootloader/t186ref/cfg/flash_t234_qspi.xml jetson-orin-nano-devkit-custom internal | tee ../flash_jetson_orin_embedded_ia_20250731_1.log

flash_jetson_orin_embedded_ia_20250731_1.log (86.3 KB)

I think viewing log all is ok named my files of pinmux on log

Verified in Linux

sudo dtc -I fs -O dts -o /tmp/extracted_proc.dts /proc/device-tree

Attach the dts extracted: extracted_proc.zip (62.1 KB)

Unfortunately it still matches the stock pinmux and GPIO defaults—none of my custom settings appear, and I still don’t see my SPI/I²C nodes or alternate‐function pin-configs in /sys/kernel/debug/gpio or DTS from /proc/device-tree

/sys/kernel/debug/gpio
gpiochip1: GPIOs 316-347, parent: platform/c2f0000.gpio, tegra234-gpio-aon:
 gpio-316 (PAA.00              )
 gpio-317 (PAA.01              )
 gpio-318 (PAA.02              )
 gpio-319 (PAA.03              )
 gpio-320 (PAA.04              )
 gpio-321 (PAA.05              |fixed-regulators:reg) out hi 
 gpio-322 (PAA.06              )
 gpio-323 (PAA.07              )
 gpio-324 (PBB.00              )
 gpio-325 (PBB.01              )
 gpio-326 (PBB.02              )
 gpio-327 (PBB.03              )
 gpio-328 (PCC.00              )
 gpio-329 (PCC.01              )
 gpio-330 (PCC.02              )
 gpio-331 (PCC.03              |mux                 ) out hi 
 gpio-332 (PCC.04              )
 gpio-333 (PCC.05              )
 gpio-334 (PCC.06              )
 gpio-335 (PCC.07              )
 gpio-336 (PDD.00              )
 gpio-337 (PDD.01              )
 gpio-338 (PDD.02              )
 gpio-339 (PEE.00              )
 gpio-340 (PEE.01              )
 gpio-341 (PEE.02              )
 gpio-342 (PEE.03              )
 gpio-343 (PEE.04              |power-key           ) in  hi IRQ ACTIVE LOW
 gpio-344 (PEE.05              )
 gpio-345 (PEE.06              )
 gpio-346 (PEE.07              )
 gpio-347 (PGG.00              )
gpiochip0: GPIOs 348-511, parent: platform/2200000.gpio, tegra234-gpio:
 gpio-348 (PA.00               |fixed-regulators:reg) out lo 
 gpio-349 (PA.01               )
 gpio-350 (PA.02               )
 gpio-351 (PA.03               )
 gpio-352 (PA.04               )
 gpio-353 (PA.05               )
 gpio-354 (PA.06               )
 gpio-355 (PA.07               )
 gpio-356 (PB.00               )
 gpio-357 (PC.00               )
 gpio-358 (PC.01               )
 gpio-359 (PC.02               )
 gpio-360 (PC.03               )
 gpio-361 (PC.04               )
 gpio-362 (PC.05               )
 gpio-363 (PC.06               )
 gpio-364 (PC.07               )
 gpio-365 (PD.00               )
 gpio-366 (PD.01               )
 gpio-367 (PD.02               )
 gpio-368 (PD.03               )
 gpio-369 (PE.00               )
 gpio-370 (PE.01               )
 gpio-371 (PE.02               )
 gpio-372 (PE.03               )
 gpio-373 (PE.04               )
 gpio-374 (PE.05               )
 gpio-375 (PE.06               )
 gpio-376 (PE.07               )
 gpio-377 (PF.00               )
 gpio-378 (PF.01               )
 gpio-379 (PF.02               )
 gpio-380 (PF.03               )
 gpio-381 (PF.04               )
 gpio-382 (PF.05               )
 gpio-383 (PG.00               |force-recovery      ) in  hi IRQ ACTIVE LOW
 gpio-384 (PG.01               )
 gpio-385 (PG.02               )
 gpio-386 (PG.03               )
 gpio-387 (PG.04               )
 gpio-388 (PG.05               )
 gpio-389 (PG.06               )
 gpio-390 (PG.07               |cd                  ) in  lo IRQ 
 gpio-391 (PH.00               )
 gpio-392 (PH.01               )
 gpio-393 (PH.02               )
 gpio-394 (PH.03               )
 gpio-395 (PH.04               )
 gpio-396 (PH.05               )
 gpio-397 (PH.06               )
 gpio-398 (PH.07               )
 gpio-399 (PI.00               )
 gpio-400 (PI.01               )
 gpio-401 (PI.02               )
 gpio-402 (PI.03               )
 gpio-403 (PI.04               )
 gpio-404 (PI.05               )
 gpio-405 (PI.06               )
 gpio-406 (PJ.00               )
 gpio-407 (PJ.01               )
 gpio-408 (PJ.02               )
 gpio-409 (PJ.03               )
 gpio-410 (PJ.04               )
 gpio-411 (PJ.05               )
 gpio-412 (PK.00               )
 gpio-413 (PK.01               )
 gpio-414 (PK.02               )
 gpio-415 (PK.03               )
 gpio-416 (PK.04               )
 gpio-417 (PK.05               )
 gpio-418 (PK.06               )
 gpio-419 (PK.07               )
 gpio-420 (PL.00               )
 gpio-421 (PL.01               )
 gpio-422 (PL.02               |nvidia,pex-wake     ) in  hi ACTIVE LOW
 gpio-423 (PL.03               )
 gpio-424 (PM.00               )
 gpio-425 (PM.01               )
 gpio-426 (PM.02               )
 gpio-427 (PM.03               )
 gpio-428 (PM.04               )
 gpio-429 (PM.05               )
 gpio-430 (PM.06               )
 gpio-431 (PM.07               )
 gpio-432 (PN.00               )
 gpio-433 (PN.01               )
 gpio-434 (PN.02               )
 gpio-435 (PN.03               )
 gpio-436 (PN.04               )
 gpio-437 (PN.05               )
 gpio-438 (PN.06               )
 gpio-439 (PN.07               )
 gpio-440 (PP.00               )
 gpio-441 (PP.01               )
 gpio-442 (PP.02               )
 gpio-443 (PP.03               )
 gpio-444 (PP.04               )
 gpio-445 (PP.05               )
 gpio-446 (PP.06               )
 gpio-447 (PP.07               )
 gpio-448 (PQ.00               )
 gpio-449 (PQ.01               )
 gpio-450 (PQ.02               )
 gpio-451 (PQ.03               )
 gpio-452 (PQ.04               )
 gpio-453 (PQ.05               )
 gpio-454 (PQ.06               )
 gpio-455 (PQ.07               )
 gpio-456 (PR.00               )
 gpio-457 (PR.01               )
 gpio-458 (PR.02               )
 gpio-459 (PR.03               )
 gpio-460 (PR.04               )
 gpio-461 (PR.05               )
 gpio-462 (PX.00               )
 gpio-463 (PX.01               )
 gpio-464 (PX.02               )
 gpio-465 (PX.03               )
 gpio-466 (PX.04               )
 gpio-467 (PX.05               )
 gpio-468 (PX.06               )
 gpio-469 (PX.07               )
 gpio-470 (PY.00               )
 gpio-471 (PY.01               )
 gpio-472 (PY.02               )
 gpio-473 (PY.03               )
 gpio-474 (PY.04               )
 gpio-475 (PY.05               )
 gpio-476 (PY.06               )
 gpio-477 (PY.07               )
 gpio-478 (PZ.00               )
 gpio-479 (PZ.01               )
 gpio-480 (PZ.02               )
 gpio-481 (PZ.03               )
 gpio-482 (PZ.04               )
 gpio-483 (PZ.05               )
 gpio-484 (PZ.06               )
 gpio-485 (PZ.07               )
 gpio-486 (PAC.00              )
 gpio-487 (PAC.01              )
 gpio-488 (PAC.02              )
 gpio-489 (PAC.03              )
 gpio-490 (PAC.04              )
 gpio-491 (PAC.05              )
 gpio-492 (PAC.06              )
 gpio-493 (PAC.07              )
 gpio-494 (PAD.00              )
 gpio-495 (PAD.01              )
 gpio-496 (PAD.02              )
 gpio-497 (PAD.03              )
 gpio-498 (PAE.00              )
 gpio-499 (PAE.01              )
 gpio-500 (PAF.00              )
 gpio-501 (PAF.01              )
 gpio-502 (PAF.02              )
 gpio-503 (PAF.03              )
 gpio-504 (PAG.00              )
 gpio-505 (PAG.01              )
 gpio-506 (PAG.02              )
 gpio-507 (PAG.03              )
 gpio-508 (PAG.04              )
 gpio-509 (PAG.05              )
 gpio-510 (PAG.06              )
 gpio-511 (PAG.07              )

Any idea how I can make my custom pin configuration on boot? According to the logs everything flashes correctly, but Linux still comes up with the stock pin settings. Please help!

Thanks in advance.

It is expected since the pinmux/gpio dtsi you generated are loaded in MB1 rather than in kernel so that there would be no change in kernel DTB.

You can simply use devmem command to check the PADCTL register to verify if your change has been applied correctly.
Or you can run the following command to check current pinmux configuration.

# cat /sys/kernel/debug/pinctrl/2430000.pinmux/pinconf-groups

I’ve just checked the active pinmux state in Linux and it still doesn’t match my custom DTIs. I ran:

cat /sys/kernel/debug/pinctrl/2430000.pinmux/pinconf-groups

pinconf-groups.log (39.3 KB)

But when I load spidev in user space, it still presents as spi2 (the stock SPI2 pins), which shouldn’t even exist on my board according to my spreadsheet-generated pinmux DTIs. In my custom .dtsi I explicitly moved SPI2 pins elsewhere and re-assigned PCC00–PCC03 as GPIO outputs, yet neither the kernel device tree nor the padctl registers reflect any of those changes.

imagen


Maybe the spreadsheet is not generating correctly de dtsi??

What else can I check or modify so that my MB1‐stage pinmux overlay actually takes effect? Is there a step I’m still missing to push the updated pin configuration all the way through UEFI into the running kernel?

Thank you for any guidance!

From the pinconf-groups result you shared, it has been configured as rsvd1 in func.

9 (spi2_sck_pcc0): 
	pull=0
	tristate=0
	enable-input=0
	open-drain=1
	io-reset=1
	rcv-sel=1
	io-hv=1
	loopback=0
	schmitt=1
	pull-down-strength=0
	pull-up-strength=0
	drive-type=0
	func=rsvd1
	pad-power=0

The /dev/spidev2.0 and /dev/spidev2.1 are produced since you load the spidev driver and they are enabled in device tree.
Please also try to disable them in spi@c260000 node of device tree.
You can also check the dmesg for details.

Hi KevinFFF,

Thanks for the suggestion—here’s what I’m seeing when I try to disable SPI2 in the device tree:

$ cat /proc/device-tree/spi@c260000/status
disabled

$ sudo modprobe spidev
$ cat /proc/device-tree/spi@c260000/status
disabled

And yet /dev/spidev2.0 and /dev/spidev2.1 still appear as soon as I load the spidev driver:

$ ls -l /dev/spidev*
crw-rw---- 1 root gpio 153, 0 Jun 17 22:39 /dev/spidev0.0
crw-rw---- 1 root gpio 153, 1 Jun 17 22:39 /dev/spidev0.1
crw-rw---- 1 root gpio 153, 2 Jun 17 22:39 /dev/spidev2.0
crw-rw---- 1 root gpio 153, 3 Jun 17 22:39 /dev/spidev2.1

So it looks like SPI2’s node is truly “disabled” in the DT, but the driver still creates its /dev entries. Disabling that node doesn’t prevent spidev from claiming it.

Meanwhile, my SPI1 pinmux fragment is configured like this in the spreadsheet-generated DTI:

spi1_sck_pz3 {
nvidia,pins = “spi1_sck_pz3”;
nvidia,function = “spi1”;

};
same for spi1_miso_pz4, spi1_mosi_pz5, spi1_cs[01]_pz[67]

Yet after flashing and boot, no /dev/spidev1.* appear.

My questions now are:

  • How can I prevent the spidev driver from creating /dev/spidev2.* if its DT node is status = “disabled”?

  • What step is still missing so that SPI1 actually becomes visible when load spidev module?

  • Do I need to supply a kernel DT overlay (.dtbo) to explicitly disable SPI2 and enable SPI1, and if so, how do I reference that in extlinux.conf?

I appreciate any pointers on how to make SPI1 use the pins I defined and stop SPI2 from cluttering my device list. Thanks!

I suspect /dev/spidev2.* are created by SPI3(spi@3230000) rather than SPI2(spi@c260000).
Please share the full dmesg after you run sudo modprobe spidev for further check.

You can simply add OVERLAYS option in /boot/extlinux/extlinux.conf for this use case.

Hi @KevinFFF,

Thanks for the pointers. I tried to collect the evidence you asked for.

  1. dmesg after (re)loading spidev
    I enabled dynamic debug for spidev and spi-tegra114, reloaded the module, and captured dmesg. There are no new lines related to spidev or the SPI core when I run modprobe spidev (even with dynamic debug on). I can attach the full log if needed.
dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd421]
[    0.000000] Linux version 5.10.104-tegra (buildbrain@mobile-u64-6289-d7000) (aarch64-buildroot-linux-gnu-gcc.br_real (Buildroot 2020.08) 9.3.0, GNU ld (GNU Binutils) 2.33.1) #1 SMP PREEMPT Sun Mar 19 07:55:28 PDT 2023
[    0.000000] OF: fdt: memory scan node memory@80000000, reg size 16,
[    0.000000] OF: fdt:  - 80000000 ,  c0000000
[    0.000000] Machine model: NVIDIA Orin Nano Developer Kit
[    0.000000] efi: EFI v2.70 by EDK II
[    0.000000] efi: RTPROP=0x25f4fae98 SMBIOS=0xffff0000 SMBIOS 3.0=0x2412f0000 MEMATTR=0x240865018 ESRT=0x2408a5c18 RNG=0x264536c18 MEMRESERVE=0x24086ef18 
[    0.000000] efi: seeding entropy pool
[    0.000000] esrt: Reserving ESRT space from 0x00000002408a5c18 to 0x00000002408a5c50.
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000254400000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000026fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000fffdffff]
[    0.000000]   node   0: [mem 0x00000000fffe0000-0x00000000ffffffff]
[    0.000000]   node   0: [mem 0x0000000100000000-0x000000023bffffff]
[    0.000000]   node   0: [mem 0x000000023c000000-0x000000023e1bffff]
[    0.000000]   node   0: [mem 0x000000023e1c0000-0x000000024076ffff]
[    0.000000]   node   0: [mem 0x0000000240770000-0x000000024079ffff]
[    0.000000]   node   0: [mem 0x00000002407a0000-0x00000002407bffff]
[    0.000000]   node   0: [mem 0x00000002407c0000-0x000000024085ffff]
[    0.000000]   node   0: [mem 0x0000000240860000-0x000000024087ffff]
[    0.000000]   node   0: [mem 0x0000000240880000-0x000000024089ffff]
[    0.000000]   node   0: [mem 0x00000002408a0000-0x0000000240d27fff]
[    0.000000]   node   0: [mem 0x0000000240d28000-0x0000000240e88fff]
[    0.000000]   node   0: [mem 0x0000000240e89000-0x00000002412dffff]
[    0.000000]   node   0: [mem 0x00000002412e0000-0x00000002412fffff]
[    0.000000]   node   0: [mem 0x0000000241300000-0x000000024160ffff]
[    0.000000]   node   0: [mem 0x0000000241610000-0x000000024165ffff]
[    0.000000]   node   0: [mem 0x0000000241660000-0x000000024181ffff]
[    0.000000]   node   0: [mem 0x0000000241820000-0x00000002419fffff]
[    0.000000]   node   0: [mem 0x0000000241a00000-0x0000000241a8ffff]
[    0.000000]   node   0: [mem 0x0000000241a90000-0x0000000241c6ffff]
[    0.000000]   node   0: [mem 0x0000000241c70000-0x0000000241ccffff]
[    0.000000]   node   0: [mem 0x0000000241cd0000-0x0000000241dbffff]
[    0.000000]   node   0: [mem 0x0000000241dc0000-0x0000000241deffff]
[    0.000000]   node   0: [mem 0x0000000241df0000-0x0000000241dfffff]
[    0.000000]   node   0: [mem 0x0000000241e00000-0x0000000241eaffff]
[    0.000000]   node   0: [mem 0x0000000241eb0000-0x0000000241f4ffff]
[    0.000000]   node   0: [mem 0x0000000241f50000-0x000000024204ffff]
[    0.000000]   node   0: [mem 0x0000000242050000-0x00000002420effff]
[    0.000000]   node   0: [mem 0x00000002420f0000-0x00000002421effff]
[    0.000000]   node   0: [mem 0x00000002421f0000-0x000000024228ffff]
[    0.000000]   node   0: [mem 0x0000000242290000-0x0000000242b5ffff]
[    0.000000]   node   0: [mem 0x0000000242b60000-0x0000000242d3ffff]
[    0.000000]   node   0: [mem 0x0000000242d40000-0x00000002644effff]
[    0.000000]   node   0: [mem 0x00000002644f0000-0x000000026453ffff]
[    0.000000]   node   0: [mem 0x0000000264540000-0x0000000267ffffff]
[    0.000000]   node   0: [mem 0x0000000268200000-0x000000026860ffff]
[    0.000000]   node   0: [mem 0x000000026e000000-0x000000026fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000026fffffff]
[    0.000000] On node 0 totalpages: 2008080
[    0.000000]   DMA zone: 8192 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 524288 pages, LIFO batch:63
[    0.000000]   Normal zone: 23552 pages used for memmap
[    0.000000]   Normal zone: 1483792 pages, LIFO batch:63
[    0.000000] On node 0, zone Normal: 496 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 32 pages/cpu s90200 r8192 d32680 u131072
[    0.000000] pcpu-alloc: s90200 r8192 d32680 u131072 alloc=32*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: Virtualization Host Extensions
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] CPU features: detected: Spectre-v4
[    0.000000] alternatives: patching kernel code
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1976336
[    0.000000] Kernel command line: root=PARTUUID=9aede23d-88d0-473a-8631-41806a727110 rw rootwait rootfstype=ext4 mminit_loglevel=4 console=ttyTCU0,115200 console=ttyAMA0,115200 firmware_class.path=/etc/firmware fbcon=map:0 net.ifnames=0  
[    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 0x00000000effe0000-0x00000000fffe0000] (256MB)
[    0.000000] Memory: 7237592K/8032320K available (18496K kernel code, 3168K rwdata, 7172K rodata, 3968K init, 1418K bss, 532584K reserved, 262144K cma-reserved)
[    0.000000] random: get_random_u64 called from __kmem_cache_create+0x38/0x420 with crng_init=0
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    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] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000f440000
[    0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:608, num:70)
[    0.000000] GICv2m: range[mem 0x0f410000-0x0f41ffff], SPI[608:677]
[    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.000003] sched_clock: 56 bits at 31MHz, resolution 32ns, wraps every 4398046511088ns
[    0.000631] Console: colour dummy device 80x25
[    0.000670] Calibrating delay loop (skipped), value calculated using timer frequency.. 62.50 BogoMIPS (lpj=125000)
[    0.000677] pid_max: default: 32768 minimum: 301
[    0.000735] LSM: Security Framework initializing
[    0.000756] Yama: becoming mindful.
[    0.000774] SELinux:  Initializing.
[    0.000834] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.000848] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.001569] /cpus/cpu-map/cluster1: empty cluster
[    0.001866] rcu: Hierarchical SRCU implementation.
[    0.001948] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.002364] DTS File Name: /dvs/git/dirty/git-master_linux/kernel/kernel-5.10/arch/arm64/boot/dts/../../../../../../hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0003-p3768-0000-a0.dts
[    0.002369] DTB Build time: Mar 19 2023 08:08:40
[    0.003573] Tegra Revision: A01 SKU: 0xd5 CPU Process: 0 SoC Process: 0
[    0.003732] Remapping and enabling EFI services.
[    0.004948] smp: Bringing up secondary CPUs ...
[    0.033645] Detected PIPT I-cache on CPU1
[    0.033683] GICv3: CPU1: found redistributor 100 region 0:0x000000000f460000
[    0.033711] CPU1: Booted secondary processor 0x0000000100 [0x410fd421]
[    0.062350] Detected PIPT I-cache on CPU2
[    0.062360] GICv3: CPU2: found redistributor 200 region 0:0x000000000f480000
[    0.062375] CPU2: Booted secondary processor 0x0000000200 [0x410fd421]
[    0.090978] Detected PIPT I-cache on CPU3
[    0.090987] GICv3: CPU3: found redistributor 300 region 0:0x000000000f4a0000
[    0.091001] CPU3: Booted secondary processor 0x0000000300 [0x410fd421]
[    0.121653] Detected PIPT I-cache on CPU4
[    0.121678] GICv3: CPU4: found redistributor 10200 region 0:0x000000000f500000
[    0.121707] CPU4: Booted secondary processor 0x0000010200 [0x410fd421]
[    0.150409] Detected PIPT I-cache on CPU5
[    0.150422] GICv3: CPU5: found redistributor 10300 region 0:0x000000000f520000
[    0.150438] CPU5: Booted secondary processor 0x0000010300 [0x410fd421]
[    0.150502] smp: Brought up 1 node, 6 CPUs
[    0.150516] SMP: Total of 6 processors activated.
[    0.150520] CPU features: detected: Privileged Access Never
[    0.150522] CPU features: detected: LSE atomic instructions
[    0.150523] CPU features: detected: User Access Override
[    0.150525] CPU features: detected: 32-bit EL0 Support
[    0.150528] CPU features: detected: Common not Private translations
[    0.150530] CPU features: detected: RAS Extension Support
[    0.150532] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[    0.150534] CPU features: detected: CRC32 instructions
[    0.150536] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[    0.189251] CPU: All CPU(s) started at EL2
[    0.191024] devtmpfs: initialized
[    0.207948] Registered cp15_barrier emulation handler
[    0.207957] Registered setend emulation handler
[    0.207962] KASLR enabled
[    0.208120] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.208132] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.210117] pinctrl core: initialized pinctrl subsystem
[    0.210675] SMBIOS 3.0.0 present.
[    0.210684] DMI: Unknown NVIDIA Orin Nano Developer Kit/NVIDIA Orin Nano Developer Kit, BIOS 3.1-32827747 03/19/2023
[    0.210967] NET: Registered protocol family 16
[    0.211871] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.211938] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.212004] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.212033] audit: initializing netlink subsys (disabled)
[    0.212123] audit: type=2000 audit(0.212:1): state=initialized audit_enabled=0 res=1
[    0.212310] thermal_sys: Registered thermal governor 'step_wise'
[    0.212313] thermal_sys: Registered thermal governor 'power_allocator'
[    0.212316] thermal_sys: Registered thermal governor 'pid_thermal_gov'
[    0.213157] cpuidle: using governor menu
[    0.213278] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.213352] ASID allocator initialised with 32768 entries
[    0.213459] Serial: AMBA PL011 UART driver
[    0.215393] tegra234_mc_sid_probe(): tegra234 mc-sid probe successful
[    0.215421] Tegra reboot handler registered.
[    0.236813] mc: mapped MMIO address: 0xffff8000107b0000 -> 0x2c10000
[    0.236826] mc: mapped MMIO address: 0xffff8000107d0000 -> 0x2c20000
[    0.236835] mc: mapped MMIO address: 0xffff8000107f0000 -> 0x2c30000
[    0.236846] mc: mapped MMIO address: 0xffff800010810000 -> 0x2c40000
[    0.236854] mc: mapped MMIO address: 0xffff800010830000 -> 0x2c50000
[    0.236861] mc: mapped MMIO address: 0xffff800010850000 -> 0x2b80000
[    0.236867] mc: mapped MMIO address: 0xffff800010870000 -> 0x2b90000
[    0.236875] mc: mapped MMIO address: 0xffff800010890000 -> 0x2ba0000
[    0.236881] mc: mapped MMIO address: 0xffff8000108b0000 -> 0x2bb0000
[    0.236887] mc: mapped MMIO address: 0xffff8000108d0000 -> 0x1700000
[    0.236894] mc: mapped MMIO address: 0xffff8000108f0000 -> 0x1710000
[    0.236901] mc: mapped MMIO address: 0xffff800010910000 -> 0x1720000
[    0.236908] mc: mapped MMIO address: 0xffff800010930000 -> 0x1730000
[    0.236914] mc: mapped MMIO address: 0xffff800010950000 -> 0x1740000
[    0.236921] mc: mapped MMIO address: 0xffff800010970000 -> 0x1750000
[    0.236927] mc: mapped MMIO address: 0xffff800010990000 -> 0x1760000
[    0.236934] mc: mapped MMIO address: 0xffff8000109b0000 -> 0x1770000
[    0.236942] nv-tegra-mc 2c10000.mc: No mssnvlink node
[    0.236966] mc-err: mcerr ops are set to t23x
[    0.237730] 31d0000.serial: ttyAMA0 at MMIO 0x31d0000 (irq = 65, base_baud = 0) is a SBSA
[    1.393354] printk: console [ttyAMA0] enabled
[    1.402191] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    1.408898] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    1.415597] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    1.422294] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    1.430905] ACPI: Interpreter disabled.
[    1.435190] ddr-vddq: supplied by vdd-5v
[    1.439325] ddr-vdd2: supplied by vdd-5v
[    1.443381] vdd-AO-1v2: supplied by vdd-5v
[    1.447616] vdd-3v3: supplied by vdd-5v
[    1.451660] vdd-rtc: supplied by vdd-AO-1v2
[    1.455968] vdd-0v95-uphy: supplied by vdd-AO-1v2
[    1.460799] vdd-0v95-hdmi: supplied by vdd-AO-1v2
[    1.465783] vdd-1v8: supplied by vdd-3v3-sys
[    1.470173] vdd-3v3-AO: supplied by vdd-5v-sys
[    1.474736] vdd-av10-hub: supplied by vdd-5v-sys
[    1.479485] vdd-vbus-a: supplied by vdd-5v-sys
[    1.484043] vdd-vbus-b: supplied by vdd-5v-sys
[    1.488620] vdd-3v3-dp: supplied by vdd-3v3-sys
[    1.493432] iommu: Default domain type: Translated 
[    1.498344] eventlib_kernel: keventlib is initialized, test id: 0
[    1.504635] SCSI subsystem initialized
[    1.508462] usbcore: registered new interface driver usbfs
[    1.513958] usbcore: registered new interface driver hub
[    1.519281] usbcore: registered new device driver usb
[    1.524542] mc: Linux media interface: v0.10
[    1.528819] videodev: Linux video capture interface: v2.00
[    1.534470] pps_core: LinuxPPS API ver. 1 registered
[    1.539433] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.548573] PTP clock support registered
[    1.552743] tegra_wdt_t18x 2190000.watchdog: Tegra WDT init timeout = 120 sec
[    1.559898] tegra_wdt_t18x 2190000.watchdog: Registered successfully
[    1.567595] Registered efivars operations
[    1.571748] FPGA manager framework
[    1.575191] Advanced Linux Sound Architecture Driver Initialized.
[    1.581573] Bluetooth: Core ver 2.22
[    1.585155] NET: Registered protocol family 31
[    1.589598] Bluetooth: HCI device and connection manager initialized
[    1.595956] Bluetooth: HCI socket layer initialized
[    1.600831] Bluetooth: L2CAP socket layer initialized
[    1.605890] Bluetooth: SCO socket layer initialized
[    1.611310] camchar: rtcpu character device driver loaded
[    1.616946] clocksource: Switched to clocksource arch_sys_counter
[    1.819730] VFS: Disk quotas dquot_6.6.0
[    1.823696] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.830746] pnp: PnP ACPI: disabled
[    1.836519] la/ptsa driver initialized.
[    1.840417] NET: Registered protocol family 2
[    1.844913] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    1.854007] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    1.862555] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    1.870549] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[    1.878461] TCP: Hash tables configured (established 65536 bind 65536)
[    1.885063] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    1.891873] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    1.899177] NET: Registered protocol family 1
[    1.903747] RPC: Registered named UNIX socket transport module.
[    1.909680] RPC: Registered udp transport module.
[    1.914382] RPC: Registered tcp transport module.
[    1.919081] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.925527] PCI: CLS 0 bytes, default 64
[    1.929556] Trying to unpack rootfs image as initramfs...
[    2.092746] Freeing initrd memory: 9120K
[    2.098803] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    2.106716] kvm [1]: IPA Size Limit: 48 bits
[    2.111044] kvm [1]: GICv3: no GICV resource entry
[    2.115834] kvm [1]: disabling GICv2 emulation
[    2.120296] kvm [1]: GIC system register CPU interface enabled
[    2.126193] kvm [1]: vgic interrupt IRQ9
[    2.130221] kvm [1]: VHE mode initialized successfully
[    2.136032] Initialise system trusted keyrings
[    2.140561] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[    2.149518] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.155687] NFS: Registering the id_resolver key type
[    2.160753] Key type id_resolver registered
[    2.164933] Key type id_legacy registered
[    2.168984] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.175691] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    2.183097] ntfs: driver 2.1.32 [Flags: R/W].
[    2.202832] NET: Registered protocol family 38
[    2.207278] Key type asymmetric registered
[    2.211372] Asymmetric key parser 'x509' registered
[    2.216266] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 240)
[    2.223725] io scheduler mq-deadline registered
[    2.228257] io scheduler kyber registered
[    2.236535] tegra-pwm 3280000.pwm: PWM clk can sleep in ops
[    2.242137] tegra-pwm 32a0000.pwm: PWM clk can sleep in ops
[    2.247725] tegra-pwm 32c0000.pwm: PWM clk can sleep in ops
[    2.255933] tegra_dc_assign_hw_data: no matching compatible node
[    2.261945] tegradccommon module_init failed
[    2.266213] tegradc module_init failed
[    2.270237] EINJ: ACPI disabled.
[    2.275128] tegra-pmc c360000.pmc: scratch reg offset dts data not present
[    2.282008] tegra-pmc: ### PMC reset source: MAINSWRST
[    2.287146] tegra-pmc: ### PMC reset level: L1
[    2.291585] tegra-pmc: ### PMC reset status reg: 0x2d
[    2.298031] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    3.745695] random: fast init done
[    3.890059] printk: console [ttyTCU0] enabled
[    3.895152] arm-smmu 12000000.iommu: probing hardware configuration...
[    3.901856] arm-smmu 12000000.iommu: SMMUv2 with:
[    3.906681] arm-smmu 12000000.iommu:         stage 1 translation
[    3.912220] arm-smmu 12000000.iommu:         stage 2 translation
[    3.917759] arm-smmu 12000000.iommu:         nested translation
[    3.923206] arm-smmu 12000000.iommu:         stream matching with 128 register groups
[    3.930612] arm-smmu 12000000.iommu:         128 context banks (0 stage-2 only)
[    3.939734] arm-smmu 12000000.iommu:         Supported page sizes: 0x00001000
[    3.946432] arm-smmu 12000000.iommu:         Stage-1: 48-bit VA -> 48-bit IPA
[    3.953126] arm-smmu 12000000.iommu:         Stage-2: 48-bit IPA -> 48-bit PA
[    3.960678] arm-smmu 10000000.iommu: probing hardware configuration...
[    3.967375] arm-smmu 10000000.iommu: SMMUv2 with:
[    3.972194] arm-smmu 10000000.iommu:         stage 1 translation
[    3.977729] arm-smmu 10000000.iommu:         stage 2 translation
[    3.983271] arm-smmu 10000000.iommu:         nested translation
[    3.988726] arm-smmu 10000000.iommu:         stream matching with 128 register groups
[    3.996129] arm-smmu 10000000.iommu:         128 context banks (0 stage-2 only)
[    4.005311] arm-smmu 10000000.iommu:         Supported page sizes: 0x00001000
[    4.012011] arm-smmu 10000000.iommu:         Stage-1: 48-bit VA -> 48-bit IPA
[    4.018704] arm-smmu 10000000.iommu:         Stage-2: 48-bit IPA -> 48-bit PA
[    4.025896] arm-smmu 8000000.iommu: probing hardware configuration...
[    4.032499] arm-smmu 8000000.iommu: SMMUv2 with:
[    4.037238] arm-smmu 8000000.iommu:  stage 1 translation
[    4.042689] arm-smmu 8000000.iommu:  stage 2 translation
[    4.048135] arm-smmu 8000000.iommu:  nested translation
[    4.053488] arm-smmu 8000000.iommu:  stream matching with 128 register groups
[    4.060809] arm-smmu 8000000.iommu:  128 context banks (0 stage-2 only)
[    4.069874] arm-smmu 8000000.iommu:  Supported page sizes: 0x00001000
[    4.076486] arm-smmu 8000000.iommu:  Stage-1: 48-bit VA -> 48-bit IPA
[    4.083091] arm-smmu 8000000.iommu:  Stage-2: 48-bit IPA -> 48-bit PA
[    4.090381] arm-smmu-suspend 12000000.smmu_suspend: arm_smmu_suspend probe successful
[    4.100046] tegra_profiler: version: 1.151, samples/io: 51/30
[    4.106029] tegra_profiler: auth: init
[    4.110167] nvsciipc: loaded module
[    4.115489] tun: Universal TUN/TAP device driver, 1.6
[    4.121172] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    4.128590] hns3: Copyright (c) 2017 Huawei Corporation.
[    4.134075] e1000e: Intel(R) PRO/1000 Network Driver
[    4.139162] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    4.145251] igb: Intel(R) Gigabit Ethernet Network Driver
[    4.150787] igb: Copyright (c) 2007-2014 Intel Corporation.
[    4.156675] PPP generic driver version 2.4.2
[    4.161115] PPP BSD Compression module registered
[    4.165938] PPP Deflate Compression module registered
[    4.171143] PPP MPPE Compression module registered
[    4.176085] usbcore: registered new interface driver r8152
[    4.181723] usbcore: registered new interface driver asix
[    4.187266] usbcore: registered new interface driver ax88179_178a
[    4.193537] usbcore: registered new interface driver cdc_ether
[    4.199540] usbcore: registered new interface driver net1080
[    4.205356] usbcore: registered new interface driver cdc_subset
[    4.211433] usbcore: registered new interface driver zaurus
[    4.217171] usbcore: registered new interface driver cdc_ncm
[    4.222981] usbcore: registered new interface driver aqc111
[    4.228831] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.235185] ohci-pci: OHCI PCI platform driver
[    4.239756] ohci-platform: OHCI generic platform driver
[    4.245452] tegra-xusb 3610000.xhci: Adding to iommu group 0
[    4.251801] usbcore: registered new interface driver uas
[    4.257280] usbcore: registered new interface driver usb-storage
[    4.263612] tegra-xudc 3550000.xudc: Adding to iommu group 1
[    4.269702] mousedev: PS/2 mouse device common for all mice
[    4.275452] usbcore: registered new interface driver xpad
[    4.282855] tegra_rtc c2a0000.rtc: registered as rtc1
[    4.288352] tegra_rtc c2a0000.rtc: setting system clock to 1970-01-01T00:00:26 UTC (26)
[    4.296575] tegra_rtc c2a0000.rtc: Tegra internal Real Time Clock
[    4.302985] i2c /dev entries driver
[    4.306702] tegra-i2c 3160000.i2c: Adding to iommu group 2
[    4.312494] tegra-i2c c240000.i2c: Adding to iommu group 2
[    4.318195] tegra-i2c 3180000.i2c: Adding to iommu group 2
[    4.323880] tegra-i2c 3190000.i2c: Adding to iommu group 2
[    4.329562] tegra-i2c 31b0000.i2c: Adding to iommu group 2
[    4.335240] tegra-i2c 31c0000.i2c: Adding to iommu group 2
[    4.340917] tegra-i2c c250000.i2c: Adding to iommu group 2
[    4.346585] tegra-i2c 31e0000.i2c: Adding to iommu group 2
[    4.356046] device-mapper: uevent: version 1.0.3
[    4.360885] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com
[    4.370628] sdhci: Secure Digital Host Controller Interface driver
[    4.376976] sdhci: Copyright(c) Pierre Ossman
[    4.381444] Synopsys Designware Multimedia Card Interface Driver
[    4.387701] sdhci-pltfm: SDHCI platform and OF driver helper
[    4.393868] sdhci-tegra 3400000.sdhci: Adding to iommu group 3
[    4.394091] SMCCC: SOC_ID: ID = jep106:036b:0023 Revision = 0x00000401
[    4.407311] tegra-bpmp bpmp: firmware: f0fadc45ec6216cb5b0b-1377b684fe5
[    4.416130] nvvrs_pseq 4-003c: NVVRS Vendor ID: 0x9 
[    4.421776] nvvrs_pseq 4-003c: NVVRS Model Rev: 0x82
[    4.432135] nvvrs-pseq-rtc nvvrs-pseq-rtc: registered as rtc0
[    4.438084] nvvrs_pseq 4-003c: NVVRS PSEQ probe successful
[    5.531248] hid: raw HID events driver (C) Jiri Kosina
[    5.537050] usbcore: registered new interface driver usbhid
[    5.542780] usbhid: USB HID core driver
[    5.547223] tegra-dce d800000.dce: Adding to iommu group 4
[    5.554069] dce: dce_ipc_channel_init:319  Invalid Channel State [0x0] for ch_type [2]
[    5.562719] tegra234-aon c000000.aon: Adding to iommu group 5
[    5.569124] dce: dce_mailbox_set_full_interrupt:165  Intr bit set multiple times for MB : [0x5]
[    5.577873]  c000000.aon:hsp: probed
[    5.578276] dce: dce_admin_send_cmd_ver:424  version : [0x2] err : [0x0]
[    5.588664] tegra234-aon c000000.aon: init done
[    5.589081] tegra23x-psc e860000.psc: Adding to iommu group 6
[    5.593468] dce: dce_mailbox_set_full_interrupt:165  Intr bit set multiple times for MB : [0x1]
[    5.599573] tegra23x-psc e860000.psc: ext_cfg base:(____ptrval____)
[    5.608193] dce: dce_admin_setup_clients_ipc:553  Channel Reset Complete for Type [1] ...
[    5.614607] tegra23x-psc e860000.psc: init done
[    5.614823] tegra186-cam-rtcpu bc00000.rtcpu: Adding to iommu group 7
[    5.623018] dce: dce_admin_setup_clients_ipc:529  Get queue info failed for [2]
[    5.628404] tegra186-cam-rtcpu bc00000.rtcpu: Trace buffer configured at IOVA=0xbff00000
[    5.634414] dce: dce_mailbox_set_full_interrupt:165  Intr bit set multiple times for MB : [0x2]
[    5.659103] dce: dce_admin_setup_clients_ipc:553  Channel Reset Complete for Type [3] ...
[    5.667756] dce: dce_start_boot_flow:173  DCE_BOOT_DONE
[    5.674478] tegra-ivc-bus bc00000.rtcpu:ivc-bus: region 0: iova=0xbfec0000-0xbfee01ff size=131584
[    5.683655] tegra-ivc-bus bc00000.rtcpu:ivc-bus:echo@0: echo: ver=0 grp=1 RX[16x64]=0x1000-0x1480 TX[16x64]=0x1480-0x1900
[    5.695088] tegra-ivc-bus bc00000.rtcpu:ivc-bus:dbg@1: dbg: ver=0 grp=1 RX[1x448]=0x1900-0x1b40 TX[1x448]=0x1b40-0x1d80
[    5.706484] tegra-ivc-bus bc00000.rtcpu:ivc-bus:dbg@2: dbg: ver=0 grp=1 RX[1x8192]=0x1d80-0x3e00 TX[1x8192]=0x3e00-0x5e80
[    5.718179] tegra-ivc-bus bc00000.rtcpu:ivc-bus:ivccontrol@3: ivccontrol: ver=0 grp=1 RX[64x320]=0x5e80-0xaf00 TX[64x320]=0xaf00-0xff80[    5.730739] tegra-ivc-bus bc00000.rtcpu:ivc-bus:ivccapture@4: ivccapture: ver=0 grp=1 RX[512x64]=0xff80-0x18000 TX[512x64]=0x18000-0x20080
[    5.743565] tegra-ivc-bus bc00000.rtcpu:ivc-bus:diag@5: diag: ver=0 grp=1 RX[1x64]=0x20080-0x20140 TX[1x64]=0x20140-0x20200
[    5.755650] tegra186-cam-rtcpu bc00000.rtcpu: using cam RTCPU IRQ (113)
[    5.762451] tegra186-cam-rtcpu bc00000.rtcpu: tegra_camrtc_mon_create is successful
[    5.771014] tegra186-cam-rtcpu bc00000.rtcpu: firmware version cpu=rce cmd=6 sha1=97e50cbff52bc4b542b2989187109c001c01cf77
[    5.784464] t19x_cache tegra-cache: probed
[    5.788879] scf-pmu-drv scf-pmu: Registered T23x SCF Uncore PMU
[    5.799369] optee: probing for conduit method.
[    5.803961] optee: revision 3.19 (3f29c61f)
[    5.804155] optee: dynamic shared memory is enabled
[    5.813576] optee: initialized driver
[    5.828722] nvpmodel: initialized successfully
[    5.833398] tegra_hv: get_hvd: not initialized yet
[    5.838335] user_ivc_mempool: hypervisor not present
[    5.844070] usbcore: registered new interface driver snd-usb-audio
[    5.851212] u32 classifier
[    5.853994]     input device check on
[    5.857756]     Actions configured
[    5.861404] Initializing XFRM netlink socket
[    5.866270] NET: Registered protocol family 10
[    5.872305] Segment Routing with IPv6
[    5.876132] NET: Registered protocol family 17
[    5.880715] NET: Registered protocol family 15
[    5.885338] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    5.899033] Bluetooth: RFCOMM socket layer initialized
[    5.904329] Bluetooth: RFCOMM ver 1.11
[    5.908186] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    5.914270] Bluetooth: HIDP socket layer initialized
[    5.920222] 9pnet: Installing 9P2000 support
[    5.924662] Key type dns_resolver registered
[    5.929466] registered taskstats version 1
[    5.933688] Loading compiled-in X.509 certificates
[    5.948747] Loaded X.509 cert 'Build time autogenerated kernel key: e63fb224cdc2a940ac382bb67b420fcb52cc4aee'
[    5.959331] tegra194-pcie 14100000.pcie: Adding to iommu group 8
[    5.972524] tegra194-pcie 14100000.pcie: Using GICv2m MSI allocator
[    5.979757] tegra194-pcie 14160000.pcie: Adding to iommu group 9
[    5.992326] tegra194-pcie 14160000.pcie: Using GICv2m MSI allocator
[    5.999339] tegra194-pcie 141e0000.pcie: Adding to iommu group 10
[    6.011611] tegra194-pcie 141e0000.pcie: Using GICv2m MSI allocator
[    6.018459] tegra194-pcie 140a0000.pcie: Adding to iommu group 11
[    6.030659] tegra194-pcie 140a0000.pcie: Using GICv2m MSI allocator
[    6.037713] tegra194-pcie 140a0000.pcie: Failed to get slot regulators: -517
[    6.063306] tegra-soc-hwpm f100000.tegra_soc_hwpm: Adding to iommu group 12
[    6.073825] host1x 13e40000.host1x: Adding to iommu group 13
[    6.102680] host1x 13e40000.host1x: initialized
[    6.107735] iommu_context_dev 13e40000.host1x:niso0_ctx0: Adding to iommu group 14
[    6.115792] iommu_context_dev 13e40000.host1x:niso0_ctx0: initialized (streamid=53, iommu=smmu.0x0000000012000000)
[    6.128125] iommu_context_dev 13e40000.host1x:niso0_ctx1: Adding to iommu group 15
[    6.136111] iommu_context_dev 13e40000.host1x:niso0_ctx1: initialized (streamid=54, iommu=smmu.0x0000000012000000)
[    6.148445] iommu_context_dev 13e40000.host1x:niso0_ctx2: Adding to iommu group 16
[    6.156440] iommu_context_dev 13e40000.host1x:niso0_ctx2: initialized (streamid=55, iommu=smmu.0x0000000012000000)
[    6.168759] iommu_context_dev 13e40000.host1x:niso0_ctx3: Adding to iommu group 17
[    6.176742] iommu_context_dev 13e40000.host1x:niso0_ctx3: initialized (streamid=56, iommu=smmu.0x0000000012000000)
[    6.189045] iommu_context_dev 13e40000.host1x:niso0_ctx4: Adding to iommu group 18
[    6.197080] iommu_context_dev 13e40000.host1x:niso0_ctx4: initialized (streamid=57, iommu=smmu.0x0000000012000000)
[    6.209418] iommu_context_dev 13e40000.host1x:niso0_ctx5: Adding to iommu group 19
[    6.217392] iommu_context_dev 13e40000.host1x:niso0_ctx5: initialized (streamid=58, iommu=smmu.0x0000000012000000)
[    6.229696] iommu_context_dev 13e40000.host1x:niso0_ctx6: Adding to iommu group 20
[    6.237675] iommu_context_dev 13e40000.host1x:niso0_ctx6: initialized (streamid=59, iommu=smmu.0x0000000012000000)
[    6.250001] iommu_context_dev 13e40000.host1x:niso0_ctx7: Adding to iommu group 21
[    6.257981] iommu_context_dev 13e40000.host1x:niso0_ctx7: initialized (streamid=60, iommu=smmu.0x0000000012000000)
[    6.270304] iommu_context_dev 13e40000.host1x:niso1_ctx0: Adding to iommu group 22
[    6.278277] iommu_context_dev 13e40000.host1x:niso1_ctx0: initialized (streamid=53, iommu=smmu.0x0000000008000000)
[    6.290568] iommu_context_dev 13e40000.host1x:niso1_ctx1: Adding to iommu group 23
[    6.298546] iommu_context_dev 13e40000.host1x:niso1_ctx1: initialized (streamid=54, iommu=smmu.0x0000000008000000)
[    6.310836] iommu_context_dev 13e40000.host1x:niso1_ctx2: Adding to iommu group 24
[    6.318864] iommu_context_dev 13e40000.host1x:niso1_ctx2: initialized (streamid=55, iommu=smmu.0x0000000008000000)
[    6.331158] iommu_context_dev 13e40000.host1x:niso1_ctx3: Adding to iommu group 25
[    6.339146] iommu_context_dev 13e40000.host1x:niso1_ctx3: initialized (streamid=56, iommu=smmu.0x0000000008000000)
[    6.351466] iommu_context_dev 13e40000.host1x:niso1_ctx4: Adding to iommu group 26
[    6.359438] iommu_context_dev 13e40000.host1x:niso1_ctx4: initialized (streamid=57, iommu=smmu.0x0000000008000000)
[    6.371741] iommu_context_dev 13e40000.host1x:niso1_ctx5: Adding to iommu group 27
[    6.379717] iommu_context_dev 13e40000.host1x:niso1_ctx5: initialized (streamid=58, iommu=smmu.0x0000000008000000)
[    6.392021] iommu_context_dev 13e40000.host1x:niso1_ctx6: Adding to iommu group 28
[    6.400015] iommu_context_dev 13e40000.host1x:niso1_ctx6: initialized (streamid=59, iommu=smmu.0x0000000008000000)
[    6.412321] iommu_context_dev 13e40000.host1x:niso1_ctx7: Adding to iommu group 29
[    6.420303] iommu_context_dev 13e40000.host1x:niso1_ctx7: initialized (streamid=60, iommu=smmu.0x0000000008000000)
[    6.432637] falcon 15340000.vic: Adding to iommu group 30
[    6.443790] falcon 15340000.vic: initialized
[    6.448524] falcon 15380000.nvjpg: Adding to iommu group 31
[    6.457202] falcon 15380000.nvjpg: initialized
[    6.461924] falcon 15540000.nvjpg1: Adding to iommu group 32
[    6.470733] falcon 15540000.nvjpg1: initialized
[    6.475549] falcon 15a50000.ofa: Adding to iommu group 33
[    6.484720] falcon 15a50000.ofa: initialized
[    6.489278] nvdec 15480000.nvdec: Adding to iommu group 34
[    6.501939] nvdec 15480000.nvdec: initialized
[    6.506577] tsec 15500000.tsec: Adding to iommu group 35
[    6.516629] tsec 15500000.tsec: initialized
[    6.524089] gic 2a41000.agic-controller: GIC IRQ controller registered
[    6.541798] tegra-aconnect aconnect@2a41000: Tegra ACONNECT bus registered
[    6.557943] gpio-397 (camera-control-output-low): hogged as output/low
[    6.564698] gpio-486 (camera-control-output-low): hogged as output/low
[    6.572479] gpiochip0: registered GPIOs 348 to 511 on tegra234-gpio
[    6.579926] gpiochip1: registered GPIOs 316 to 347 on tegra234-gpio-aon
[    6.586928] tegra-pwm 3280000.pwm: PWM clk can sleep in ops
[    6.593420] tegra-pwm 32a0000.pwm: PWM clk can sleep in ops
[    6.599871] tegra-pwm 32c0000.pwm: PWM clk can sleep in ops
[    6.608164] tegra194-isp5 14800000.isp: Adding to iommu group 36
[    6.616379] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: context isolation disabled due to no IOMMU
[    6.626033] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: initialized
[    6.632483] tegra-camrtc-capture-vi tegra-capture-vi: subdev 13e40000.host1x:nvcsi@15a00000- bound
[    6.641708] tegra-camrtc-capture-vi tegra-capture-vi: subdev 13e40000.host1x:nvcsi@15a00000- bound
[    6.651074] tegra194-vi5 13e40000.host1x:vi0@15c00000: Adding to iommu group 37
[    6.659253] tegra194-vi5 13e40000.host1x:vi1@14c00000: Adding to iommu group 38
[    6.667282] scare-pigeon 13e40000.host1x:vi0-thi@15f00000: context isolation disabled due to no IOMMU
[    6.677270] scare-pigeon 13e40000.host1x:vi0-thi@15f00000: initialized
[    6.684072] scare-pigeon 13e40000.host1x:vi1-thi@14f00000: context isolation disabled due to no IOMMU
[    6.694068] scare-pigeon 13e40000.host1x:vi1-thi@14f00000: initialized
[    6.700864] scare-pigeon 13e40000.host1x:isp-thi@14b00000: context isolation disabled due to no IOMMU
[    6.710846] scare-pigeon 13e40000.host1x:isp-thi@14b00000: initialized
[    6.717763] tegra-gpcdma 2600000.gpcdma: Adding to iommu group 2
[    6.724975] tegra-gpcdma 2600000.gpcdma: GPC DMA driver register 31 channels
[    6.732488] tegra-fuse-burn efuse-burn: shutdown limit check disabled
[    6.739104] tegra-fuse-burn efuse-burn: Fuse burn driver initialized
[    6.745847] serial-tegra 3100000.serial: Adding to iommu group 2
[    6.752499] 3100000.serial: ttyTHS0 at MMIO 0x3100000 (irq = 17, base_baud = 0) is a TEGRA_UART
[    6.762264] serial-tegra 3130000.serial: Adding to iommu group 2
[    6.768813] 3130000.serial: ttyTHS3 at MMIO 0x3130000 (irq = 63, base_baud = 0) is a TEGRA_UART
[    6.778528] serial-tegra 3140000.serial: Adding to iommu group 2
[    6.785099] 3140000.serial: ttyTHS4 at MMIO 0x3140000 (irq = 64, base_baud = 0) is a TEGRA_UART
[    6.810984] tegra-xusb 3610000.xhci: Firmware timestamp: 2021-12-01 05:27:10 UTC, Version: 80.03 release
[    6.820736] tegra-xusb 3610000.xhci: xHCI Host Controller
[    6.826313] tegra-xusb 3610000.xhci: new USB bus registered, assigned bus number 1
[    6.834972] tegra-xusb 3610000.xhci: hcc params 0x0180ff05 hci version 0x120 quirks 0x0000000000050810
[    6.844581] tegra-xusb 3610000.xhci: irq 219, io mem 0x03610000
[    6.851045] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    6.859544] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.866970] usb usb1: Product: xHCI Host Controller
[    6.871973] usb usb1: Manufacturer: Linux 5.10.104-tegra xhci-hcd
[    6.878232] usb usb1: SerialNumber: 3610000.xhci
[    6.883739] hub 1-0:1.0: USB hub found
[    6.887617] hub 1-0:1.0: 4 ports detected
[    6.891996] tegra-xusb 3610000.xhci: xHCI Host Controller
[    6.897555] tegra-xusb 3610000.xhci: new USB bus registered, assigned bus number 2
[    6.905343] tegra-xusb 3610000.xhci: Host supports USB 3.1 Enhanced SuperSpeed
[    6.912855] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[    6.921366] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.928793] usb usb2: Product: xHCI Host Controller
[    6.933796] usb usb2: Manufacturer: Linux 5.10.104-tegra xhci-hcd
[    6.940055] usb usb2: SerialNumber: 3610000.xhci
[    6.945388] hub 2-0:1.0: USB hub found
[    6.949256] hub 2-0:1.0: 4 ports detected
[    6.971543] i2c i2c-2: Added multiplexed i2c bus 9
[    6.976868] i2c i2c-2: Added multiplexed i2c bus 10
[    6.981887] i2c-mux-gpio cam_i2cmux: 2 port mux on 3180000.i2c adapter
[    6.988863] tegra23x-oc-event soctherm-oc-event: Finished tegra23x overcurrent event probing
[    7.010676] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 1491000 KHz, changing to: 1497600 KHz
[    7.025625] cpufreq: cpufreq_online: CPU4: Running at unlisted initial frequency: 1537000 KHz, changing to: 1510400 KHz
[    7.037535] tegra194-cpufreq e000000.ccplex: probed with ICC
[    7.045060] tegra194-pcie 14100000.pcie: Using GICv2m MSI allocator
[    7.047083] sdhci-tegra 3400000.sdhci: Got CD GPIO
[    7.052975] tegra194-pcie 14100000.pcie: host bridge /pcie@14100000 ranges:
[    7.063620] tegra194-pcie 14100000.pcie:       IO 0x0030100000..0x00301fffff -> 0x0030100000
[    7.067432] irq: IRQ283: trimming hierarchy from :interrupt-controller@f400000-1
[    7.072307] tegra194-pcie 14100000.pcie:      MEM 0x20a8000000..0x20afffffff -> 0x0040000000
[    7.079993] sdhci-tegra 3400000.sdhci: wakeup init done, cdirq 283
[    7.088612] tegra194-pcie 14100000.pcie:      MEM 0x2080000000..0x20a7ffffff -> 0x2080000000
[    8.173168] tegra194-pcie 14100000.pcie: Phy link never came up
[    8.179355] tegra194-pcie 14100000.pcie: PCI host bridge to bus 0001:00
[    8.186169] pci_bus 0001:00: root bus resource [bus 00-ff]
[    8.191805] pci_bus 0001:00: root bus resource [io  0x0000-0xfffff] (bus address [0x30100000-0x301fffff])
[    8.201631] pci_bus 0001:00: root bus resource [mem 0x20a8000000-0x20afffffff] (bus address [0x40000000-0x47ffffff])
[    8.212455] pci_bus 0001:00: root bus resource [mem 0x2080000000-0x20a7ffffff pref]
[    8.220385] pci 0001:00:00.0: [10de:229e] type 01 class 0x060400
[    8.226730] pci 0001:00:00.0: PME# supported from D0 D3hot
[    8.242552] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    8.247944] pci 0001:00:00.0: Max Payload Size set to  256/ 256 (was  256), Max Read Rq  512
[    8.257026] pcieport 0001:00:00.0: Adding to iommu group 8
[    8.262982] pcieport 0001:00:00.0: PME: Signaling with IRQ 55
[    8.269643] pcieport 0001:00:00.0: AER: enabled with IRQ 55
[    8.275658] pci_bus 0001:01: busn_res: [bus 01-ff] is released
[    8.281791] pci 0001:00:00.0: Removing from iommu group 8
[    8.287351] pci_bus 0001:00: busn_res: [bus 00-ff] is released
[    8.295796] tegra194-pcie 14160000.pcie: Using GICv2m MSI allocator
[    8.303713] tegra194-pcie 14160000.pcie: host bridge /pcie@14160000 ranges:
[    8.310888] tegra194-pcie 14160000.pcie:       IO 0x0036100000..0x00361fffff -> 0x0036100000
[    8.319574] tegra194-pcie 14160000.pcie:      MEM 0x2428000000..0x242fffffff -> 0x0040000000
[    8.328254] tegra194-pcie 14160000.pcie:      MEM 0x2140000000..0x2427ffffff -> 0x2140000000
[    8.445153] tegra194-pcie 14160000.pcie: Link up
[    8.461474] tegra194-pcie 14160000.pcie: PCI host bridge to bus 0004:00
[    8.468277] pci_bus 0004:00: root bus resource [bus 00-ff]
[    8.473921] pci_bus 0004:00: root bus resource [io  0x100000-0x1fffff] (bus address [0x36100000-0x361fffff])
[    8.484019] pci_bus 0004:00: root bus resource [mem 0x2428000000-0x242fffffff] (bus address [0x40000000-0x47ffffff])
[    8.494849] pci_bus 0004:00: root bus resource [mem 0x2140000000-0x2427ffffff pref]
[    8.502771] pci 0004:00:00.0: [10de:229c] type 01 class 0x060400
[    8.509085] pci 0004:00:00.0: PME# supported from D0 D3hot
[    8.519541] pci 0004:01:00.0: [1344:5416] type 00 class 0x010802
[    8.525898] pci 0004:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    8.534679] pci 0004:01:00.0: 31.504 Gb/s available PCIe bandwidth, limited by 8.0 GT/s PCIe x4 link at 0004:00:00.0 (capable of 63.012 Gb/s with 16.0 GT/s PCIe x4 link)
[    8.554690] pci 0004:00:00.0: BAR 14: assigned [mem 0x2428000000-0x24280fffff]
[    8.562124] pci 0004:01:00.0: BAR 0: assigned [mem 0x2428000000-0x2428003fff 64bit]
[    8.570092] pci 0004:00:00.0: PCI bridge to [bus 01-ff]
[    8.575455] pci 0004:00:00.0:   bridge window [mem 0x2428000000-0x24280fffff]
[    8.582804] pci 0004:00:00.0: Max Payload Size set to  256/ 256 (was  256), Max Read Rq  512
[    8.591544] pci 0004:01:00.0: Max Payload Size set to  256/ 512 (was  128), Max Read Rq  512
[    8.600488] pcieport 0004:00:00.0: Adding to iommu group 9
[    8.606363] pcieport 0004:00:00.0: PME: Signaling with IRQ 57
[    8.612767] pcieport 0004:00:00.0: AER: enabled with IRQ 57
[    8.618850] nvme 0004:01:00.0: Adding to iommu group 9
[    8.624612] nvme nvme0: pci function 0004:01:00.0
[    8.629661] nvme 0004:01:00.0: enabling device (0000 -> 0002)
[    8.630242] tegra194-pcie 141e0000.pcie: Using GICv2m MSI allocator
[    8.643092] tegra194-pcie 141e0000.pcie: host bridge /pcie@141e0000 ranges:
[    8.650282] tegra194-pcie 141e0000.pcie:       IO 0x003e100000..0x003e1fffff -> 0x003e100000
[    8.658963] tegra194-pcie 141e0000.pcie:      MEM 0x3228000000..0x322fffffff -> 0x0040000000
[    8.661153] nvme nvme0: allocated 64 MiB host memory buffer.
[    8.667653] tegra194-pcie 141e0000.pcie:      MEM 0x2e40000000..0x3227ffffff -> 0x2e40000000
[    8.711782] nvme nvme0: 6/0/0 default/read/poll queues
[    8.719221]  nvme0n1: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16
[    9.137223] tegra-xusb 3610000.xhci: entering ELPG done
[    9.777296] tegra194-pcie 141e0000.pcie: Phy link never came up
[    9.783475] tegra194-pcie 141e0000.pcie: PCI host bridge to bus 0007:00
[    9.790278] pci_bus 0007:00: root bus resource [bus 00-ff]
[    9.795920] pci_bus 0007:00: root bus resource [io  0x200000-0x2fffff] (bus address [0x3e100000-0x3e1fffff])
[    9.806022] pci_bus 0007:00: root bus resource [mem 0x3228000000-0x322fffffff] (bus address [0x40000000-0x47ffffff])
[    9.816848] pci_bus 0007:00: root bus resource [mem 0x2e40000000-0x3227ffffff pref]
[    9.824764] pci 0007:00:00.0: [10de:229a] type 01 class 0x060400
[    9.831084] pci 0007:00:00.0: PME# supported from D0 D3hot
[    9.845885] pci 0007:00:00.0: PCI bridge to [bus 01-ff]
[    9.851275] pci 0007:00:00.0: Max Payload Size set to  256/ 256 (was  256), Max Read Rq  512
[    9.860273] pcieport 0007:00:00.0: Adding to iommu group 10
[    9.866273] pcieport 0007:00:00.0: PME: Signaling with IRQ 59
[    9.872674] pcieport 0007:00:00.0: AER: enabled with IRQ 59
[    9.878640] pci_bus 0007:01: busn_res: [bus 01-ff] is released
[    9.884740] pci 0007:00:00.0: Removing from iommu group 10
[    9.890388] pci_bus 0007:00: busn_res: [bus 00-ff] is released
[    9.897977] tegra194-pcie 140a0000.pcie: Using GICv2m MSI allocator
[    9.904529] tegra194-pcie 140a0000.pcie: Failed to get slot regulators: -517
[    9.904796] vdd-3v3-sd: supplied by vdd-3v3
[    9.911121] tegra194-isp5 14800000.isp: initialized
[    9.919680] tegra194-vi5 13e40000.host1x:vi0@15c00000: initialized
[    9.926136] (NULL device *): fops function table already registered
[    9.935088] tegra194-vi5 13e40000.host1x:vi1@14c00000: initialized
[    9.942235] sdhci-tegra 3400000.sdhci: Got CD GPIO
[    9.942371] tegra194-pcie 140a0000.pcie: Using GICv2m MSI allocator
[    9.954058] irq: IRQ291: trimming hierarchy from :interrupt-controller@f400000-1
[    9.962532] sdhci-tegra 3400000.sdhci: wakeup init done, cdirq 283
[   10.069899] tegra194-pcie 140a0000.pcie: host bridge /pcie@140a0000 ranges:
[   10.077076] tegra194-pcie 140a0000.pcie:       IO 0x002a100000..0x002a1fffff -> 0x002a100000
[   10.085759] tegra194-pcie 140a0000.pcie:      MEM 0x3528000000..0x352fffffff -> 0x0040000000
[   10.094437] tegra194-pcie 140a0000.pcie:      MEM 0x3240000000..0x3527ffffff -> 0x3240000000
[   10.209107] tegra194-pcie 140a0000.pcie: Link up
[   10.216829] tegra194-pcie 140a0000.pcie: PCI host bridge to bus 0008:00
[   10.223649] pci_bus 0008:00: root bus resource [bus 00-ff]
[   10.229290] pci_bus 0008:00: root bus resource [io  0x300000-0x3fffff] (bus address [0x2a100000-0x2a1fffff])
[   10.239405] pci_bus 0008:00: root bus resource [mem 0x3528000000-0x352fffffff] (bus address [0x40000000-0x47ffffff])
[   10.250233] pci_bus 0008:00: root bus resource [mem 0x3240000000-0x3527ffffff pref]
[   10.258152] pci 0008:00:00.0: [10de:229c] type 01 class 0x060400
[   10.264470] pci 0008:00:00.0: PME# supported from D0 D3hot
[   10.275040] pci 0008:01:00.0: [10ec:8168] type 00 class 0x020000
[   10.281362] pci 0008:01:00.0: reg 0x10: [io  0x0000-0x00ff]
[   10.287274] pci 0008:01:00.0: reg 0x18: [mem 0x00000000-0x00000fff 64bit]
[   10.294376] pci 0008:01:00.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit]
[   10.302391] pci 0008:01:00.0: supports D1 D2
[   10.306784] pci 0008:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[   10.318695] pci 0008:00:00.0: BAR 14: assigned [mem 0x3528000000-0x35280fffff]
[   10.326123] pci 0008:00:00.0: BAR 13: assigned [io  0x300000-0x300fff]
[   10.332839] pci 0008:01:00.0: BAR 4: assigned [mem 0x3528000000-0x3528003fff 64bit]
[   10.340804] pci 0008:01:00.0: BAR 2: assigned [mem 0x3528004000-0x3528004fff 64bit]
[   10.348770] pci 0008:01:00.0: BAR 0: assigned [io  0x300000-0x3000ff]
[   10.355428] pci 0008:00:00.0: PCI bridge to [bus 01-ff]
[   10.360802] pci 0008:00:00.0:   bridge window [io  0x300000-0x300fff]
[   10.367435] pci 0008:00:00.0:   bridge window [mem 0x3528000000-0x35280fffff]
[   10.374788] pci 0008:00:00.0: Max Payload Size set to  128/ 256 (was  256), Max Read Rq  512
[   10.383527] pci 0008:01:00.0: Max Payload Size set to  128/ 128 (was  128), Max Read Rq  512
[   10.392482] pcieport 0008:00:00.0: Adding to iommu group 11
[   10.398475] pcieport 0008:00:00.0: PME: Signaling with IRQ 61
[   10.404867] pcieport 0008:00:00.0: AER: enabled with IRQ 61
[   10.411993] irq: IRQ293: trimming hierarchy from :pmc@c360000
[   10.417987] irq: IRQ294: trimming hierarchy from :interrupt-controller@f400000-1
[   10.425714] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[   10.433459] tegra-se-nvhost 15810000.se: Adding to iommu group 39
[   10.440103] tegra-se-nvhost 15810000.se: initialized
[   10.446914] tegra-se-nvhost 15810000.se: tegra_se_probe: complete
[   10.453347] tegra-se-nvhost 15820000.se: Adding to iommu group 40
[   10.459921] tegra-se-nvhost 15820000.se: initialized
[   10.468237] tegra-se-nvhost 15820000.se: tegra_se_probe: complete
[   10.474647] tegra-se-nvhost 15840000.se: Adding to iommu group 41
[   10.481228] tegra-se-nvhost 15840000.se: initialized
[   10.491653] tegra-se-nvhost 15840000.se: tegra_se_probe: complete
[   10.498676] tegra_actmon d230000.actmon: in actmon_register()...
[   10.505035] tegra_actmon d230000.actmon: bwmgr_disable = 1
[   10.511243] tegra_actmon d230000.actmon: initialization Completed for the device mc_all
[   10.519654] hvc_sysfs: hypervisor is not present
[   10.560846] ALSA device list:
[   10.563905]   No soundcards found.
[   10.568262] Freeing unused kernel memory: 3968K
[   10.573002] Run /init as init process
[   10.576762]   with arguments:
[   10.576763]     /init
[   10.576764]   with environment:
[   10.576765]     HOME=/
[   10.576766]     TERM=linux
[   10.576768]     mminit_loglevel=4
[   10.592993] Root device found: PARTUUID=9aede23d-88d0-473a-8631-41806a727110
[   10.864156] EXT4-fs (nvme0n1p1): mounted filesystem with ordered data mode. Opts: (null)
[   10.876258] Rootfs mounted over PARTUUID=9aede23d-88d0-473a-8631-41806a727110
[   10.893417] Switching from initrd to actual rootfs
[   10.939380] systemd[1]: System time before build time, advancing clock.
[   10.987187] systemd[1]: systemd 245.4-4ubuntu3.24 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
[   11.010915] systemd[1]: Detected architecture arm64.
[   11.024910] mmc1: SDHCI controller on 3400000.sdhci [3400000.sdhci] using ADMA 64-bit
[   11.069434] systemd[1]: Set hostname to <torsacamera>.
[   11.075509] systemd[1]: Hardware watchdog 'Tegra WDT', version 1
[   11.081706] tegra_wdt_t18x 2190000.watchdog: Watchdog(0): wdt timeout set to 60 sec
[   11.089600] systemd[1]: Set hardware watchdog to 1min.
[   11.235627] random: systemd: uninitialized urandom read (16 bytes read)
[   11.244149] random: systemd: uninitialized urandom read (16 bytes read)
[   11.251120] systemd[1]: system-modprobe.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[   11.264142] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[   11.274219] systemd[1]: Created slice system-modprobe.slice.
[   11.293042] random: systemd: uninitialized urandom read (16 bytes read)
[   11.300332] systemd[1]: Created slice system-serial\x2dgetty.slice.
[   11.321430] systemd[1]: Created slice User and Session Slice.
[   11.341073] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   11.365313] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   11.389067] systemd[1]: Reached target Slices.
[   11.404993] systemd[1]: Reached target Mounting snaps.
[   11.424984] systemd[1]: Reached target Mounted snaps.
[   11.444990] systemd[1]: Reached target Swap.
[   11.461298] systemd[1]: Listening on RPCbind Server Activation Socket.
[   11.481118] systemd[1]: Listening on Syslog Socket.
[   11.501111] systemd[1]: Listening on fsck to fsckd communication Socket.
[   11.525054] systemd[1]: Listening on initctl Compatibility Named Pipe.
[   11.545250] systemd[1]: Listening on Journal Audit Socket.
[   11.565101] systemd[1]: Listening on Journal Socket (/dev/log).
[   11.585134] systemd[1]: Listening on Journal Socket.
[   11.605138] systemd[1]: Listening on udev Control Socket.
[   11.625069] systemd[1]: Listening on udev Kernel Socket.
[   11.646565] systemd[1]: Mounting Huge Pages File System...
[   11.666429] systemd[1]: Mounting POSIX Message Queue File System...
[   11.690343] systemd[1]: Mounting RPC Pipe File System...
[   11.710436] systemd[1]: Mounting Kernel Debug File System...
[   11.730404] systemd[1]: Mounting Kernel Trace File System...
[   11.750779] systemd[1]: Starting Journal Service...
[   11.771042] systemd[1]: Starting Set the console keyboard layout...
[   11.795237] systemd[1]: Starting Create list of static device nodes for the current kernel...
[   11.822363] systemd[1]: Starting Load Kernel Module chromeos_pstore...
[   11.845020] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[   11.854813] systemd[1]: Starting Load Kernel Module efi_pstore...
[   11.874335] systemd[1]: Starting Load Kernel Module pstore_blk...
[   11.894209] systemd[1]: Starting Load Kernel Module pstore_zone...
[   11.914308] systemd[1]: Starting Load Kernel Module ramoops...
[   11.934426] systemd[1]: Starting NVIDIA specific first-boot udev script...
[   11.958449] systemd[1]: Started Nameserver information manager.
[   11.977191] systemd[1]: Reached target Network (Pre).
[   11.997412] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[   12.006805] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[   12.018018] systemd[1]: Starting Load Kernel Modules...
[   12.032178] nvmap_heap_init: nvmap_heap_init: created heap block cache
[   12.039708] nvmap_page_pool_init: Total RAM pages: 1878206
[   12.045368] nvmap_page_pool_init: nvmap page pool size: 234775 pages (917 MB)
[   12.052995] nvmap_background_zero_thread: PP zeroing thread starting.
[   12.062788] systemd[1]: Starting Remount Root and Kernel File Systems...
[   12.078635] EXT4-fs (nvme0n1p1): re-mounted. Opts: (null)
[   12.091013] systemd[1]: Starting udev Coldplug all Devices...
[   12.095732] nvgpu: 17000000.ga10b          nvgpu_nvhost_syncpt_init:135  [INFO]  syncpt_unit_base 60000000 syncpt_unit_size 4000000 size 10000

[   12.131650] systemd[1]: Started Journal Service.
[   12.870160] systemd-journald[242]: Received client request to flush runtime journal.
[   12.912435] nvidia: loading out-of-tree module taints kernel.
[   12.928682] nv_platform 13800000.display: Adding to iommu group 42
[   12.932330] platform 13800000.display:nvdisplay-niso: Adding to iommu group 43
[   12.937289] NVRM: loading NVIDIA UNIX Open Kernel Module for aarch64  35.3.1  Release Build  (buildbrain@mobile-u64-6289-d7000)  Sun Mar 19 08:09:33 PDT 2023
[   12.962738] spi-tegra114 3210000.spi: Adding to iommu group 2
[   12.971959] spi-tegra114 3230000.spi: Adding to iommu group 2
[   13.001521] r8169 0008:01:00.0: Adding to iommu group 11
[   13.001929] r8169 0008:01:00.0: enabling device (0000 -> 0003)
[   13.020699] tegra-hda 3510000.hda: Adding to iommu group 44
[   13.023268] r8169 0008:01:00.0 eth0: RTL8168h/8111h, 3c:6d:66:0d:52:6f, XID 541, IRQ 295
[   13.023276] r8169 0008:01:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[   13.023682] imx219 9-0010: tegracam sensor driver:imx219_v2.0.6
[   13.026828] nvadsp 2993000.adsp: Adding to iommu group 45
[   13.026962] nvadsp 2993000.adsp: in probe()...
[   13.027373] tegra-adma 2930000.adma: Tegra210 ADMA driver registered 16 channels
[   13.034886] nvadsp 2993000.adsp: nvadsp_app_module_probe
[   13.039906] random: crng init done
[   13.046002] random: 7 urandom warning(s) missed due to ratelimiting
[   13.057705] imx219 9-0010: imx219_board_setup: error during i2c read probe (-121)
[   13.070376] irq: IRQ296: trimming hierarchy from :pmc@c360000
[   13.074248] cpu-throttle-alert cooling device registered.
[   13.074250] input: NVIDIA Jetson Orin NX HDA HDMI/DP,pcm=3 as /devices/platform/3510000.hda/sound/card0/input1
[   13.074338] input: NVIDIA Jetson Orin NX HDA HDMI/DP,pcm=7 as /devices/platform/3510000.hda/sound/card0/input2
[   13.074422] input: NVIDIA Jetson Orin NX HDA HDMI/DP,pcm=8 as /devices/platform/3510000.hda/sound/card0/input3
[   13.074498] input: NVIDIA Jetson Orin NX HDA HDMI/DP,pcm=9 as /devices/platform/3510000.hda/sound/card0/input4
[   13.074634] gpu-throttle-alert cooling device registered.
[   13.074978] cv0-throttle-alert cooling device registered.
[   13.075207] imx219 9-0010: board setup failed
[   13.075357] cv1-throttle-alert cooling device registered.
[   13.080226] imx219: probe of 9-0010 failed with error -121
[   13.080298] tegra210-adsp aconnect@2a41000:adsp_audio: Adding to iommu group 45
[   13.085935] cv2-throttle-alert cooling device registered.
[   13.086395] fusb301 1-0025: failed to read device id, err : 0xffffff87
[   13.087861] imx219 10-0010: tegracam sensor driver:imx219_v2.0.6
[   13.089034] tegra210_adsp_audio_probe: platform probe started
[   13.089504] tegra210-adsp tegra210-adsp: Default param-type to BYTE for mp3-dec1
[   13.089847] tegra210-adsp tegra210-adsp: Default param-type to BYTE for spkprot
[   13.090177] tegra210-adsp tegra210-adsp: Default param-type to BYTE for src
[   13.090505] tegra210-adsp tegra210-adsp: Default param-type to BYTE for aac-dec1
[   13.090828] tegra210-adsp tegra210-adsp: Default param-type to BYTE for aec
[   13.091170] tegra210-adsp tegra210-adsp: Default param-type to BYTE for wire
[   13.091174] tegra210-adsp tegra210-adsp: adma channel page address dt entry not found
[   13.091175] tegra210-adsp tegra210-adsp: using adma channel page 0
[   13.091239] nvadsp 2993000.adsp: ADSP OS firmware already loaded
[   13.096979] fusb301 1-0025: fusb301 not support
[   13.103434] fusb301: probe of 1-0025 failed with error -22
[   13.105880] soc0-throttle-alert cooling device registered.
[   13.111334] imx219 10-0010: imx219_board_setup: error during i2c read probe (-121)
[   13.112258] soc1-throttle-alert cooling device registered.
[   13.138648] soc2-throttle-alert cooling device registered.
[   13.145011] hot-surface-alert cooling state: 0 -> 1
[   13.164909] hot-surface-alert cooling device registered.
[   13.180043] imx219 10-0010: board setup failed
[   13.192426] tegra-asoc: sound: Adding to iommu group 45
[   13.196889] imx219: probe of 10-0010 failed with error -121
[   13.338679] cryptd: max_cpu_qlen set to 1000
[   13.481961] tegra210-adsp tegra210-adsp: Loaded app wire
[   13.481969] tegra210-adsp tegra210-adsp: Loaded app apm
[   13.481971] tegra210-adsp tegra210-adsp: Loaded app adma
[   13.481973] tegra210-adsp tegra210-adsp: Loaded app adma_tx
[   13.481977] nvadsp_set_adma_dump_reg: callback for adma reg dump is sent to 0000000082dab66c
[   13.511157] tegra210-adsp tegra210-adsp: Tegra210 ADSP driver successfully registered
[   14.112078] using random self ethernet address
[   14.118812] using random host ethernet address
[   16.172978] Generic FE-GE Realtek PHY r8169-8-100:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-8-100:00, irq=IGNORE)
[   16.357113] r8169 0008:01:00.0 eth0: Link is Down
[   17.911678] pstore: Using crash dump compression: deflate
[   17.911704] printk: console [ramoops-1] enabled
[   17.911707] pstore: Registered ramoops as persistent store backend
[   17.911709] ramoops: using 0x200000@0x268000000, ecc: 0
[   17.951322] zram: Added device: zram0
[   17.951529] zram: Added device: zram1
[   17.952676] zram: Added device: zram2
[   17.952970] zram: Added device: zram3
[   17.955042] zram: Added device: zram4
[   17.955472] zram: Added device: zram5
[   17.979698] zram0: detected capacity change from 0 to 641093632
[   17.996126] nvgpu: 17000000.ga10b                  gk20a_scale_init:539  [INFO]  enabled scaling for GPU

[   18.006454] EXT4-fs (nvme0n1p1): re-mounted. Opts: (null)
[   18.009090] Adding 626064k swap on /dev/zram0.  Priority:5 extents:1 across:626064k SS
[   18.013574] zram1: detected capacity change from 0 to 641093632
[   18.053110] Adding 626064k swap on /dev/zram1.  Priority:5 extents:1 across:626064k SS
[   18.054364] zram2: detected capacity change from 0 to 641093632
[   18.080980] Adding 626064k swap on /dev/zram2.  Priority:5 extents:1 across:626064k SS
[   18.082120] zram3: detected capacity change from 0 to 641093632
[   18.117038] Adding 626064k swap on /dev/zram3.  Priority:5 extents:1 across:626064k SS
[   18.118241] zram4: detected capacity change from 0 to 641093632
[   18.156975] Adding 626064k swap on /dev/zram4.  Priority:5 extents:1 across:626064k SS
[   18.158289] zram5: detected capacity change from 0 to 641093632
[   18.189030] Adding 626064k swap on /dev/zram5.  Priority:5 extents:1 across:626064k SS
[   19.987806] r8169 0008:01:00.0 eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   19.987936] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  134.980382] nvgpu: 17000000.ga10b             railgate_enable_store:323  [INFO]  railgate is disabled.
  1. Which SPI controllers are enabled vs. disabled in the live DT
/proc/device-tree/spi@3210000/status -> okay
/proc/device-tree/spi@3230000/status -> okay
/proc/device-tree/spi@3300000/status -> disabled
/proc/device-tree/spi@c260000/status -> disabled
  1. Which controller creates each /dev/spidevX.Y
/sys/class/spidev/spidev0.0 -> /sys/devices/platform/3210000.spi/spi_master/spi0/spi0.0
/sys/class/spidev/spidev0.1 -> /sys/devices/platform/3210000.spi/spi_master/spi0/spi0.1
/sys/class/spidev/spidev2.0 -> /sys/devices/platform/3230000.spi/spi_master/spi2/spi2.0
/sys/class/spidev/spidev2.1 -> /sys/devices/platform/3230000.spi/spi_master/spi2/spi2.1

This is the info I have on the system.

My questions are the next:

1) How do the spreadsheet “SPIx” names map to Linux controllers and /dev?
Could you confirm the mapping between the pinmux spreadsheet’s SPI1/SPI2/… and the Linux DT nodes and the name on the spreadsheet because i have 2 names on same line:

  • spi@3210000
  • spi@3230000
  • spi@3300000
  • spi@c260000

I specifically need to use the SPI routed to SOM pins 89-91-93-95-97 and a second SPI on 104-106-108-110 (those are the module pin numbers). Which controller nodes do those correspond to?

imagen
imagen

2) Overlay to enable the correct SPI(s) and hide the others

If the pinmux (MB1) configuration is correct, my understanding is I still need a kernel DT overlay to enable the intended SPI controller(s) in Linux. Could you help me create such an overlay, at least one working example, so I can understand the right way to define it and enable it on the /boot/extlinux/extlinux.conf file.

Thanks for all of your support.

Maybe you can refer to their mapping in https://elinux.org/Jetson/L4T/peripheral/#Mapping.

Please add the FDT entry in /boot/extlinux/extlinux.conf to specify the DTB in use.
e.g. FDT /boot/dtb/kernel_tegra234-p3768-0000+p3767-0005-nv.dtb

You can simply decompile this dtb to dts and update the device tree manually

Hi @KevinFFF,

Thanks, the SPIx mapping link is exactly what I needed.

My plan is:

  1. Use the DTB that the script flahsing creating the image for QSPI, decompile it,
  2. Set spi@c260000 to status = "okay" and set spi@3230000 to status = "disabled",
  3. Rebuild the DTS to DTB and point /boot/extlinux/extlinux.conf to it via FDT ... (and/or OVERLAYS ...) to validate it boots with the change.
  4. Validate on kernel that spidev1.x is up and spidev2.x is down.

I’m out of the office this week; I’ll try this late next week and report back.
If anything in that plan looks off, please let me know.

Thanks again!

Okay, it seems that you want to enable SPI1(spi@3210000) and SPI2(spi@c260000) but disable SPI3(spi@3230000).
The workflow looks good to me.
Please update the DTB file and you can check the current settings under /proc/device-tree.

Hi @KevinFFF,

I tried to switch the system to a DTB in /boot via extlinux.conf, but it looks like UEFI isn’t parsing extlinux at all.

What I did

/boot/extlinux/extlinux.conf (active label):


TIMEOUT 30
DEFAULT primary

MENU TITLE L4T boot options

LABEL primary
      MENU LABEL primary kernel
      LINUX /boot/Image
      INITRD /boot/initrd
      FDT /boot/dtb/kernel_tegra234-p3767-0000-p3768-0000-a0.dtb
#     FDTDIR /boot/dtb
      APPEND testflag=hello ${cbootargs} extdtb=TEST_P3767_A0

I use testflag and extdtb to validate after restart if is loading this option.

After reboot:

$ cat /proc/cmdline
root=PARTUUID=9aede23d-88d0-473a-8631-41806a727110 rw rootwait rootfstype=ext4 mminit_loglevel=4 console=ttyTCU0,115200 console=ttyAMA0,115200 firmware_class.path=/etc/firmware fbcon=map:0 net.ifnames=0

$ cat /proc/cmdline | tr ' ' '\n' | grep -E 'testflag=|extdtb='
# (no output)

I attached the dmesg log after reboot for help to you why is not loading extlinux.conf. dmesg.log (59.6 KB)

What’s the recommended way on Orin Nano (R35.3.1) to force the system to boot via L4TLauncher so that /boot/extlinux/extlinux.conf is honored?

Once I can get extlinux.conf to apply, I’ll proceed with the DTB/OVERLAYS workflow you suggested (enable spi@c260000, disable spi@3230000, etc.).

Thanks for the guidance!

It will use the DTB specified in FDT.

Could you revert it to the original and just append your string at the end?

It seems the original kernel command line looks like the following.

[    0.000000] Kernel command line: root=PARTUUID=9aede23d-88d0-473a-8631-41806a727110 rw rootwait rootfstype=ext4 mminit_loglevel=4 console=ttyTCU0,115200 console=ttyAMA0,115200 firmware_class.path=/etc/firmware fbcon=map:0 net.ifnames=0 

Hi @KevinFFF,

Thanks for the guidance. I followed your request and appended the string at the end, as shown below:

TIMEOUT 30
DEFAULT primary

MENU TITLE L4T boot options

LABEL primary
MENU LABEL primary kernel
LINUX /boot/Image
INITRD /boot/initrd
FDT /boot/dtb/kernel_tegra234-p3767-0000-p3768-0000-a0.dtb
APPEND ${cbootargs} extdtb=TEST_P3767_A0 testflag=hello

I’m attaching the boot dmesg nothing changes; it looks like the system is ignoring the extlinux.conf entry.

boot_dmesg.txt (60.4 KB)

I also connected to the debug UART. The last line I see is:

boot_log.txt (7.0 KB)

[0000.703] I> Task: Pinmux init (0x5001397d)

After this, there’s no further output. This is confusing because in my pinmux configuration I kept the debug UART at its default, so it should keep printing.

I’m trying to read the bootloader logs to understand the boot flow, but since the output stops there, I can’t see what’s happening. Any pointers on why extlinux.conf seems to be ignored and why the UART output stops right after pinmux init would be appreciated.

Best Regards.

It looks not like the default configuration, could you revert it?
There’s no cboot in R35.3.1.

Is your current issue about pinmux device tree not applied or the attributes(extdtb=TEST_P3767_A0 testflag=hello) you added in extlinux.conf not reflected?

Hi @KevinFFF,

  • I’ve reverted extlinux.conf to the default style.
  • My main goal is to confirm the spreadsheet pinmux is actually applied; right now it doesn’t seem to match at runtime.
  • I tried runtime DT overlays / setting FDT directly to avoid reflashing. On JP 5.1.1 (R35.3.1), is there any supported way to apply pinmux changes via FDT/OVERLAYS or configfs at runtime, or are pinmux changes only possible via MB1 (QSPI) BCT so reflashing is required?
  • Separately: even if pinmux must come from MB1, is it possible to load a kernel DT overlay (.dtbo) at OS boot (via OVERLAYS in extlinux.conf) to enable/disable kernel-visible nodes (e.g., SPI/I²C) while leaving MB1 pad settings as-is? If yes, what’s the recommended path on R35.3.1?

I’ll proceed with a QSPI-only reflash as you suggested and then verify with pinconf-groups. If there’s any MB1-specific step I should double-check, please let me know.

Best Regards.

You can simply run the following command before and after you made the change

//SPI2_SCK - PCC.00
$ sudo busybox devmem 0x0c302048

pinmux/gpio dtsi is included in MB1 BCT and they are loaded in early boot (MB1) so that you have to reflash to apply that change.
If you don’t want to reflash the board, you can add similar configuration to pinmux@2430000 node so that the pinctrl kernel driver will configure them during boot up.

You should able to configure the pinmux with both methods.
Please just run devmem command to check if your change has been taken effect.

Hi @KevinFFF,

I built my carrier to match the Orin Nano devkit SPI routing (same level-shifter, same pins). DT pinmux is set to spi3 on PY0..PY3, I load spidev, /dev/spidev2.0 appear, and the interrupt for 3230000.spi increments on each transfer:

sudo cat /proc/interrupts | grep spi

69: 14 0 0 0 0 0 GICv3 70 Level 3230000.spi

But on the logic analyzer there is no activity at all (no SCK/MOSI/CS). If I switch those pins to GPIO (Changing the Device tree and reflashing module) I can toggle them fine, so the wiring is OK, the issue only happens in SPI mode but the func=spi3 is enable correctly on /sys/kernel/debug/pinctrl/2430000.pinmux/pinconf-groups.

110 (spi3_miso_py1): 
        pull=1
        tristate=1
        enable-input=1
        open-drain=0
        io-reset=0
        rcv-sel=0
        io-hv=0
        loopback=0
        schmitt=0
        pull-down-strength=0
        pull-up-strength=0
        drive-type=0
        func=spi3
        pad-power=0
112 (spi3_cs0_py3): 
        pull=1
        tristate=1
        enable-input=1
        open-drain=0
        io-reset=0
        rcv-sel=0
        io-hv=0
        loopback=0
        schmitt=0
        pull-down-strength=0
        pull-up-strength=0
        drive-type=0
        func=spi3
        pad-power=0
116 (spi3_sck_py0): 
        pull=1
        tristate=1
        enable-input=1
        open-drain=0
        io-reset=0
        rcv-sel=0
        io-hv=0
        loopback=0
        schmitt=1
        pull-down-strength=0
        pull-up-strength=0
        drive-type=0
        func=spi3
        pad-power=0
119 (spi3_mosi_py2): 
        pull=1
        tristate=1
        enable-input=1
        open-drain=0
        io-reset=0
        rcv-sel=0
        io-hv=0
        loopback=0
        schmitt=0
        pull-down-strength=0
        pull-up-strength=0
        drive-type=0
        func=spi3
        pad-power=0

Anything else I should check on R35.3.1 to get SPI3 to actually drive pins?

I can’t test directly example on elinux.org Making sure you're not a bot! because on my R35.3.1 I can’t load from extlinux.conf that the python script does.

In this point I only need to make SPI transfer on spidev2.0.

Thanks for your support.

Best Regards.

Do you have the devkit to verify for the similar steps?

If you have the similar design as the devkit, you should be able to use jetson-io.py tool to enable SPI functions.

I’m not clear about why you said that you can not load extlinux.conf.
Please provide your /boot/extlinux/extlinux.conf for further check.

Please also share the result of the following commands to read the pinmux register for SPI3.

$ sudo busybox devmem 0x0243d000 //SPI3_MISO
$ sudo busybox devmem 0x0243d048 //SPI3_MOSI
$ sudo busybox devmem 0x0243d030 //SPI3_SCK
$ sudo busybox devmem 0x0243d010 //SPI3_CS0
$ sudo busybox devmem 0x0243d020 //SPI3_CS1