Jetson Nano sees SD Card only if booting with it

Good afternoon, dear Nvidia! I have such a problem - my Jetson Nano sees SD Card on my board only if I booting with it. Hot plug is not working. If I boot without it, then Nano does not see it after installation. If I boot with it in the slot, then it is detected in Linux, but when pulled out it also continues to hang in /dev and in lsblk.
DT sdhci implementation:

	sdhci@700b0400 {
		status = "okay";
		nvidia,cd-wakeup-capable;
		cd-gpios = <&gpio TEGRA_GPIO(Y, 2) 0>;
		/delete-property/ keep-power-in-suspend;
		/delete-property/ non-removable;
		mmc-ddr-1_8v;
		mmc-ocr-mask = <3>;
		uhs-mask = <0x0>;
		tap-delay = <3>;
	};

Maybe I should somehow declare this GPIO (Y2) above, to use it here in such manner?

So does TEGRA_GPIO(Y, 2) really match the hardware pin you are using for card detect?

Of course yes, we earlier used this pin as GPIO in /sys, but rebuilt the board then and now we has such trouble with it.

So what is the dmesg after you hotplug the sdcard after boot?

There is nothing in dmesg after dragging SD card… push you it in or pull it out - there is nothing in dmesg

Please share me the full dmesg first.

dmesg.txt (54.3 KB)

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.337-tegra (rvp@rvp-pc) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #77 SMP PREEMPT Tue Dec 5 14:52:58 MSK 2023
[    0.000000] Boot CPU: AArch64 Processor [411fd071]
[    0.000000] OF: fdt:memory scan node memory@80000000, reg size 32,
[    0.000000] OF: fdt: - 80000000 ,  7ee00000
[    0.000000] OF: fdt: - 100000000 ,  7f200000
[    0.000000] earlycon: uart8250 at MMIO32 0x0000000070006000 (options '')
[    0.000000] bootconsole [uart8250] enabled
[    0.000000] OF: reserved mem: initialized node vpr-carveout, compatible id nvidia,vpr-carveout
[    0.000000] OF: reserved mem: initialized node iram-carveout, compatible id nvidia,iram-carveout
[    0.000000] cma: Reserved 64 MiB at 0x00000000fac00000
[    0.000000] On node 0 totalpages: 1039872
[    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: 8136 pages used for memmap
[    0.000000]   Normal zone: 520704 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] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 23 pages/cpu s53848 r8192 d32168 u94208
[    0.000000] pcpu-alloc: s53848 r8192 d32168 u94208 alloc=23*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] Speculative Store Bypass Disable mitigation not required
[    0.000000] CPU features: enabling workaround for Spectre-BHB
[    0.000000] CPU features: enabling workaround for ARM erratum 1742098
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 1023544
[    0.000000] Kernel command line: tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M 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 console=ttyS0,115200n8 debug_uartport=lsport,4 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1075 core_edp_ma=4000 gpt  earlycon=uart8250,mmio32,0x70006000  root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 sdhci_tegra.en_boot_part_access=1 quiet root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 sdhci_tegra.en_boot_part_access=1 usbcore.usbfs_memory_mb=1024 usbcore.autosuspend=-1 usb_port_owner_info=2
[    0.000000] log_buf_len individual max cpu contribution: 32768 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 98304 bytes
[    0.000000] log_buf_len min size: 32768 bytes
[    0.000000] log_buf_len: 131072 bytes
[    0.000000] early log buf free: 29700(90%)
[    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: 3582180K/4159488K available (11198K kernel code, 1560K rwdata, 4472K rodata, 2688K init, 565K bss, 102172K reserved, 475136K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0x        (ptrval) - 0x        (ptrval)   ( 11200 KB)
[    0.000000]     .rodata : 0x        (ptrval) - 0x        (ptrval)   (  4544 KB)
[    0.000000]       .init : 0x        (ptrval) - 0x        (ptrval)   (  2688 KB)
[    0.000000]       .data : 0x        (ptrval) - 0x        (ptrval)   (  1561 KB)
[    0.000000]        .bss : 0x        (ptrval) - 0x        (ptrval)   (   566 KB)
[    0.000000]     fixed   : 0xffffffbefe7fd000 - 0xffffffbefec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
[    0.000000]               0xffffffbf00000000 - 0xffffffbf03fc8000   (    63 MB actual)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc0ff200000   (  4082 MB)
[    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] t210 clock and reset probe
[    0.000000] tegra-pmc: get_secure_pmc_setting: done secure_pmc=1
[    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] arm_arch_timer: 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.000006] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.001489] Console: colour dummy device 80x25
[    0.001498] console [tty0] enabled
[    0.001505] bootconsole [uart8250] disabled
[    0.001537] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=76800)
[    0.001548] pid_max: default: 32768 minimum: 301
[    0.001634] Security Framework initialized
[    0.001668] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.001673] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.002847] sched-energy: CPU device node has no sched-energy-costs
[    0.012178] ASID allocator initialised with 65536 entries
[    0.036134] tegra-id: chipid=22117.
[    0.036142] tegra-id: opt_subrevision=0.
[    0.036226] Tegra Speedo/IDDQ fuse revision 4
[    0.036231] Tegra: CPU Speedo ID 9, SoC Speedo ID 0, GPU Speedo ID 2
[    0.036235] Tegra: CPU Process ID 0, SoC Process ID 1, GPU Process ID 0
[    0.036239] Tegra: CPU Speedo Value 2102, SoC Speedo Value 1972, GPU Speedo Value 2094
[    0.036243] Tegra: CPU IDDQ Value 2288, SoC IDDQ Value 2492, GPU IDDQ Value 3020
[    0.036269] Tegra Revision: A02 SKU: 0x8f CPU Process: 0 SoC Process: 1
[    0.036286] DTS File Name: /home/rvp/work/nvidia/Linux_for_Tegra/source/public/kernel/kernel-4.9/arch/arm64/boot/dts/../../../../../../hardware/nvidia/platform/t210/porg/kernel-dts/lecor.dts
[    0.036292] DTB Build time: Dec  5 2023 13:36:58
[    0.084450] CPU1: Booted secondary processor [411fd071]
[    0.116361] CPU2: Booted secondary processor [411fd071]
[    0.148353] CPU3: Booted secondary processor [411fd071]
[    0.148432] Brought up 4 CPUs
[    0.148438] SMP: Total of 4 processors activated.
[    0.148447] CPU features: detected feature: 32-bit EL0 Support
[    0.148675] CPU: All CPU(s) started at EL2
[    0.148693] alternatives: patching kernel code
[    0.155165] devtmpfs: initialized
[    0.193350] Initilizing CustomIPI irq domain
[    0.193674] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.193695] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.205525] pinctrl core: initialized pinctrl subsystem
[    0.206006] OS set in device tree is not L4T.
[    0.206380] regulator-dummy: no parameters
[    0.206623] Initializing plugin-manager
[    0.206767] Plugin module not found
[    0.206805] Plugin-manager not available
[    0.209372] NET: Registered protocol family 16
[    0.224171] cpuidle: using governor menu
[    0.227274] tegra_smmu 70019000.iommu: Loaded Tegra IOMMU driver
[    0.229017] vdso: 2 pages (1 code @         (ptrval), 1 data @         (ptrval))
[    0.229039] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.230648] atomic_pool_init():622: DMA: preallocated 1024 KiB pool for atomic allocations
[    0.233000] Serial: AMBA PL011 UART driver
[    0.233492] tegra_powergate_init: DONE
[    0.235223] Tegra reboot handler registered.
[    0.239508] iommu: Adding device tegra-carveouts to group 0
[    0.239601] platform tegra-carveouts: domain=        (ptrval) allocates as[0]=        (ptrval)
[    0.239932] iommu: Adding device smmu_test to group 1
[    0.239980] platform smmu_test: domain=        (ptrval) allocates as[0]=        (ptrval)
[    0.240770] mc: mapped MMIO address: 0x        (ptrval) -> 0x70019000
[    0.240825] mc: mapped MMIO address: 0x        (ptrval) -> 0x7001c000
[    0.240881] mc: mapped MMIO address: 0x        (ptrval) -> 0x7001d000
[    0.240890] nv-tegra-mc 70019000.mc: No mssnvlink node
[    0.240905] mc-err: mcerr ops are set to t21x
[    0.250782] iommu: Adding device 70090000.xusb to group 2
[    0.251041] iommu: Adding device 70006000.serial to group 3
[    0.251099] platform 70006000.serial: domain=        (ptrval) allocates as[0]=        (ptrval)
[    0.251490] iommu: Adding device 70006040.serial to group 4
[    0.251724] iommu: Adding device 70006200.serial to group 5
[    0.252109] iommu: Adding device 7000d400.spi to group 6
[    0.252328] iommu: Adding device 7000d600.spi to group 7
[    0.252695] iommu: Adding device 50000000.host1x to group 8
[    0.252951] iommu: Adding device 54080000.vi to group 9
[    0.253305] iommu: Adding device 54600000.isp to group 10
[    0.253539] iommu: Adding device 54680000.isp to group 11
[    0.253776] iommu: Adding device tegradc.0 to group 12
[    0.253822] platform tegradc.0: domain=        (ptrval) allocates as[0]=        (ptrval)
[    0.254330] platform tegradc.0: IOVA linear map 0x00000000d7000000(19000000)
[    0.254653] iommu: Adding device tegradc.1 to group 13
[    0.254702] platform tegradc.1: domain=        (ptrval) allocates as[0]=        (ptrval)
[    0.255195] platform tegradc.1: IOVA linear map 0x00000000d7000000(19000000)
[    0.255405] iommu: Adding device 54340000.vic to group 14
[    0.255582] iommu: Adding device 544c0000.nvenc to group 15
[    0.255756] iommu: Adding device 54500000.tsec to group 16
[    0.255923] iommu: Adding device 54100000.tsecb to group 17
[    0.256103] iommu: Adding device 54480000.nvdec to group 18
[    0.256277] iommu: Adding device 54380000.nvjpg to group 19
[    0.257254] iommu: Adding device 546c0000.i2c to group 20
[    0.257595] iommu: Adding device 57000000.gpu to group 21
[    0.257641] platform 57000000.gpu: domain=        (ptrval) allocates as[0]=        (ptrval)
[    0.257673] platform 57000000.gpu: domain=        (ptrval) allocates as[1]=        (ptrval)
[    0.257708] platform 57000000.gpu: domain=        (ptrval) allocates as[2]=        (ptrval)
[    0.257745] platform 57000000.gpu: domain=        (ptrval) allocates as[3]=        (ptrval)
[    0.258569] tegra-pmc 7000e400.pmc: i2c-thermtrip node not found, emergency thermal reset disabled.
[    0.258580] tegra-pmc 7000e400.pmc: scratch reg offset dts data not present
[    0.258591] tegra-pmc: ### PMC reset source: TEGRA_SOFTWARE_RESET
[    0.258595] tegra-pmc: ### PMC reset level: TEGRA_RESET_LEVEL_WARM
[    0.258599] tegra-pmc: ### PMC reset status reg: 0x3
[    0.308552] padctrl padctrl.0: Pad control driver tegra-pmc-padctrl registered
[    0.308558] tegra-pmc: Clear bootloader IO dpd settings
[    0.308582] tegra-pmc 7000e400.pmc: IO padctrl driver initialized
[    0.308637] tegra-pmc 7000e400.pmc: PMC: Successfully configure bootrom reset commands
[    0.308914] iommu: Adding device 70012000.se to group 22
[    0.309680] iommu: Adding device 7000c000.i2c to group 23
[    0.309914] iommu: Adding device 7000c400.i2c to group 24
[    0.310195] iommu: Adding device 7000c500.i2c to group 25
[    0.310429] iommu: Adding device 7000c700.i2c to group 26
[    0.310704] iommu: Adding device 7000d000.i2c to group 27
[    0.310926] iommu: Adding device 7000d100.i2c to group 28
[    0.311241] iommu: Adding device sdhci-tegra.3 to group 29
[    0.311305] platform sdhci-tegra.3: domain=        (ptrval) allocates as[0]=        (ptrval)
[    0.311697] iommu: Adding device sdhci-tegra.2 to group 30
[    0.311742] platform sdhci-tegra.2: domain=        (ptrval) allocates as[0]=        (ptrval)
[    0.312614] iommu: Adding device 700d0000.xudc to group 31
[    0.315893] vdd-ac-bat: 5000 mV 
[    0.316244] vdd-5v0-sys: 5000 mV 
[    0.316965] vdd-5v0-hdmi: 5000 mV 
[    0.317370] vdd-5v0-hdmi: supplied by vdd-5v0-sys
[    0.317594] vdd-1v8-sys: 1800 mV 
[    0.317977] vdd-fan: 5000 mV 
[    0.318170] vdd-fan: supplied by vdd-5v0-sys
[    0.318394] vdd-usb-vbus: 5000 mV 
[    0.318600] vdd-usb-vbus: supplied by vdd-5v0-sys
[    0.318883] vdd-usb-vbus2: 5000 mV 
[    0.347067] gpio gpiochip0: gpio-line-names specifies 240 line names but there are 256 lines on the chip
[    0.348267] GPIO line 6 (system-suspend-gpio) hogged as output/high
[    0.348596] gpiochip_setup_dev: registered GPIOs 0 to 255 on device: gpiochip0 (tegra-gpio)
[    0.355976] eventlib_kernel: keventlib is initialized, test id: 0
[    0.356246] SCSI subsystem initialized
[    0.356441] libata version 3.00 loaded.
[    0.356746] usbcore: registered new interface driver usbfs
[    0.356791] usbcore: registered new interface driver hub
[    0.356828] usbcore: registered new device driver usb
[    0.360713] max77620 4-003c: PMIC Version OTP:0x35 and ES:0x8
[    0.364690] vdd-core: 1000 <--> 1162 mV at 1075 mV 
[    0.365603] vdd-ddr-1v1: Bringing 1125000uV into 1150000-1150000uV
[    0.368513] vdd-ddr-1v1: 1150 mV 
[    0.372467] vdd-pre-reg-1v35: 1350 mV 
[    0.376467] vdd-1v8: 1800 mV 
[    0.380467] avdd-sys-1v2: 1200 mV 
[    0.384465] vdd-pex-1v0: 1050 mV 
[    0.385094] vddio-sdmmc-ap: 1800 <--> 3300 mV at 3300 mV 
[    0.385602] max77620-ldo3: at 3100 mV 
[    0.388469] vdd-rtc: 850 <--> 1100 mV at 1000 mV 
[    0.388983] max77620-ldo5: at 3100 mV 
[    0.392469] vddio-sdmmc3-ap: 1800 <--> 3300 mV at 2800 mV 
[    0.396465] avdd-1v05-pll: 1050 mV 
[    0.400166] avdd-io-hdmi-dp: 1050 mV 
[    0.402573] GPIO line 505 (spmic-default-output-high) hogged as output/high
[    0.402820] gpiochip_setup_dev: registered GPIOs 504 to 511 on device: gpiochip1 (max77620-gpio)
[    0.403061] max77620 4-003c: max77620 probe successful
[    0.405917] media: Linux media interface: v0.10
[    0.405971] Linux video capture interface: v2.00
[    0.406802] pps_core: LinuxPPS API ver. 1 registered
[    0.406808] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.410428] tegra210-emc 7001b000.external-memory-controller: validated EMC DFS table
[    0.413354] tegra210_dvfs: no clock found for sdmmc2_ddr
[    0.413372] tegra210_dvfs: no clock found for sdmmc4_ddr
[    0.413425] tegra210_dvfs: no clock found for sdmmc1_ddr
[    0.413440] tegra210_dvfs: no clock found for sdmmc3_ddr
[    0.416603] tegra_dvfs: Unable to get vdd-cpu rail for step info, defering probe
[    0.417708] vdd-3v3-sys: 3300 mV 
[    0.418045] vdd-3v3-sys: supplied by vdd-5v0-sys
[    0.418094] vdd-1v8-sys: supplied by vdd-3v3-sys
[    0.420539] vdd-usb-vbus2: supplied by vdd-3v3-sys
[    0.420980] vdd-3v3-sd: 3300 mV 
[    0.421334] vdd-3v3-sd: supplied by vdd-3v3-sys
[    0.421790] avdd-io-edp-1v05: 1050 mV 
[    0.422117] avdd-io-edp-1v05: supplied by avdd-1v05-pll
[    0.422240] vdd-usb-hub-en: 5000 mV 
[    0.422585] vdd-usb-hub-en: supplied by vdd-1v8-sys
[    0.423616] camchar: rtcpu character device driver loaded
[    0.424264] extcon-gpio-states extcon:extcon@1: Cable state:0, cable id:0
[    0.425556] clocksource: Switched to clocksource arch_sys_counter
[    0.425730] VFS: Disk quotas dquot_6.6.0
[    0.425795] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.425944] nvmap_heap_init: nvmap_heap_init: created heap block cache
[    0.426152] dma_declare_coherent_resizable_cma_memory:324: resizable heap=vpr, base=0x00000000d7000000, size=0x19000000
[    0.426166]  dma-vpr: heap size is not multiple of cma_chunk_size heap_info->num_chunks (13) rem_chunk_size(0x1000000)
[    0.426354] cma: enabled page replacement for spfn=d7000, epfn=f0000
[    0.426359] dma_declare_coherent_resizable_cma_memory:373: resizable cma heap=vpr create successful
[    0.426373] tegra-carveouts tegra-carveouts: assigned reserved memory node vpr-carveout
[    0.426395] tegra-carveouts tegra-carveouts: iram :dma coherent mem declare 0x0000000040001000,258048
[    0.426401] tegra-carveouts tegra-carveouts: assigned reserved memory node iram-carveout
[    0.426417] nvmap: nvmap_select_cache_ops() nvmap cache ops set to set/ways
[    0.426423] nvmap_page_pool_init: Total RAM pages: 1014329
[    0.426428] nvmap_page_pool_init: nvmap page pool size: 126791 pages (495 MB)
[    0.426494] nvmap_background_zero_thread: PP zeroing thread starting.
[    0.426763] misc nvmap: created heap iram base 0x        (ptrval) size (252KiB)
[    0.427542] misc nvmap: created heap vpr base 0x        (ptrval) size (409600KiB)
[    0.434650] thermal thermal_zone0: Registering thermal zone thermal_zone0 for type AO-therm
[    0.435013] thermal thermal_zone1: Registering thermal zone thermal_zone1 for type CPU-therm
[    0.435246] thermal thermal_zone2: Registering thermal zone thermal_zone2 for type GPU-therm
[    0.435444] thermal thermal_zone3: Registering thermal zone thermal_zone3 for type PLL-therm
[    0.435609] thermal thermal_zone4: Registering thermal zone thermal_zone4 for type PMIC-Die
[    0.435865] pre_t19x_iso_plat_init(): iso emc max clk=1600000KHz
[    0.435869] pre_t19x_iso_plat_init(): max_iso_bw=11520000KB
[    0.435987] NET: Registered protocol family 2
[    0.436128] IP idents hash table entries: 65536 (order: 7, 524288 bytes)
[    0.461693] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    0.461905] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    0.462410] TCP: Hash tables configured (established 32768 bind 32768)
[    0.462556] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    0.462636] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    0.462876] NET: Registered protocol family 1
[    0.462906] PCI: CLS 0 bytes, default 64
[    0.463119] Trying to unpack rootfs image as initramfs...
[    0.768618] Freeing initrd memory: 6988K
[    0.778351] host1x 50000000.host1x: initialized
[    0.780004] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.782885] audit: initializing netlink subsys (disabled)
[    0.782995] audit: type=2000 audit(0.779:1): initialized
[    0.783574] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.789091] ntfs: driver 2.1.32 [Flags: R/W].
[    0.791894] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 241)
[    0.792002] io scheduler noop registered
[    0.792127] io scheduler cfq registered (default)
[    0.794153] gic 702f9000.agic: GIC IRQ controller registered
[    0.797017] iommu: Adding device 702ef000.adsp to group 32
[    0.797121] platform 702ef000.adsp: domain=        (ptrval) allocates as[0]=        (ptrval)
[    0.806109] iommu: Adding device aconnect@702c0000:adsp_audio to group 33
[    0.806246] tegra-aconnect aconnect@702c0000: Tegra ACONNECT bus registered
[    0.806825] tegra-xusb-padctl 7009f000.xusb_padctl: TEGRA_FUSE_SKU_CALIB_0 = 0x91e9411
[    0.806832] tegra-xusb-padctl 7009f000.xusb_padctl: TEGRA_FUSE_USB_CALIB_EXT_0 = 0x4
[    0.808423] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-usb2.0, lane = usb2-0, function = xusb
[    0.808509] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-usb2.1, lane = usb2-1, function = xusb
[    0.808586] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-usb2.2, lane = usb2-2, function = xusb
[    0.808756] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.3, lane = pcie-0, function = pcie-x1
[    0.808834] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.4, lane = pcie-1, function = pcie-x4
[    0.808914] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.5, lane = pcie-2, function = pcie-x4
[    0.808987] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.6, lane = pcie-3, function = pcie-x4
[    0.809065] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.7, lane = pcie-4, function = pcie-x4
[    0.809142] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.8, lane = pcie-5, function = xusb
[    0.809215] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.9, lane = pcie-6, function = xusb
[    0.815270] tegra-pwm 7000a000.pwm: PWM clk cannot sleep in ops
[    0.816783] tegra-dfll-pwm 70110000.pwm: DFLL pwm-rate: 12800000
[    0.818633] tegra-pcie 1003000.pcie: 4x1, 1x1 configuration
[    0.819880] tegra-pcie 1003000.pcie: PCIE: Enable power rails
[    0.820213] tegra-pcie 1003000.pcie: probing port 0, using 4 lanes
[    0.821462] tegra_camera_platform tegra-camera-platform: tegra_camera_probe:camera_platform_driver probe
[    0.821690] tegra-pcie 1003000.pcie: probing port 1, using 1 lanes
[    0.821830] misc tegra_camera_ctrl: tegra_camera_isomgr_register isp_iso_bw=5250, vi_iso_bw=1029000, max_bw=1029000
[    0.822063] Adding domain tsec-pd to PM domain host1x-pd
[    0.825229] tsec 54500000.tsec: initialized
[    0.826621] tsec 54100000.tsecb: initialized
[    0.827290] Adding domain nvdec-pd to PM domain host1x-pd
[    0.830506] nvdec 54480000.nvdec: initialized
[    0.831490] Adding domain vic03-pd to PM domain host1x-pd
[    0.831669] Adding domain msenc-pd to PM domain host1x-pd
[    0.831827] Adding domain nvjpg-pd to PM domain host1x-pd
[    0.835914] falcon 54340000.vic: initialized
[    0.837034] falcon 544c0000.nvenc: initialized
[    0.838363] falcon 54380000.nvjpg: initialized
[    0.842628] tegra_cec 70015000.tegra_cec: dt=1 start=0x70015000 end=0x70015FFF irq=97
[    0.842668] tegra_cec 70015000.tegra_cec: Enable clock result: 0.
[    0.842703] tegra_cec 70015000.tegra_cec: tegra_cec_init started
[    0.842761] tegradc tegradc.0: disp0 connected to head0->/host1x/sor1
[    0.842855] display board info: id 0x101, fab 0x53
[    0.842910] generic_infoframe_type: 0x87
[    0.842948] tegra_cec 70015000.tegra_cec: cec_add_sysfs ret=0
[    0.842953] tegra_cec 70015000.tegra_cec: probed
[    0.843053] tegradc tegradc.0: DT parsed successfully
[    0.843092] tegradc tegradc.0: Display dc.        (ptrval) registered with id=0
[    0.846438] tegradc tegradc.0: probed
[    0.847104] Console: switching to colour frame buffer device 80x30
[    0.847138] tegradc tegradc.0: fb registered
[    0.848294] tegradc tegradc.1: disp1 connected to head1->/host1x/sor
[    0.848372] tegradc tegradc.1: No lt-data, using default setting
[    0.848398] tegradc tegradc.1: No hpd-gpio in DT
[    0.848430] tegradc tegradc.1: DT parsed successfully
[    0.848472] tegradc tegradc.1: Display dc.        (ptrval) registered with id=1
[    0.850076] tegradc tegradc.1: dpd enable lookup fail:-19
[    0.850565] tegra-apbdma 60020000.dma: Tegra20 APB DMA driver register 32 channels
[    1.355822] Host read timeout at address 545c00c4
[    1.357264] tegradc tegradc.1: probed
[    1.357638] tegradc tegradc.1: fb registered
[    1.358283] tegra-adma 702e2000.adma: Tegra210 ADMA driver registered 22 channels
[    1.359050] tegra-fuse-burn 7000f800.efuse:efuse-burn: shutdown limit check disabled
[    1.359056] tegra-fuse-burn 7000f800.efuse:efuse-burn: Fuse burn driver initialized
[    1.359343] kfuse 7000fc00.kfuse: initialized
[    1.360215] tegra-pmc-iopower pmc-iopower: Regulator supply iopower-dbg-supply not available
[    1.360872] hpd: state 7 (Takeover from bootloader), hpd 0, pending_hpd_evt 1
[    1.360878] hpd: switching from state 7 (Takeover from bootloader) to state 0 (Reset)
[    1.360886] hpd: state 0 (Reset), hpd 0, pending_hpd_evt 0
[    1.360900] tegradc tegradc.1: blank - powerdown
[    1.360924] extcon-disp-state extcon:disp-state: cable 44 state 0 already set.
[    1.360928] Extcon DP: HPD disabled
[    1.360932] hpd: hpd_switch 0
[    1.360936] hpd: switching from state 0 (Reset) to state 1 (Check Plug)
[    1.360944] hpd: state 1 (Check Plug), hpd 0, pending_hpd_evt 0
[    1.360950] hpd: switching from state 1 (Check Plug) to state 3 (Disabled)
[    1.360977] tegra-pmc-iopower pmc-iopower: NO_IOPOWER setting 0x0
[    1.363022] tegra-pcie 1003000.pcie: PCI host bridge to bus 0000:00
[    1.363029] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.363035] pci_bus 0000:00: root bus resource [mem 0x13000000-0x1fffffff]
[    1.363040] pci_bus 0000:00: root bus resource [mem 0x20000000-0x3fffffff pref]
[    1.363046] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.363067] pci 0000:00:01.0: [10de:0fae] type 01 class 0x060400
[    1.363129] pci 0000:00:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.363292] pci 0000:00:02.0: [10de:0faf] type 01 class 0x060400
[    1.363348] pci 0000:00:02.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.363494] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.363503] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.363607] pci 0000:01:00.0: [1d6a:14c0] type 00 class 0x020000
[    1.363638] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x0007ffff 64bit]
[    1.363658] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00000fff 64bit]
[    1.363677] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x003fffff 64bit]
[    1.363690] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0001ffff pref]
[    1.363828] pci 0000:01:00.0: supports D1 D2
[    1.363833] pci 0000:01:00.0: PME# supported from D0 D1 D3hot D3cold
[    1.364303] tegra-dfll-pwm 70110000.pwm: DFLL_PWM regulator is available now
[    1.364310] vdd-cpu: 708 <--> 1322 mV at 708 mV 
[    1.364615] pwm-regulator pwm_regulators:pwm-regulator@0: PWM regulator registration passed
[    1.365560] vdd-gpu: applied init 1000000uV constraint
[    1.365565] vdd-gpu: 708 <--> 1323 mV at 997 mV 
[    1.365870] pwm-regulator pwm_regulators:pwm-regulator@1: PWM regulator registration passed
[    1.368217] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.368268] No Device Node present for smmu client: serial8250 !!
[    1.368274] platform serial8250: No iommus property found in DT node, got swgids from fixup(101004000)
[    1.368298] iommu: Adding device serial8250 to group 34
[    1.369655] console [ttyS0] disabled
[    1.369691] 70006000.serial: ttyS0 at MMIO 0x70006000 (irq = 63, base_baud = 25500000) is a Tegra
[    1.377628] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.377748] pci 0000:02:00.0: [10ec:8168] type 00 class 0x020000
[    1.377771] pci 0000:02:00.0: reg 0x10: [io  0x0000-0x00ff]
[    1.377799] pci 0000:02:00.0: reg 0x18: [mem 0x00000000-0x00000fff 64bit pref]
[    1.377818] pci 0000:02:00.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit pref]
[    1.377938] pci 0000:02:00.0: supports D1 D2
[    1.377941] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.379849] console [ttyS0] enabled
[    1.380505] 70006040.serial: ttyTHS1 at MMIO 0x70006040 (irq = 64, base_baud = 0) is a TEGRA_UART
[    1.380699] serial-tegra 70006200.serial: RX in PIO mode
[    1.380771] 70006200.serial: ttyTHS2 at MMIO 0x70006200 (irq = 65, base_baud = 0) is a TEGRA_UART
[    1.381511] [drm] Initialized
[    1.382017] nvgpu: 57000000.gpu                       nvgpu_probe:265  [INFO]  platform probe failed
[    1.385626] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.385672] pci 0000:00:01.0: BAR 14: assigned [mem 0x13000000-0x135fffff]
[    1.385681] pci 0000:00:02.0: BAR 15: assigned [mem 0x20000000-0x200fffff 64bit pref]
[    1.385687] pci 0000:00:02.0: BAR 13: assigned [io  0x1000-0x1fff]
[    1.385697] pci 0000:01:00.0: BAR 4: assigned [mem 0x13000000-0x133fffff 64bit]
[    1.385715] pci 0000:01:00.0: BAR 0: assigned [mem 0x13400000-0x1347ffff 64bit]
[    1.385732] pci 0000:01:00.0: BAR 6: assigned [mem 0x13480000-0x1349ffff pref]
[    1.385738] pci 0000:01:00.0: BAR 2: assigned [mem 0x134a0000-0x134a0fff 64bit]
[    1.385756] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.385762] pci 0000:00:01.0:   bridge window [mem 0x13000000-0x135fffff]
[    1.385773] pci 0000:02:00.0: BAR 4: assigned [mem 0x20000000-0x20003fff 64bit pref]
[    1.385791] pci 0000:02:00.0: BAR 2: assigned [mem 0x20004000-0x20004fff 64bit pref]
[    1.385807] pci 0000:02:00.0: BAR 0: assigned [io  0x1000-0x10ff]
[    1.385816] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.385820] pci 0000:00:02.0:   bridge window [io  0x1000-0x1fff]
[    1.385828] pci 0000:00:02.0:   bridge window [mem 0x20000000-0x200fffff 64bit pref]
[    1.386095] pcieport 0000:00:01.0: Signaling PME through PCIe PME interrupt
[    1.386100] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt
[    1.386106] pcie_pme 0000:00:01.0:pcie001: service driver pcie_pme loaded
[    1.386217] aer 0000:00:01.0:pcie002: service driver aer loaded
[    1.386399] pcieport 0000:00:02.0: Signaling PME through PCIe PME interrupt
[    1.386403] pci 0000:02:00.0: Signaling PME through PCIe PME interrupt
[    1.386409] pcie_pme 0000:00:02.0:pcie001: service driver pcie_pme loaded
[    1.386515] aer 0000:00:02.0:pcie002: service driver aer loaded
[    1.388923] brd: module loaded
[    1.392448] loop: module loaded
[    1.392874] at24 0-0051: 256 byte 24c02 EEPROM, writable, 16 bytes/write
[    1.392960] tegra_profiler: version: 1.145, samples/io: 49/28
[    1.393041] tegra_profiler: auth: init
[    1.393659] THERMAL EST: found 2 subdevs
[    1.393664] THERMAL EST num_resources: 0
[    1.393668] [THERMAL EST subdev 0]
[    1.393674] [THERMAL EST subdev 1]
[    1.393956] thermal thermal_zone5: Registering thermal zone thermal_zone5 for type thermal-fan-est
[    1.393959] THERMAL EST: thz register success.
[    1.394056] THERMAL EST: end of probe, return err: 0
[    1.394576] sd: No Scsi addr parsed to reserve index
[    1.394603] hisi_sas: driver version v1.6
[    1.399167] atlantic 0000:01:00.0: enabling device (0000 -> 0002)
[    1.399221] atlantic 0000:01:00.0 (unnamed net_device) (uninitialized): Hardware revision 0x0
[    1.437670] atlantic: Detect ATL2FW 1030013
[    1.440082] r8168 0000:02:00.0: enabling device (0000 -> 0003)
[    1.440099] r8168 Gigabit Ethernet driver 8.045.08-NAPI loaded
[    1.461116] r8168 0000:02:00.0 (unnamed net_device) (uninitialized): Invalid ethernet address 00:00:00:00:00:00, trying device tree node
[    1.461177] r8168 0000:02:00.0 (unnamed net_device) (uninitialized): Found valid ethernet address 00:04:4b:e9:fb:54 from device tree
[    1.461502] r8168: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.
[    1.461535] r8168  Copyright (C) 2017  Realtek NIC software team <nicfae@realtek.com> 
                This program comes with ABSOLUTELY NO WARRANTY; for details, please see <http://www.gnu.org/licenses/>. 
                This is free software, and you are welcome to redistribute it under certain conditions; see <http://www.gnu.org/licenses/>. 
[    1.461644] usbcore: registered new interface driver asix
[    1.461680] usbcore: registered new interface driver ax88179_178a
[    1.461714] usbcore: registered new interface driver cdc_ether
[    1.461754] usbcore: registered new interface driver net1080
[    1.461789] usbcore: registered new interface driver cdc_subset
[    1.461822] usbcore: registered new interface driver zaurus
[    1.461874] usbcore: registered new interface driver cdc_ncm
[    1.462004] VFIO - User Level meta-driver version: 0.3
[    1.462681] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.462685] ehci-pci: EHCI PCI platform driver
[    1.462721] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.462731] ohci-pci: OHCI PCI platform driver
[    1.462765] ohci-platform: OHCI generic platform driver
[    1.464521] tegra-xusb 70090000.xusb: USB2 port 0 has OTG_CAP
[    1.465054] tegra-xusb-padctl 7009f000.xusb_padctl: enabled OTG on UTMI pad 0
[    1.466142] tegra-xusb 70090000.xusb: extcon 0:         (ptrval) id
[    1.467220] usbcore: registered new interface driver uas
[    1.467270] usbcore: registered new interface driver usb-storage
[    1.467351] usbcore: registered new interface driver usbserial
[    1.467380] usbcore: registered new interface driver usbserial_generic
[    1.467404] usbserial: USB Serial support registered for generic
[    1.467438] usbcore: registered new interface driver ftdi_sio
[    1.467456] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.469545] tegra-xusb 70090000.xusb: Firmware timestamp: 2023-04-25 07:35:59 UTC, Version: 50.29 release
[    1.469607] tegra-xusb 70090000.xusb: xHCI Host Controller
[    1.469625] tegra-xusb 70090000.xusb: new USB bus registered, assigned bus number 1
[    1.470326] tegra-xusb 70090000.xusb: hcc params 0x0184f525 hci version 0x100 quirks 0x00050010
[    1.470357] tegra-xusb 70090000.xusb: irq 61, io mem 0x70090000
[    1.470501] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.470507] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.470512] usb usb1: Product: xHCI Host Controller
[    1.470516] usb usb1: Manufacturer: Linux 4.9.337-tegra xhci-hcd
[    1.470520] usb usb1: SerialNumber: 70090000.xusb
[    1.470665] tegra-xudc-new 700d0000.xudc: device count: 1
[    1.470903] hub 1-0:1.0: USB hub found
[    1.470934] hub 1-0:1.0: 5 ports detected
[    1.471341] tegra-xusb 70090000.xusb: xHCI Host Controller
[    1.471351] tegra-xusb 70090000.xusb: new USB bus registered, assigned bus number 2
[    1.471414] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.471495] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    1.471501] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.471505] usb usb2: Product: xHCI Host Controller
[    1.471510] usb usb2: Manufacturer: Linux 4.9.337-tegra xhci-hcd
[    1.471514] usb usb2: SerialNumber: 70090000.xusb
[    1.471603] tegra-xudc-new 700d0000.xudc: USB charger detection disabled
[    1.471613] tegra-xudc-new 700d0000.xudc: vbus state: 0
[    1.471634] tegra-xudc-new 700d0000.xudc: entering ELPG
[    1.471855] tegra-xudc-new 700d0000.xudc: entering ELPG done
[    1.471874] hub 2-0:1.0: USB hub found
[    1.471902] hub 2-0:1.0: 4 ports detected
[    1.472302] mousedev: PS/2 mouse device common for all mice
[    1.472640] tegra-xusb 70090000.xusb: Upgrade port 0 to USB3.0
[    1.472646] tegra-xusb 70090000.xusb: Upgrade port 1 to USB3.0
[    1.493622] tegra-xusb-padctl 7009f000.xusb_padctl: power on UTMI pads 1
[    1.493675] tegra-xusb-padctl 7009f000.xusb_padctl: power on UTMI pads 2
[    1.602727] max77686-rtc max77620-rtc: rtc core: registered max77620-rtc as rtc0
[    1.604792] rtc rtc1: alarm rtc device
[    1.604805] tegra_rtc 7000e000.rtc: rtc core: registered 7000e000.rtc as rtc1
[    1.604830] tegra_rtc 7000e000.rtc: Tegra internal Real Time Clock
[    1.605163] i2c /dev entries driver
[    1.606764] letim 6-003a: tegracam sensor driver:letim_v2.0.6
[    1.607197] letim 6-003b: tegracam sensor driver:letim_v2.0.6
[    1.607623] letim 6-003c: tegracam sensor driver:letim_v2.0.6
[    1.608040] letim 6-003d: tegracam sensor driver:letim_v2.0.6
[    1.608462] max77620-power max77620-power: Event recorder REG_NVERC : 0x0
[    1.610286] tegra_soctherm 700e2000.soctherm: pllx_offset tz:0 max:14, min:2
[    1.610292] tegra_soctherm 700e2000.soctherm: pllx_offset tz:2 max:8, min:4
[    1.610569] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    1.610582] tegra_soctherm 700e2000.soctherm: thermtrip: will shut down when cpu reaches 102500 mC
[    1.610589] tegra_soctherm 700e2000.soctherm: throttrip: will throttle when cpu reaches 100500 mC
[    1.610714] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    1.610724] tegra_soctherm 700e2000.soctherm: thermtrip: will shut down when gpu reaches 103000 mC
[    1.610730] tegra_soctherm 700e2000.soctherm: throttrip: will throttle when gpu reaches 101000 mC
[    1.610893] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    1.610901] tegra_soctherm 700e2000.soctherm: thermtrip: will shut down when pll reaches 127000 mC
[    1.610906] tegra_soctherm 700e2000.soctherm: throttrip: pll: missing hot temperature
[    1.611084] tegra_soctherm 700e2000.soctherm: failed to register sensor: -19
[    1.611632] tegra_aotag tegra-aotag: Registering sensor 0
[    1.611682] tegra_aotag tegra-aotag: Invalid temp readout
[    1.611701] tegra_aotag tegra-aotag: Invalid temp readout
[    1.611717] tegra_aotag tegra-aotag: Bound to TZ : ID 0
[    1.611726] tegra_aotag tegra-aotag: Probe done [SUCCESS]:0
[    1.612455] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    1.612469] tegra_dfll_action dfll-cdev-cap: Tegra DFLL 'cap cooling device' registered
[    1.612603] tegra_aotag tegra-aotag: Invalid temp readout
[    1.612625] tegra_dfll_action dfll-cdev-floor: Tegra DFLL 'floor cooling device' registered
[    1.612957] parse_throttle_dt_data: Num cap clks = 6
[    1.612963] parse_throttle_dt_data: clk=cclk_g type=2
[    1.612970] parse_throttle_dt_data: clk=gpu type=4
[    1.612988] parse_throttle_dt_data: clk=cap.throttle.c2bus type=0
[    1.613005] parse_throttle_dt_data: clk=cap.throttle.c3bus type=0
[    1.613023] parse_throttle_dt_data: clk=cap.throttle.sclk type=0
[    1.613027] parse_throttle_dt_data: clk=emc type=3
[    1.613281] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    1.613361] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    1.613460] tegra_throttle_probe: probe successful. #cdevs=4
[    1.614030] FAN dev name: pwm-fan
[    1.614070] FAN:gpio request success.
[    1.614112] pwm_fan_driver pwm-fan: cap state:7, cap pwm:255
[    1.614325] pwm_fan_driver pwm-fan: got pwm for fan. polarity is normal
[    1.614433] pwm_fan_driver pwm-fan: fan tach request irq success
[    1.614440] pwm_fan_driver pwm-fan: tach period: 1000
[    1.614507] pwm_fan_driver pwm-fan: index 0: pwm=0, rpm=0, rru=40, rrd=40, state:2
[    1.614512] pwm_fan_driver pwm-fan: index 1: pwm=80, rpm=1000, rru=2, rrd=2, state:2
[    1.614517] pwm_fan_driver pwm-fan: index 2: pwm=120, rpm=2000, rru=1, rrd=1, state:2
[    1.614522] pwm_fan_driver pwm-fan: index 3: pwm=160, rpm=3000, rru=1, rrd=1, state:2
[    1.614527] pwm_fan_driver pwm-fan: index 4: pwm=255, rpm=4000, rru=1, rrd=1, state:3
[    1.614532] pwm_fan_driver pwm-fan: index 5: pwm=255, rpm=5000, rru=1, rrd=1, state:3
[    1.614536] pwm_fan_driver pwm-fan: index 6: pwm=255, rpm=6000, rru=1, rrd=1, state:3
[    1.614541] pwm_fan_driver pwm-fan: index 7: pwm=255, rpm=7000, rru=1, rrd=1, state:4
[    1.614546] pwm_fan_driver pwm-fan: index 8: pwm=255, rpm=10000, rru=1, rrd=1, state:4
[    1.614551] pwm_fan_driver pwm-fan: index 9: pwm=255, rpm=11000, rru=1, rrd=1, state:4
[    1.615425] device-mapper: uevent: version 1.0.3
[    1.615618] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
[    1.618301] tegra210-cpufreq cpufreq: probe()...completed
[    1.618956] sdhci: Secure Digital Host Controller Interface driver
[    1.618958] sdhci: Copyright(c) Pierre Ossman
[    1.618960] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.619294] sdhci-tegra sdhci-tegra.3: Client registration for eMC Successful
[    1.621804] sdhci-tegra sdhci-tegra.2: Got CD GPIO
[    1.622134] sdhci-tegra sdhci-tegra.2: Client registration for eMC Successful
[    1.622258] sdhci-tegra sdhci-tegra.2: wakeup init done, cdirq 293
[    1.625937] tegra-se 70012000.se: tegra_se_probe: complete
[    1.626421] hidraw: raw HID events driver (C) Jiri Kosina
[    1.626570] usbcore: registered new interface driver usbhid
[    1.626572] usbhid: USB HID core driver
[    1.628645] tegra21x_actmon 6000c800.actmon: in actmon_register()...
[    1.628782] tegra21x_actmon 6000c800.actmon: initialization Completed for the device mc_all
[    1.630887] Initializing XFRM netlink socket
[    1.631106] NET: Registered protocol family 10
[    1.631589] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.631860] NET: Registered protocol family 17
[    1.631871] NET: Registered protocol family 15
[    1.632167] Registered cp15_barrier emulation handler
[    1.632173] Registered setend emulation handler
[    1.633016] registered taskstats version 1
[    1.633515] Adding domain ve2-pd to PM domain host1x-pd
[    1.633767] Adding domain ve-pd to PM domain host1x-pd
[    1.635631] isp 54600000.isp: initialized
[    1.636482] isp 54680000.isp: initialized
[    1.646168] last reset is due to software reset
[    1.646172] KERNEL: PMC reset status reg: 0x3
[    1.646231] BL: PMC reset status reg: 0x3
[    1.646233] BL: PMIC poweroff Event Recorder: 0x0
[    1.647717] clk_cbus_recalc_rate: no gbus parent
[    1.647722] clk_cbus_round_rate: no gbus parent
[    1.647725] clk_cbus_round_rate: no gbus parent
[    1.647732] clk_cbus_recalc_rate: no gbus parent
[    1.647822] clk_cbus_recalc_rate: no gbus parent
[    1.647826] clk_cbus_round_rate: no gbus parent
[    1.647828] clk_cbus_round_rate: no gbus parent
[    1.647832] clk_cbus_recalc_rate: no gbus parent
[    1.648497] tegra_dvfs: GPU-cap: registered
[    1.648557] tegra dvfs: vdd-cpu: nominal 1168mV, offset 708000uV, step 19200uV, scaling enabled
[    1.648559] tegra dvfs: vdd-core: nominal 1075mV, offset 1000000uV, step 12500uV, scaling enabled
[    1.648562] tegra dvfs: vdd-gpu: nominal 1048mV, offset 708000uV, step 10000uV, scaling enabled
[    1.649620] tegra_dvfs: vdd-gpu-vts: registered
[    1.650304] tegra_core_action core_dvfs_cdev_floor: Tegra CORE DVFS 'floor cooling device' registered
[    1.651006] tegra_core_action core_dvfs_cdev_cap: Tegra CORE DVFS 'cap cooling device' registered
[    1.651497] input: gpio-keys as /devices/gpio-keys/input/input0
[    1.653702] nvgpu: 57000000.gpu           gm20b_init_clk_setup_sw:1268 [INFO]  GPCPLL initial settings: NA mode, M=1, N=34, P=3 (id = 1)
[    1.665570] mmc0: SDHCI controller on sdhci-tegra.3 [sdhci-tegra.3] using ADMA 64-bit with 64 bit addr
[    1.665703] mmc1: SDHCI controller on sdhci-tegra.2 [sdhci-tegra.2] using ADMA 64-bit with 64 bit addr
[    1.682262] tegra_rtc 7000e000.rtc: setting system clock to 2023-12-06 08:36:47 UTC (1701851807)
[    1.683163] vi 54080000.vi: vi_probe: ++
[    1.685404] vi 54080000.vi: initialized
[    1.687271] vi 54080000.vi: subdev nvcsi--4 bound
[    1.687284] vi 54080000.vi: subdev letim 6-003a bound
[    1.688449] vi 54080000.vi: subdev nvcsi--3 bound
[    1.688455] vi 54080000.vi: subdev letim 6-003b bound
[    1.689583] vi 54080000.vi: subdev nvcsi--2 bound
[    1.689588] vi 54080000.vi: subdev letim 6-003c bound
[    1.690708] vi 54080000.vi: subdev nvcsi--1 bound
[    1.690714] vi 54080000.vi: subdev letim 6-003d bound
[    1.692427] Disable partitions left on by BL
[    1.692430]   disb
[    1.692585] bwmgr: missing cdev-type property
[    1.692706] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    1.692712] DRAM derating cdev registered.
[    1.694694] Freeing unused kernel memory: 2688K
[    1.699658] mmc1: host does not support reading read-only switch, assuming write-enable
[    1.699946] mmc1: new SD card at address e624
[    1.700288] mmcblk1: mmc1:e624 SR064 59.5 MiB 
[    1.703077]  mmcblk1:
[    1.722082] mmc0: new HS400 Enhanced strobe MMC card at address 0001
[    1.723732] Root device found: mmcblk0p1
[    1.726415] mmcblk0: mmc0:0001 DG4016 14.7 GiB 
[    1.726619] mmcblk0boot0: mmc0:0001 DG4016 partition 1 4.00 MiB
[    1.726765] mmcblk0boot1: mmc0:0001 DG4016 partition 2 4.00 MiB
[    1.726866] mmcblk0rpmb: mmc0:0001 DG4016 partition 3 4.00 MiB
[    1.729197]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9
[    1.857623] tegra_cec 70015000.tegra_cec: Can't find physical addresse.
[    1.857627] tegra_cec 70015000.tegra_cec: tegra_cec_init Done.
[    1.928634] Found dev node: /dev/mmcblk0p1
[    1.946753] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[    1.948622] Rootfs mounted over mmcblk0p1
[    1.962046] Switching from initrd to actual rootfs
[    2.058725] cgroup: cgroup2: unknown option "nsdelegate,memory_recursiveprot"
[    2.067676] cgroup: cgroup2: unknown option "nsdelegate"
[    2.076522] systemd[1]: systemd 253-1-arch running in system mode (+PAM +AUDIT -SELINUX -APPARMOR -IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT -QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK +XKBCOMMON +UTMP -SYSVINIT default-hierarchy=unified)
[    2.076552] systemd[1]: Detected architecture arm64.
[    2.076974] systemd[1]: Warning! Reported kernel version 4.9.337-tegra is older than systemd's required baseline kernel version 4.15. Your mileage may vary.
[    2.078399] systemd[1]: Hostname set to <alarm>.
[    2.092817] systemd[1]: bpf-lsm: BPF LSM hook not enabled in the kernel, BPF LSM not supported
[    2.314443] systemd[1]: Queued start job for default target Graphical Interface.
[    2.317942] systemd[1]: Created slice Slice /system/getty.
[    2.318646] systemd[1]: Created slice Slice /system/modprobe.
[    2.319321] systemd[1]: Created slice Slice /system/serial-getty.
[    2.319759] systemd[1]: Created slice User and Session Slice.
[    2.319937] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    2.320090] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    2.320195] systemd[1]: Arbitrary Executable File Formats File System Automount Point was skipped because of an unmet condition check (ConditionPathExists=/proc/sys/fs/binfmt_misc).
[    2.320269] systemd[1]: Reached target Local Encrypted Volumes.
[    2.320339] systemd[1]: Reached target Local Integrity Protected Volumes.
[    2.320416] systemd[1]: Reached target Path Units.
[    2.320468] systemd[1]: Reached target Remote File Systems.
[    2.320504] systemd[1]: Reached target Slice Units.
[    2.320565] systemd[1]: Reached target Swaps.
[    2.320623] systemd[1]: Reached target Local Verity Protected Volumes.
[    2.320838] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[    2.323905] systemd[1]: Listening on Process Core Dump Socket.
[    2.324240] systemd[1]: Listening on Journal Socket (/dev/log).
[    2.324529] systemd[1]: Listening on Journal Socket.
[    2.324874] systemd[1]: Listening on Network Service Netlink Socket.
[    2.325536] systemd[1]: Listening on udev Control Socket.
[    2.325773] systemd[1]: Listening on udev Kernel Socket.
[    2.325981] systemd[1]: Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[    2.327672] systemd[1]: Mounting POSIX Message Queue File System...
[    2.329798] systemd[1]: Mounting Kernel Debug File System...
[    2.330049] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
[    2.332380] systemd[1]: Mounting Temporary Directory /tmp...
[    2.332532] systemd[1]: Create List of Static Device Nodes was skipped because of an unmet condition check (ConditionFileNotEmpty=/lib/modules/4.9.337-tegra/modules.devname).
[    2.334799] systemd[1]: Starting Load Kernel Module configfs...
[    2.337241] systemd[1]: Starting Load Kernel Module dm_mod...
[    2.339635] systemd[1]: Starting Load Kernel Module drm...
[    2.342088] systemd[1]: Starting Load Kernel Module fuse...
[    2.344191] systemd[1]: Starting Load Kernel Module loop...
[    2.344759] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    2.344769] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    2.346595] systemd[1]: Starting Journal Service...
[    2.347866] systemd[1]: Load Kernel Modules was skipped because no trigger condition checks were met.
[    2.349797] systemd[1]: Starting Generate network units from Kernel command line...
[    2.349914] systemd[1]: TPM2 PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/StubPcrKernelImage-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f).
[    2.352008] systemd[1]: Starting Remount Root and Kernel File Systems...
[    2.354199] systemd[1]: Starting Apply Kernel Variables...
[    2.356402] systemd[1]: Starting Coldplug All udev Devices...
[    2.360653] systemd[1]: Mounted POSIX Message Queue File System.
[    2.361071] systemd[1]: Mounted Kernel Debug File System.
[    2.361455] systemd[1]: Mounted Temporary Directory /tmp.
[    2.362633] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[    2.363008] systemd[1]: Finished Load Kernel Module configfs.
[    2.364570] systemd[1]: modprobe@dm_mod.service: Deactivated successfully.
[    2.365042] systemd[1]: Finished Load Kernel Module dm_mod.
[    2.366204] systemd[1]: modprobe@drm.service: Deactivated successfully.
[    2.366554] systemd[1]: Finished Load Kernel Module drm.
[    2.367577] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[    2.367938] systemd[1]: Finished Load Kernel Module fuse.
[    2.369136] systemd[1]: modprobe@loop.service: Deactivated successfully.
[    2.369536] systemd[1]: Finished Load Kernel Module loop.
[    2.372393] systemd[1]: Finished Generate network units from Kernel command line.
[    2.373054] systemd[1]: Finished Remount Root and Kernel File Systems.
[    2.374547] systemd[1]: Reached target Preparation for Network.
[    2.374819] systemd[1]: FUSE Control File System was skipped because of an unmet condition check (ConditionPathExists=/sys/fs/fuse/connections).
[    2.377100] systemd[1]: Mounting Kernel Configuration File System...
[    2.377205] systemd[1]: First Boot Wizard was skipped because of an unmet condition check (ConditionFirstBoot=yes).
[    2.378191] systemd[1]: Rebuild Hardware Database was skipped because of an unmet condition check (ConditionNeedsUpdate=/etc).
[    2.380285] systemd[1]: Starting Load/Save OS Random Seed...
[    2.380545] systemd[1]: Repartition Root Disk was skipped because no trigger condition checks were met.
[    2.380891] systemd[1]: Create System Users was skipped because no trigger condition checks were met.
[    2.391456] systemd-journald[1683]: Collecting audit messages is disabled.
[    2.466069] usb 2-1: new SuperSpeed USB device number 2 using tegra-xusb
[    2.491050] usb 2-1: New USB device found, idVendor=1c04, idProduct=0015
[    2.491055] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.491059] usb 2-1: Product: QNAP QNA-UC5G1T USB to 5GbE Adapter
[    2.491061] usb 2-1: Manufacturer: QNAP
[    2.491064] usb 2-1: SerialNumber: 98I04653
[    2.495070] cdc_ether 2-1:2.0 eth2: register 'cdc_ether' at usb-70090000.xusb-1, CDC Ethernet Device, 24:5e:be:42:65:3f
[    2.507150] systemd[1]: Starting Create Static Device Nodes in /dev...
[    2.509186] systemd[1]: Finished Apply Kernel Variables.
[    2.509761] systemd[1]: Mounted Kernel Configuration File System.
[    2.605572] usb 1-3: new high-speed USB device number 3 using tegra-xusb
[    2.607639] systemd[1]: Finished Create Static Device Nodes in /dev.
[    2.608001] systemd[1]: Reached target Preparation for Local File Systems.
[    2.608077] systemd[1]: Virtual Machine and Container Storage (Compatibility) was skipped because of an unmet condition check (ConditionPathExists=/var/lib/machines.raw).
[    2.608119] systemd[1]: Reached target Local File Systems.
[    2.608360] systemd[1]: Rebuild Dynamic Linker Cache was skipped because no trigger condition checks were met.
[    2.609151] systemd[1]: Set Up Additional Binary Formats was skipped because of an unmet condition check (ConditionPathIsMountPoint=/proc/sys/fs/binfmt_misc).
[    2.610982] systemd[1]: Starting Rule-based Manager for Device Events and Files...
[    2.625848] usb 1-3: New USB device found, idVendor=0424, idProduct=2512
[    2.625854] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.626681] hub 1-3:1.0: USB hub found
[    2.626767] hub 1-3:1.0: 2 ports detected
[    2.627955] tegra-xusb-padctl 7009f000.xusb_padctl: power down UTMI pad 1
[    2.648649] systemd[1]: Started Journal Service.
[    2.664322] systemd-journald[1683]: Received client request to flush runtime journal.
[    2.673842] (md-udevd)[1701]: systemd-udevd.service: ProtectHostname=yes is configured, but the kernel does not support UTS namespaces, ignoring namespace setup.
[    2.682626] systemd-journald[1683]: /var/log/journal/a517533acb4d4bb0ae1d494126e1a51e/system.journal: Montonic clock jumped backwards relative to last journal entry, rotating.
[    2.682640] systemd-journald[1683]: Rotating system journal.
[    2.913671] usb 1-3.2: new full-speed USB device number 4 using tegra-xusb
[    2.924403] proc: unrecognized mount option "hidepid=invisible" or missing value
[    2.942660] usb 1-3.2: New USB device found, idVendor=0403, idProduct=6015
[    2.942666] usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.942670] usb 1-3.2: Product: FT230X Basic UART
[    2.942674] usb 1-3.2: Manufacturer: FTDI
[    2.942676] usb 1-3.2: SerialNumber: DK0EHV5E
[    2.948125] ftdi_sio 1-3.2:1.0: FTDI USB Serial Device converter detected
[    2.948199] usb 1-3.2: Detected FT-X
[    2.948486] usb 1-3.2: FTDI USB Serial Device converter now attached to ttyUSB0
[    3.286289] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    3.288665] eth1: 0xffffff800983e000, 00:04:4b:e9:fb:54, IRQ 413
[    3.392338] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[    3.403090] cdc_ether 2-1:2.0 eth2: kevent 12 may have been dropped
[    3.419557] cdc_ether 2-1:2.0 eth2: kevent 12 may have been dropped
[    3.523745] proc: unrecognized mount option "hidepid=invisible" or missing value
[    3.881558] random: crng init done
[    5.442111] r8168: eth1: link up
[    5.442137] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   17.791624] systemd-journald[1683]: /var/log/journal/a517533acb4d4bb0ae1d494126e1a51e/user-1000.journal: Montonic clock jumped backwards relative to last journal entry, rotating.
[   17.791646] systemd-journald[1683]: Failed to write entry to /var/log/journal/a517533acb4d4bb0ae1d494126e1a51e/user-1000.journal (30 items, 800 bytes), rotating before retrying: Not a XENIX named type file
[   31.713753] vdd-fan: disabling
[   31.713756] vdd-usb-vbus: disabling
[   31.713758] vdd-usb-vbus2: disabling
[   31.713766] vddio-sdmmc-ap: disabling
[   31.713912] vddio-sdmmc3-ap: disabling
[   31.714052] vdd-3v3-sd: disabling
[   31.714056] avdd-io-edp-1v05: disabling
[   31.714059] vdd-usb-hub-en: disabling

Could you also check the result of

sudo cat /sys/kernel/debug/gpio

and see if this gpio got toggled when you insert and remove the card? Also share me the result too.

Also, if the power-supply 3.3v to sdcard is always-on, you need to add nvidia,vmmc-always-on;
to your device tree.

I booted without SD card:

[alarm@alarm ~]$ sudo cat /sys/kernel/debug/gpio
[sudo] password for alarm: 
gpiochip0: GPIOs 0-255, parent: platform/6000d000.gpio, tegra-gpio:
 gpio-0   (                    )
 gpio-1   (                    )
 gpio-2   (                    |pcie_wake           ) in  hi    
 gpio-3   (                    )
 gpio-4   (                    )
 gpio-5   (                    )
 gpio-6   (                    |system-suspend-gpio ) out hi    
 gpio-7   (                    )
 gpio-8   (                    )
 gpio-9   (                    )
 gpio-10  (                    )
 gpio-11  (                    )
 gpio-12  (SPI1_MOSI           )
 gpio-13  (SPI1_MISO           )
 gpio-14  (SPI1_SCK            )
 gpio-15  (SPI1_CS0            )
 gpio-16  (SPI0_MOSI           )
 gpio-17  (SPI0_MISO           )
 gpio-18  (SPI0_SCK            )
 gpio-19  (SPI0_CS0            )
 gpio-20  (SPI0_CS1            )
 gpio-21  (                    )
 gpio-22  (                    )
 gpio-23  (                    )
 gpio-24  (                    )
 gpio-25  (                    )
 gpio-26  (                    )
 gpio-27  (                    )
 gpio-28  (                    )
 gpio-29  (                    )
 gpio-30  (                    )
 gpio-31  (                    )
 gpio-32  (                    )
 gpio-33  (                    )
 gpio-34  (                    )
 gpio-35  (                    )
 gpio-36  (                    )
 gpio-37  (                    )
 gpio-38  (GPIO13              )
 gpio-39  (                    )
 gpio-40  (                    )
 gpio-41  (                    )
 gpio-42  (                    )
 gpio-43  (                    )
 gpio-44  (                    )
 gpio-45  (                    )
 gpio-46  (                    )
 gpio-47  (                    )
 gpio-48  (                    )
 gpio-49  (                    )
 gpio-50  (UART1_RTS           )
 gpio-51  (UART1_CTS           )
 gpio-52  (                    )
 gpio-53  (                    )
 gpio-54  (                    )
 gpio-55  (                    )
 gpio-56  (                    )
 gpio-57  (                    )
 gpio-58  (                    )
 gpio-59  (                    )
 gpio-60  (                    )
 gpio-61  (                    )
 gpio-62  (                    )
 gpio-63  (                    )
 gpio-64  (                    )
 gpio-65  (                    )
 gpio-66  (                    )
 gpio-67  (                    )
 gpio-68  (                    )
 gpio-69  (                    )
 gpio-70  (                    )
 gpio-71  (                    )
 gpio-72  (                    )
 gpio-73  (                    )
 gpio-74  (                    )
 gpio-75  (                    )
 gpio-76  (I2S0_FS             )
 gpio-77  (I2S0_DIN            )
 gpio-78  (I2S0_DOUT           )
 gpio-79  (I2S0_SCLK           )
 gpio-80  (                    )
 gpio-81  (                    )
 gpio-82  (                    )
 gpio-83  (                    )
 gpio-84  (                    )
 gpio-85  (                    )
 gpio-86  (                    )
 gpio-87  (                    )
 gpio-88  (                    )
 gpio-89  (                    )
 gpio-90  (                    )
 gpio-91  (                    )
 gpio-92  (                    )
 gpio-93  (                    )
 gpio-94  (                    )
 gpio-95  (                    )
 gpio-96  (                    )
 gpio-97  (                    )
 gpio-98  (                    )
 gpio-99  (                    )
 gpio-100 (                    )
 gpio-101 (                    )
 gpio-102 (                    )
 gpio-103 (                    )
 gpio-104 (                    )
 gpio-105 (                    )
 gpio-106 (                    )
 gpio-107 (                    )
 gpio-108 (                    )
 gpio-109 (                    )
 gpio-110 (                    )
 gpio-111 (                    )
 gpio-112 (                    )
 gpio-113 (                    )
 gpio-114 (                    )
 gpio-115 (                    )
 gpio-116 (                    )
 gpio-117 (                    )
 gpio-118 (                    )
 gpio-119 (                    )
 gpio-120 (                    )
 gpio-121 (                    )
 gpio-122 (                    )
 gpio-123 (                    )
 gpio-124 (                    )
 gpio-125 (                    )
 gpio-126 (                    )
 gpio-127 (                    )
 gpio-128 (                    )
 gpio-129 (                    )
 gpio-130 (                    )
 gpio-131 (                    )
 gpio-132 (                    )
 gpio-133 (                    )
 gpio-134 (                    )
 gpio-135 (                    )
 gpio-136 (                    )
 gpio-137 (                    )
 gpio-138 (                    )
 gpio-139 (                    )
 gpio-140 (                    )
 gpio-141 (                    )
 gpio-142 (                    )
 gpio-143 (                    )
 gpio-144 (                    )
 gpio-145 (                    )
 gpio-146 (                    )
 gpio-147 (                    )
 gpio-148 (                    )
 gpio-149 (GPIO01              )
 gpio-150 (                    )
 gpio-151 (                    )
 gpio-152 (                    )
 gpio-153 (                    )
 gpio-154 (                    )
 gpio-155 (                    )
 gpio-156 (                    )
 gpio-157 (                    )
 gpio-158 (                    )
 gpio-159 (                    )
 gpio-160 (                    )
 gpio-161 (                    )
 gpio-162 (                    )
 gpio-163 (                    )
 gpio-164 (                    )
 gpio-165 (                    )
 gpio-166 (                    )
 gpio-167 (                    )
 gpio-168 (GPIO07              )
 gpio-169 (                    )
 gpio-170 (                    )
 gpio-171 (                    )
 gpio-172 (                    )
 gpio-173 (                    )
 gpio-174 (                    )
 gpio-175 (                    )
 gpio-176 (                    )
 gpio-177 (                    )
 gpio-178 (                    )
 gpio-179 (                    )
 gpio-180 (                    )
 gpio-181 (                    )
 gpio-182 (                    )
 gpio-183 (                    )
 gpio-184 (                    )
 gpio-185 (                    )
 gpio-186 (                    )
 gpio-187 (                    |?                   ) out hi    
 gpio-188 (                    )
 gpio-189 (                    |Power               ) in  hi IRQ
 gpio-190 (                    |Forcerecovery       ) in  hi IRQ
 gpio-191 (                    )
 gpio-192 (                    )
 gpio-193 (                    )
 gpio-194 (GPIO12              |cd                  ) in  lo IRQ
 gpio-195 (                    )
 gpio-196 (                    )
 gpio-197 (                    )
 gpio-198 (                    )
 gpio-199 (                    )
 gpio-200 (GPIO11              )
 gpio-201 (                    )
 gpio-202 (                    |pwm-fan-tach        ) in  hi IRQ
 gpio-203 (                    |vdd-3v3-sd          ) out lo    
 gpio-204 (                    )
 gpio-205 (                    )
 gpio-206 (                    )
 gpio-207 (                    )
 gpio-208 (                    )
 gpio-209 (                    )
 gpio-210 (                    )
 gpio-211 (                    )
 gpio-212 (                    )
 gpio-213 (                    )
 gpio-214 (                    )
 gpio-215 (                    )
 gpio-216 (GPIO09              )
 gpio-217 (                    )
 gpio-218 (                    )
 gpio-219 (                    )
 gpio-220 (                    )
 gpio-221 (                    )
 gpio-222 (                    )
 gpio-223 (                    )
 gpio-224 (                    )
 gpio-225 (                    |hdmi2.0_hpd         ) in  hi IRQ
 gpio-226 (                    )
 gpio-227 (                    )
 gpio-228 (                    |extcon:extcon@1     ) in  hi IRQ
 gpio-229 (                    )
 gpio-230 (                    )
 gpio-231 (                    )
 gpio-232 (SPI1_CS1            )
 gpio-233 (                    )
 gpio-234 (                    )
 gpio-235 (                    )
 gpio-236 (                    )
 gpio-237 (                    )
 gpio-238 (                    )
 gpio-239 (                    )

gpiochip1: GPIOs 504-511, parent: platform/max77620-gpio, max77620-gpio, can sleep:
 gpio-505 (                    |spmic-default-output) out hi    
 gpio-507 (                    |vdd-3v3-sys         ) out hi    
 gpio-510 (                    |enable              ) out lo    
 gpio-511 (                    |avdd-io-edp-1v05    ) out lo

And then insert the card:

[alarm@alarm ~]$ sudo cat /sys/kernel/debug/gpio
[sudo] password for alarm: 
gpiochip0: GPIOs 0-255, parent: platform/6000d000.gpio, tegra-gpio:
 gpio-0   (                    )
 gpio-1   (                    )
 gpio-2   (                    |pcie_wake           ) in  hi    
 gpio-3   (                    )
 gpio-4   (                    )
 gpio-5   (                    )
 gpio-6   (                    |system-suspend-gpio ) out hi    
 gpio-7   (                    )
 gpio-8   (                    )
 gpio-9   (                    )
 gpio-10  (                    )
 gpio-11  (                    )
 gpio-12  (SPI1_MOSI           )
 gpio-13  (SPI1_MISO           )
 gpio-14  (SPI1_SCK            )
 gpio-15  (SPI1_CS0            )
 gpio-16  (SPI0_MOSI           )
 gpio-17  (SPI0_MISO           )
 gpio-18  (SPI0_SCK            )
 gpio-19  (SPI0_CS0            )
 gpio-20  (SPI0_CS1            )
 gpio-21  (                    )
 gpio-22  (                    )
 gpio-23  (                    )
 gpio-24  (                    )
 gpio-25  (                    )
 gpio-26  (                    )
 gpio-27  (                    )
 gpio-28  (                    )
 gpio-29  (                    )
 gpio-30  (                    )
 gpio-31  (                    )
 gpio-32  (                    )
 gpio-33  (                    )
 gpio-34  (                    )
 gpio-35  (                    )
 gpio-36  (                    )
 gpio-37  (                    )
 gpio-38  (GPIO13              )
 gpio-39  (                    )
 gpio-40  (                    )
 gpio-41  (                    )
 gpio-42  (                    )
 gpio-43  (                    )
 gpio-44  (                    )
 gpio-45  (                    )
 gpio-46  (                    )
 gpio-47  (                    )
 gpio-48  (                    )
 gpio-49  (                    )
 gpio-50  (UART1_RTS           )
 gpio-51  (UART1_CTS           )
 gpio-52  (                    )
 gpio-53  (                    )
 gpio-54  (                    )
 gpio-55  (                    )
 gpio-56  (                    )
 gpio-57  (                    )
 gpio-58  (                    )
 gpio-59  (                    )
 gpio-60  (                    )
 gpio-61  (                    )
 gpio-62  (                    )
 gpio-63  (                    )
 gpio-64  (                    )
 gpio-65  (                    )
 gpio-66  (                    )
 gpio-67  (                    )
 gpio-68  (                    )
 gpio-69  (                    )
 gpio-70  (                    )
 gpio-71  (                    )
 gpio-72  (                    )
 gpio-73  (                    )
 gpio-74  (                    )
 gpio-75  (                    )
 gpio-76  (I2S0_FS             )
 gpio-77  (I2S0_DIN            )
 gpio-78  (I2S0_DOUT           )
 gpio-79  (I2S0_SCLK           )
 gpio-80  (                    )
 gpio-81  (                    )
 gpio-82  (                    )
 gpio-83  (                    )
 gpio-84  (                    )
 gpio-85  (                    )
 gpio-86  (                    )
 gpio-87  (                    )
 gpio-88  (                    )
 gpio-89  (                    )
 gpio-90  (                    )
 gpio-91  (                    )
 gpio-92  (                    )
 gpio-93  (                    )
 gpio-94  (                    )
 gpio-95  (                    )
 gpio-96  (                    )
 gpio-97  (                    )
 gpio-98  (                    )
 gpio-99  (                    )
 gpio-100 (                    )
 gpio-101 (                    )
 gpio-102 (                    )
 gpio-103 (                    )
 gpio-104 (                    )
 gpio-105 (                    )
 gpio-106 (                    )
 gpio-107 (                    )
 gpio-108 (                    )
 gpio-109 (                    )
 gpio-110 (                    )
 gpio-111 (                    )
 gpio-112 (                    )
 gpio-113 (                    )
 gpio-114 (                    )
 gpio-115 (                    )
 gpio-116 (                    )
 gpio-117 (                    )
 gpio-118 (                    )
 gpio-119 (                    )
 gpio-120 (                    )
 gpio-121 (                    )
 gpio-122 (                    )
 gpio-123 (                    )
 gpio-124 (                    )
 gpio-125 (                    )
 gpio-126 (                    )
 gpio-127 (                    )
 gpio-128 (                    )
 gpio-129 (                    )
 gpio-130 (                    )
 gpio-131 (                    )
 gpio-132 (                    )
 gpio-133 (                    )
 gpio-134 (                    )
 gpio-135 (                    )
 gpio-136 (                    )
 gpio-137 (                    )
 gpio-138 (                    )
 gpio-139 (                    )
 gpio-140 (                    )
 gpio-141 (                    )
 gpio-142 (                    )
 gpio-143 (                    )
 gpio-144 (                    )
 gpio-145 (                    )
 gpio-146 (                    )
 gpio-147 (                    )
 gpio-148 (                    )
 gpio-149 (GPIO01              )
 gpio-150 (                    )
 gpio-151 (                    )
 gpio-152 (                    )
 gpio-153 (                    )
 gpio-154 (                    )
 gpio-155 (                    )
 gpio-156 (                    )
 gpio-157 (                    )
 gpio-158 (                    )
 gpio-159 (                    )
 gpio-160 (                    )
 gpio-161 (                    )
 gpio-162 (                    )
 gpio-163 (                    )
 gpio-164 (                    )
 gpio-165 (                    )
 gpio-166 (                    )
 gpio-167 (                    )
 gpio-168 (GPIO07              )
 gpio-169 (                    )
 gpio-170 (                    )
 gpio-171 (                    )
 gpio-172 (                    )
 gpio-173 (                    )
 gpio-174 (                    )
 gpio-175 (                    )
 gpio-176 (                    )
 gpio-177 (                    )
 gpio-178 (                    )
 gpio-179 (                    )
 gpio-180 (                    )
 gpio-181 (                    )
 gpio-182 (                    )
 gpio-183 (                    )
 gpio-184 (                    )
 gpio-185 (                    )
 gpio-186 (                    )
 gpio-187 (                    |?                   ) out hi    
 gpio-188 (                    )
 gpio-189 (                    |Power               ) in  hi IRQ
 gpio-190 (                    |Forcerecovery       ) in  hi IRQ
 gpio-191 (                    )
 gpio-192 (                    )
 gpio-193 (                    )
 gpio-194 (GPIO12              |cd                  ) in  lo IRQ
 gpio-195 (                    )
 gpio-196 (                    )
 gpio-197 (                    )
 gpio-198 (                    )
 gpio-199 (                    )
 gpio-200 (GPIO11              )
 gpio-201 (                    )
 gpio-202 (                    |pwm-fan-tach        ) in  hi IRQ
 gpio-203 (                    |vdd-3v3-sd          ) out lo    
 gpio-204 (                    )
 gpio-205 (                    )
 gpio-206 (                    )
 gpio-207 (                    )
 gpio-208 (                    )
 gpio-209 (                    )
 gpio-210 (                    )
 gpio-211 (                    )
 gpio-212 (                    )
 gpio-213 (                    )
 gpio-214 (                    )
 gpio-215 (                    )
 gpio-216 (GPIO09              )
 gpio-217 (                    )
 gpio-218 (                    )
 gpio-219 (                    )
 gpio-220 (                    )
 gpio-221 (                    )
 gpio-222 (                    )
 gpio-223 (                    )
 gpio-224 (                    )
 gpio-225 (                    |hdmi2.0_hpd         ) in  hi IRQ
 gpio-226 (                    )
 gpio-227 (                    )
 gpio-228 (                    |extcon:extcon@1     ) in  hi IRQ
 gpio-229 (                    )
 gpio-230 (                    )
 gpio-231 (                    )
 gpio-232 (SPI1_CS1            )
 gpio-233 (                    )
 gpio-234 (                    )
 gpio-235 (                    )
 gpio-236 (                    )
 gpio-237 (                    )
 gpio-238 (                    )
 gpio-239 (                    )

gpiochip1: GPIOs 504-511, parent: platform/max77620-gpio, max77620-gpio, can sleep:
 gpio-505 (                    |spmic-default-output) out hi    
 gpio-507 (                    |vdd-3v3-sys         ) out hi    
 gpio-510 (                    |enable              ) out lo    
 gpio-511 (                    |avdd-io-edp-1v05    ) out lo

Unfortunately it remains LO…

Did you ever configure the pinmux of this pin from spreadsheet?

Could you share the schematic?

Previous developer redefined devboard dst to our using, so this pin not appears anywhere except I sent to you. Should I define this pin somehow before use it for cd IRQ?
Maybe the problem is that we have no hardware pull-up for CD? Is it possible to pull-up it in DT?

Hi,

The pinmux spreadsheet will handle the pull up/none/down and DT will have it once the spreadsheet writes it correctly.

Yes, then I will try to redefine everything to spreadsheet, but now how can I pull-up it in dts?

Pinmux DT should be something like tegra210-porg-pinmux-p3448-0002-b00.dtsi in your kernel source.

How should I describe it if it is impossible to declare it like sdmmc3:

			lcd_te_py2 {
				nvidia,pins = "lcd_te_py2";
				nvidia,function = "sdmmc3";
				nvidia,pull = <TEGRA_PIN_PULL_UP>;
				nvidia,tristate = <TEGRA_PIN_DISABLE>;
				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
			};

It is not assembling because of there is no sdmmc3 function for this pin and I cannot understand how can I declare it like GPIO or IRQ?

Hi,

How about you really configure it by using the pinmux spreadsheet first and see what this pin in dts would be like and write it back?

It will take much more time to solve such a minor issue like pull-up one GPIO and system is working well, I really don’t want to do it, but I understand that it will be the right thing to do :)

No, I mean you could just focus on the setting of this pin. Generate it out and just take a looks at this pin and forget about other things…

Please do not just think of pinmux spreadsheet to be “I have to finish every setting inside it”…

Oh, I understood. Thank you, I will try

1 Like