How to Enable GPIO7 and GPIO14 as PWM8 and PWM7 on Xavier-Nx module

I’m struggling to enable GPIO 7 as PWM8 and GPIO 14 as PWM 7 using the Jetson_Xavier_NX_Module_Pinmux_Configuration_Template in Release 32.4.1.

The pins mentioned work as GPIOs, but I’m unable to configure them as PWMs.

I tried doing this by replicating the process I used for a nano module which included using the pinmux configuration spreadsheet to generate a device tree, but that did not work this time. It seems like the spreadsheet doesn’t control the pinmux in Xavier-Nx. Any suggestions on what to do?

Hi sgamu,

Unlike Jetson Nano, Xavier NX is using cfg file (tegra19x-mb1-pinmux-p3668-a01.cfg) to control the pinmux instead of dtb.

Did you use the correct method to generate the cfg file?

Thank you. I am unfamiliar with the correct method for generating the cfg file. Could you please instruct me on how to do that?
I was able to see GPIO14 work as a PWM, while I couldn’t see GPIO7 as a PWM. As a result, I copied the cfg settings of GPIO14 into GPIO7 in the tegra19x-mb1-pinmux-p3668-a01.cfg. Given that the cfg file is in the bootloader directory, do I need to build u-boot with ‘make 3450-porg_defconfig’ and ‘make’ OR would a simple re-flash after the cfg file modification work?

I can’t answer all of your questions, but you will want to start with the PINMUX spreadsheet. Go here, log in, go there again since redirect does not work:
https://developer.nvidia.com/embedded/downloads#?search=pinmux&tx=$product,jetson_xavier_nx

You’ll need to enable macros. You’ll probably have more questions, but you should check out how the spreadsheet works.

Thanks, I know how to generate a device tree from the spreadsheet. In the first response @WayneWWW said I would need the cfg file instead of the dtb, so I was asking about how to generate the cfg file.

I could be wrong, but I am thinking you should be able to generate a cfg file via the PINMUX spreadsheet (not just a device tree).

Hi,

After you create the dts files from spreadsheet, please check the README file under below path to use the python script to generate the new cfg file. Also, for xavier series platform, there is no u-boot.

~/nvidia/nvidia_sdk/JetPack_4.4_DP_Linux_DP_JETSON_XAVIER_NX/Linux_for_Tegra/kernel/pinmux/t19x$ ls
addr_info.txt       mandatory_pinmux.txt  pinmux-dts2cfg.py  README.txt
gpio_addr_info.txt  pad_info.txt          por_val.txt

Seems pwm can work on another customer’s case.

Thanks for the instructions on how to generate the pinmux, gpio and padvoltage .cfg files.

After trying again, I got the same result. GPIO14 works, but GPIO7 does not work.

I modified the (tegra19x-mb1-pinmux-p3668-a01.cfg) by changing the values of GPIO7 to GPIO14 as shown below. The value for GPIO14 in the cfg file is:
pinmux.0x0243d038 = 0x00000410; # gp_pwm2_px2: gp, tristate-enable, input-disable, lpdr-disable
but the value of GPIO7 is:
pinmux.0x0243d030 = 0x00000415; # gp_pwm3_px3: rsvd1, pull-down, tristate-enable, input-disable, lpdr-disable. So I changed GPIO7 to
pinmux.0x0243d030 = 0x00000410; # gp_pwm3_px3: gp, tristate-enable, input-disable, lpdr-disable

After building and flashing the module, I used the instructions below to try to trigger a PWM signal on the module:

cd /sys/devices
Displayed 4 pwm devices 3280000.pwm, 32c0000.pwm, 32d0000.pwm and 32f0000.pwm
32d0000.pwm always produced a ‘resource busy’ message when ‘echo 0 > export’ was done. So I assumed that was being used by GPIO14 whose amplitude could be changed using this command echo X > /sys/devices/pwm-fan/target_pwm.

To figure out if GPIO7 was mapped to any of the 3 pwm devices (3280000.pwm, 32c0000.pwm, 32f0000.pwm), I tried these commands on all 3 and probed the pin for a PWM signal without success.

CONFIG_PWM_SYSFS=y
cd 32X0000.pwm/pwm/pwmchipY
echo 0 > export
cd pwm0
echo 200000 > period
echo 100000 > duty_cycle
echo 1 > enable

Any more pointers/clues would be greatly appreciated.

Here’s the dmesg:

nvidia@nvidia-desktop:~$ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.140-tegra (root@tx1-dev2) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #2 SMP PREEMPT Tue Apr 28 17:55:37 EDT 2020
[ 0.000000] Boot CPU: AArch64 Processor [4e0f0040]
[ 0.000000] OF: fdt:memory scan node memory, reg size 48,
[ 0.000000] OF: fdt: - 80000000 , 2c000000
[ 0.000000] OF: fdt: - ac200000 , 44600000
[ 0.000000] OF: fdt: - 100000000 , 180000000
[ 0.000000] earlycon: tegra_comb_uart0 at MMIO32 0x000000000c168000 (options ‘’)
[ 0.000000] bootconsole [tegra_comb_uart0] enabled
[ 0.000000] Found tegra_fbmem: 00800000@a069b000
[ 0.000000] Found lut_mem: 00002008@a0696000
[ 0.000000] OF: fdt:Reserved memory: failed to reserve memory for node ‘fb1_carveout’: base 0x0000000000000000, size 0 MiB
[ 0.000000] OF: fdt:Reserved memory: failed to reserve memory for node ‘fb1_carveout’: base 0x0000000000000000, size 0 MiB
[ 0.000000] OF: fdt:Reserved memory: failed to reserve memory for node ‘fb2_carveout’: base 0x0000000000000000, size 0 MiB
[ 0.000000] OF: fdt:Reserved memory: failed to reserve memory for node ‘fb2_carveout’: base 0x0000000000000000, size 0 MiB
[ 0.000000] OF: fdt:Reserved memory: failed to reserve memory for node ‘fb3_carveout’: base 0x0000000000000000, size 0 MiB
[ 0.000000] OF: fdt:Reserved memory: failed to reserve memory for node ‘fb3_carveout’: base 0x0000000000000000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node ramoops_carveout, compatible id nvidia,ramoops
[ 0.000000] OF: reserved mem: initialized node vpr-carveout, compatible id nvidia,vpr-carveout
[ 0.000000] OF: reserved mem: initialized node grid-of-semaphores, compatible id nvidia,gosmem
[ 0.000000] cma: Reserved 64 MiB at 0x00000000c2000000
[ 0.000000] On node 0 totalpages: 2030589
[ 0.000000] DMA zone: 7152 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 457725 pages, LIFO batch:31
[ 0.000000] Normal zone: 24576 pages used for memmap
[ 0.000000] Normal zone: 1572864 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 25 pages/cpu @ffffffc1ffd03000 s63320 r8192 d30888 u102400
[ 0.000000] pcpu-alloc: s63320 r8192 d30888 u102400 alloc=25*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5
[ 0.000000] Speculative Store Bypass Disable mitigation not required
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1998861
[ 0.000000] Kernel command line: root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyTCU0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 video=tegrafb no_console_suspend=1 earlycon=tegra_comb_uart,mmio32,0x0c168000 gpt tegra_fbmem=0x800000@0xa069b000 lut_mem=0x2008@0xa0696000 usbcore.old_scheme_first=1 tegraid=19.1.2.0.0 maxcpus=6 boot.slot_suffix= boot.ratchetvalues=0.4.2 vpr_resize sdhci_tegra.en_boot_part_access=1 quiet
[ 0.000000] log_buf_len individual max cpu contribution: 32768 bytes
[ 0.000000] log_buf_len total cpu_extra contributions: 163840 bytes
[ 0.000000] log_buf_len min size: 32768 bytes
[ 0.000000] log_buf_len: 262144 bytes
[ 0.000000] early log buf free: 29212(89%)
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
[ 0.000000] Memory: 7181912K/8122356K available (15422K kernel code, 2950K rwdata, 6740K rodata, 8640K init, 609K bss, 186780K reserved, 753664K 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 : 0xffffff8008080000 - 0xffffff8008f90000 ( 15424 KB)
[ 0.000000] .rodata : 0xffffff8008f90000 - 0xffffff8009630000 ( 6784 KB)
[ 0.000000] .init : 0xffffff8009630000 - 0xffffff8009ea0000 ( 8640 KB)
[ 0.000000] .data : 0xffffff8009ea0000 - 0xffffff800a181808 ( 2951 KB)
[ 0.000000] .bss : 0xffffff800a181808 - 0xffffff800a219fbc ( 610 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 - 0xffffffbf08000000 ( 128 MB actual)
[ 0.000000] memory : 0xffffffc000000000 - 0xffffffc200000000 ( 8192 MB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, 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=6.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=6
[ 0.000000] NR_IRQS:64 nr_irqs:64 0
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] arm_arch_timer: Architected 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.000034] sched_clock: 56 bits at 31MHz, resolution 32ns, wraps every 4398046511088ns
[ 0.000655] Console: colour dummy device 80x25
[ 0.000674] console [tty0] enabled
[ 0.000684] bootconsole [tegra_comb_uart0] disabled
[ 0.000702] kmemleak: Kernel memory leak detector disabled
[ 0.000725] Calibrating delay loop (skipped), value calculated using timer frequency… 62.50 BogoMIPS (lpj=125000)
[ 0.000747] pid_max: default: 32768 minimum: 301
[ 0.002121] Security Framework initialized
[ 0.002858] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.002872] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.004972] ftrace: allocating 47660 entries in 187 pages
[ 0.433018] sched-energy: Sched-energy-costs installed from DT
[ 0.433113] ASID allocator initialised with 65536 entries
[ 0.475240] tegra-id: chipid=21917.
[ 0.475257] tegra-id: opt_subrevision=0.
[ 0.475320] Tegra Revision: A02 SKU: 0xde CPU Process: 0 SoC Process: 0
[ 0.475375] DTS File Name: /disk2/sg/xavier_nx_32.4.0_EA_2/Linux_for_Tegra/sources/kernel/kernel-4.9/arch/arm64/boot/dts/…/…/…/…/…/…/hardware/nvidia/platform/t19x/jakku/kernel-dts/tegra194-xavier-nx-cti-NGX006.dts
[ 0.475390] DTB Build time: Apr 28 2020 17:56:00
[ 0.525307] CPU1: Booted secondary processor [4e0f0040]
[ 0.557350] CPU2: Booted secondary processor [4e0f0040]
[ 0.589732] CPU3: Booted secondary processor [4e0f0040]
[ 0.622204] CPU4: Booted secondary processor [4e0f0040]
[ 0.654588] CPU5: Booted secondary processor [4e0f0040]
[ 0.654979] Brought up 6 CPUs
[ 0.655000] SMP: Total of 6 processors activated.
[ 0.655012] CPU features: detected feature: Privileged Access Never
[ 0.655051] CPU features: detected feature: LSE atomic instructions
[ 0.655061] CPU features: detected feature: User Access Override
[ 0.655069] CPU features: detected feature: Virtualization Host Extensions
[ 0.655101] CPU features: detected feature: 32-bit EL0 Support
[ 0.658008] CPU: All CPU(s) started at EL2
[ 0.658080] alternatives: patching kernel code
[ 0.669881] devtmpfs: initialized
[ 0.722978] Initilizing CustomIPI irq domain
[ 0.723374] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.723394] futex hash table entries: 2048 (order: 5, 131072 bytes)
[ 0.742828] pinctrl core: initialized pinctrl subsystem
[ 0.743167] OS set in device tree is not L4T.
[ 0.743576] regulator-dummy: no parameters
[ 0.743931] Initializing plugin-manager
[ 0.744004] Plugin module not found
[ 0.744047] Plugin-manager status disabled
[ 0.745458] NET: Registered protocol family 16
[ 0.748193] pstore: using zlib compression
[ 0.748219] console [pstore-1] enabled
[ 0.748227] pstore: Registered ramoops as persistent store backend
[ 0.748236] ramoops: attached 0x200000@0xf0600000, ecc: 0/0
[ 0.767624] cpuidle: using governor menu
[ 0.768960] bpmp: waiting for handshake
[ 0.768969] bpmp: handshake completed
[ 0.768987] bpmp: synchronizing channels
[ 0.768998] bpmp: channels synchronized
[ 0.769006] bpmp: mail init ok
[ 0.775632] t19x-arm-smmu 12000000.iommu: found 3 SMMUs and ISO SMMU id is 2
[ 0.775952] t19x-arm-smmu 12000000.iommu: probing hardware configuration…
[ 0.775962] t19x-arm-smmu 12000000.iommu: SMMUv2 with:
[ 0.775972] t19x-arm-smmu 12000000.iommu: stage 1 translation
[ 0.775980] t19x-arm-smmu 12000000.iommu: stage 2 translation
[ 0.775988] t19x-arm-smmu 12000000.iommu: nested translation
[ 0.776002] t19x-arm-smmu 12000000.iommu: stream matching with 128 register groups, mask 0x7f80
[ 0.776013] t19x-arm-smmu 12000000.iommu: SMMU address space size (0x800000) differs from mapped region size (0x1000000)!
[ 0.776024] t19x-arm-smmu 12000000.iommu: 64 context banks (0 stage-2 only)
[ 0.776034] t19x-arm-smmu 12000000.iommu: Stage-1: 39-bit VA → 48-bit IPA
[ 0.776043] t19x-arm-smmu 12000000.iommu: Stage-2: 39-bit IPA → 48-bit PA
[ 0.776805] t19x-arm-smmu 12000000.iommu: SMMU2: Unexpected {global,context} fault, this could be serious
[ 0.776893] tegra_mc_get_sid_name(): mc-sid isn’t populated yet
[ 0.776937] t19x-arm-smmu 12000000.iommu: GFSR 0x80000002, GFSYNR0 0x00000000, GFSYNR1 0x00000c09, GFSYNR2 0x00000000, fault_addr=0xa09fdc00, sid=9(0x9 - Unassigned SID)
[ 0.777240] t19x-arm-smmu 12000000.iommu: SMMU2: Unexpected {global,context} fault, this could be serious
[ 0.777286] tegra_mc_get_sid_name(): mc-sid isn’t populated yet
[ 0.777327] t19x-arm-smmu 12000000.iommu: GFSR 0x80000002, GFSYNR0 0x00000000, GFSYNR1 0x00000409, GFSYNR2 0x00000000, fault_addr=0xa0a35840, sid=9(0x9 - Unassigned SID)
[ 0.777623] t19x-arm-smmu 12000000.iommu: SMMU2: Unexpected {global,context} fault, this could be serious
[ 0.777667] tegra_mc_get_sid_name(): mc-sid isn’t populated yet
[ 0.777740] t19x-arm-smmu 12000000.iommu: GFSR 0x80000002, GFSYNR0 0x00000000, GFSYNR1 0x00000009, GFSYNR2 0x00000000, fault_addr=0xa0a66c00, sid=9(0x9 - Unassigned SID)
[ 0.778056] t19x-arm-smmu 12000000.iommu: SMMU2: Unexpected {global,context} fault, this could be serious
[ 0.778099] tegra_mc_get_sid_name(): mc-sid isn’t populated yet
[ 0.778138] t19x-arm-smmu 12000000.iommu: GFSR 0x80000002, GFSYNR0 0x00000000, GFSYNR1 0x00000409, GFSYNR2 0x00000000, fault_addr=0xa0a9da00, sid=9(0x9 - Unassigned SID)
[ 0.778431] t19x-arm-smmu 12000000.iommu: SMMU2: Unexpected {global,context} fault, this could be serious
[ 0.778494] tegra_mc_get_sid_name(): mc-sid isn’t populated yet
[ 0.778543] t19x-arm-smmu 12000000.iommu: GFSR 0x80000002, GFSYNR0 0x00000000, GFSYNR1 0x00000409, GFSYNR2 0x00000000, fault_addr=0xa0acd000, sid=9(0x9 - Unassigned SID)
[ 0.778915] t19x-arm-smmu 12000000.iommu: SMMU2: Unexpected {global,context} fault, this could be serious
[ 0.779009] tegra_mc_get_sid_name(): mc-sid isn’t populated yet
[ 0.779063] t19x-arm-smmu 12000000.iommu: GFSR 0x80000002, GFSYNR0 0x00000000, GFSYNR1 0x00000809, GFSYNR2 0x00000000, fault_addr=0xa0b093c0, sid=9(0x9 - Unassigned SID)
[ 0.779386] t19x-arm-smmu 12000000.iommu: SMMU2: Unexpected {global,context} fault, this could be serious
[ 0.779451] tegra_mc_get_sid_name(): mc-sid isn’t populated yet
[ 0.779500] t19x-arm-smmu 12000000.iommu: GFSR 0x80000002, GFSYNR0 0x00000000, GFSYNR1 0x00000809, GFSYNR2 0x00000000, fault_addr=0xa0b45e00, sid=9(0x9 - Unassigned SID)
[ 0.779834] t19x-arm-smmu 12000000.iommu: SMMU2: Unexpected {global,context} fault, this could be serious
[ 0.779936] tegra_mc_get_sid_name(): mc-sid isn’t populated yet
[ 0.779979] t19x-arm-smmu 12000000.iommu: GFSR 0x80000002, GFSYNR0 0x00000000, GFSYNR1 0x00000c09, GFSYNR2 0x00000000, fault_addr=0xa0b7d400, sid=9(0x9 - Unassigned SID)
[ 0.780304] t19x-arm-smmu 12000000.iommu: SMMU2: Unexpected {global,context} fault, this could be serious
[ 0.780353] tegra_mc_get_sid_name(): mc-sid isn’t populated yet
[ 0.780395] t19x-arm-smmu 12000000.iommu: GFSR 0x80000002, GFSYNR0 0x00000000, GFSYNR1 0x00000409, GFSYNR2 0x00000000, fault_addr=0xa0bb6e00, sid=9(0x9 - Unassigned SID)
[ 0.780697] t19x-arm-smmu 12000000.iommu: SMMU2: Unexpected {global,context} fault, this could be serious
[ 0.780745] tegra_mc_get_sid_name(): mc-sid isn’t populated yet
[ 0.780786] t19x-arm-smmu 12000000.iommu: GFSR 0x80000002, GFSYNR0 0x00000000, GFSYNR1 0x00000009, GFSYNR2 0x00000000, fault_addr=0xa0beb600, sid=9(0x9 - Unassigned SID)
[ 0.842870] random: fast init done
[ 0.953343] vdso: 2 pages (1 code @ ffffff8008f97000, 1 data @ ffffff8009ea4000)
[ 0.969298] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.972832] atomic_pool_init():622: DMA: preallocated 1024 KiB pool for atomic allocations
[ 0.973895] Registering BPMP clocks…
[ 0.974068] tegra_bpmp_clk_init: clock init ok (400 clks)
[ 0.974996] Serial: AMBA PL011 UART driver
[ 0.975220] tegra_powergate_init: DONE
[ 0.975233] DTS File Name: /disk2/sg/xavier_nx_32.4.0_EA_2/Linux_for_Tegra/sources/kernel/kernel-4.9/arch/arm64/boot/dts/…/…/…/…/…/…/hardware/nvidia/platform/t19x/jakku/kernel-dts/tegra194-xavier-nx-cti-NGX006.dts
[ 0.975245] DTB Build time: Apr 28 2020 17:56:00
[ 0.978588] Tegra reboot handler registered.
[ 0.989494] iommu: Adding device 14160000.pcie to group 0
[ 0.990311] iommu: Adding device 141a0000.pcie to group 1
[ 0.992154] iommu: Adding device 2490000.ether_qos to group 2
[ 0.992878] iommu: Adding device 3100000.serial to group 3
[ 0.993519] iommu: Adding device 3110000.serial to group 4
[ 0.994066] iommu: Adding device 3140000.serial to group 5
[ 0.995003] tegra-pmc c360000.pmc: scratch reg offset dts data not present
[ 0.995201] tegra-pmc: get_secure_pmc_setting: done secure_pmc=0
[ 0.995230] tegra-pmc: ### PMC reset source: TEGRA_POWER_ON_RESET
[ 0.995237] tegra-pmc: ### PMC reset level: TEGRA_RESET_LEVEL_L0
[ 0.995244] tegra-pmc: ### PMC reset status reg: 0x0
[ 0.995307] tegra-pmc: PMC Prod config success
[ 0.995608] padctrl padctrl.0: Pad control driver tegra-pmc-padctrl registered
[ 0.995656] tegra-pmc c360000.pmc: IO padctrl driver initialized
[ 0.996103] iommu: Adding device 3460000.sdhci to group 6
[ 0.996844] iommu: Adding device 3210000.spi to group 7
[ 0.997368] iommu: Adding device 3230000.spi to group 8
[ 0.997913] iommu: Adding device 3270000.spi to group 9
[ 0.999310] iommu: Adding device 3160000.i2c to group 10
[ 0.999865] iommu: Adding device c240000.i2c to group 11
[ 1.000513] iommu: Adding device 3180000.i2c to group 12
[ 1.001072] iommu: Adding device 3190000.i2c to group 13
[ 1.001760] iommu: Adding device 31b0000.i2c to group 14
[ 1.002324] iommu: Adding device 31c0000.i2c to group 15
[ 1.002800] iommu: Adding device c250000.i2c to group 16
[ 1.003302] iommu: Adding device 31e0000.i2c to group 17
[ 1.004384] iommu: Adding device sound to group 18
[ 1.005084] iommu: Adding device 3510000.hda to group 19
[ 1.005893] iommu: Adding device bc00000.rtcpu to group 20
[ 1.008299] iommu: Adding device 13e10000.host1x to group 21
[ 1.008833] iommu: Adding device 13e10000.host1x:ctx0 to group 22
[ 1.009263] iommu: Adding device 13e10000.host1x:ctx1 to group 23
[ 1.009737] iommu: Adding device 13e10000.host1x:ctx2 to group 24
[ 1.010161] iommu: Adding device 13e10000.host1x:ctx3 to group 25
[ 1.010611] iommu: Adding device 13e10000.host1x:ctx4 to group 26
[ 1.011047] iommu: Adding device 13e10000.host1x:ctx5 to group 27
[ 1.011490] iommu: Adding device 13e10000.host1x:ctx6 to group 28
[ 1.011933] iommu: Adding device 13e10000.host1x:ctx7 to group 29
[ 1.012770] iommu: Adding device 15340000.vic to group 30
[ 1.013275] iommu: Adding device 15380000.nvjpg to group 31
[ 1.013684] iommu: Adding device 15500000.tsec to group 32
[ 1.014050] iommu: Adding device 15100000.tsecb to group 33
[ 1.014417] iommu: Adding device 15480000.nvdec to group 34
[ 1.014788] iommu: Adding device 15140000.nvdec1 to group 35
[ 1.015159] iommu: Adding device 154c0000.nvenc to group 36
[ 1.015522] iommu: Adding device 15a80000.nvenc1 to group 37
[ 1.016107] iommu: Adding device 15880000.nvdla0 to group 38
[ 1.016726] iommu: Adding device 158c0000.nvdla1 to group 39
[ 1.017664] iommu: Adding device 15200000.nvdisplay to group 40
[ 1.017776] t19x-arm-smmu 12000000.iommu: Unhandled context fault: smmu2, iova=0xa0dbce00, fsynr=0x190001, cb=17, sid=9(0x9 - NVDISPLAY), pgd=0, pud=0, pmd=0, pte=0
[ 1.018028] t19x-arm-smmu 12000000.iommu: Unhandled context fault: smmu2, iova=0xa0dd1680, fsynr=0x190001, cb=17, sid=9(0x9 - NVDISPLAY), pgd=275724003, pud=275724003, pmd=0, pte=0
[ 1.018086] platform 15200000.nvdisplay: IOVA linear map 0x00000000a069b000(800000)
[ 1.018100] platform 15200000.nvdisplay: IOVA linear map 0x00000000a0696000(3000)
[ 1.024433] platform 15200000.nvdisplay: IOVA linear map 0x00000000c6000000(2a000000)
[ 1.024447] t19x-arm-smmu: Adding 15200000.nvdisplay to ISO SMMU client
[ 1.025132] iommu: Adding device 15210000.nvdisplay to group 41
[ 1.025214] t19x-arm-smmu: Adding 15210000.nvdisplay to ISO SMMU client
[ 1.027565] iommu: Adding device 15c10000.vi to group 42
[ 1.027751] t19x-arm-smmu: Adding 15c10000.vi to ISO SMMU client
[ 1.028242] iommu: Adding device 14800000.isp to group 43
[ 1.029555] iommu: Adding device 16000000.pva0 to group 44
[ 1.030218] iommu: Adding device 16800000.pva1 to group 45
[ 1.030761] iommu: Adding device 15810000.se to group 46
[ 1.031279] iommu: Adding device 15820000.se to group 47
[ 1.031697] iommu: Adding device 15830000.se to group 48
[ 1.032069] iommu: Adding device 15840000.se to group 49
[ 1.032432] iommu: Adding device c1a0000.aon to group 50
[ 1.034433] iommu: Adding device d000000.bpmp to group 51
[ 1.034891] bpmp: ping status is 0
[ 1.035205] bpmp d000000.bpmp: firmware tag is 57f8a77779f848bf2ecf21dabee5645f
[ 1.039330] bpmp d000000.bpmp: probe ok
[ 1.041150] tegra-reset 0.bpmp_reset: registered 190 resets.
[ 1.041775] iommu: Adding device smmu_test to group 52
[ 1.043337] mc: mapped MMIO address: 0xffffff800a5e0000 → 0x2c10000
[ 1.043370] mc: mapped MMIO address: 0xffffff800a7b0000 → 0x2c20000
[ 1.043400] mc: mapped MMIO address: 0xffffff800a7d0000 → 0x2c30000
[ 1.043447] mc: mapped MMIO address: 0xffffff800b010000 → 0x2c40000
[ 1.043472] mc: mapped MMIO address: 0xffffff800b030000 → 0x2c50000
[ 1.043527] mc: mapped MMIO address: 0xffffff800b050000 → 0x2b80000
[ 1.043580] mc: mapped MMIO address: 0xffffff800b070000 → 0x2b90000
[ 1.043631] mc: mapped MMIO address: 0xffffff800b090000 → 0x2ba0000
[ 1.043660] mc: mapped MMIO address: 0xffffff800b0b0000 → 0x2bb0000
[ 1.043716] mc: mapped MMIO address: 0xffffff800b0d0000 → 0x1700000
[ 1.043771] mc: mapped MMIO address: 0xffffff800b0f0000 → 0x1710000
[ 1.043798] mc: mapped MMIO address: 0xffffff800b110000 → 0x1720000
[ 1.043822] mc: mapped MMIO address: 0xffffff800b130000 → 0x1730000
[ 1.043846] mc: mapped MMIO address: 0xffffff800b150000 → 0x1740000
[ 1.043870] mc: mapped MMIO address: 0xffffff800b170000 → 0x1750000
[ 1.043894] mc: mapped MMIO address: 0xffffff800b190000 → 0x1760000
[ 1.043918] mc: mapped MMIO address: 0xffffff800b1b0000 → 0x1770000
[ 1.044021] mc-err: mcerr ops are set to t19x
[ 1.052047] iommu: Adding device 2600000.dma to group 53
[ 1.059397] GPIO line 339 (wifi-enable) hogged as output/high
[ 1.059493] GPIO line 490 (pcie-reg-enable) hogged as output/high
[ 1.059533] GPIO line 289 (pcie-reg-enable) hogged as output/high
[ 1.060072] gpiochip_setup_dev: registered GPIOs 288 to 511 on device: gpiochip0 (tegra-gpio)
[ 1.068786] GPIO line 253 (pex-refclk-sel-low) hogged as output/low
[ 1.069210] gpiochip_setup_dev: registered GPIOs 248 to 287 on device: gpiochip1 (tegra-gpio-aon)
[ 1.072046] tegra186-aowake c370000.pmc: WAKE_AOWAKE_CTRL_0 = 3
[ 1.072060] tegra186-aowake c370000.pmc: WAKE_AOWAKE_CNTRL_24(PMU_INT) = 256
[ 1.073039] iommu: Adding device 3550000.xudc to group 54
[ 1.073900] iommu: Adding device 3610000.xhci to group 55
[ 1.076757] arm64_ras arm64_ras: probed
[ 1.077353] ras_fhi_enable: FHI 469 enabled on CPU0
[ 1.077441] ras_fhi_enable: FHI 470 enabled on CPU1
[ 1.077540] ras_fhi_enable: FHI 471 enabled on CPU2
[ 1.077606] ras_fhi_enable: FHI 472 enabled on CPU3
[ 1.077695] ras_fhi_enable: FHI 473 enabled on CPU4
[ 1.077764] ras_fhi_enable: FHI 474 enabled on CPU5
[ 1.078029] carmel_ras_enable: RAS enabled on cpu0
[ 1.078298] carmel_ras_enable: RAS enabled on cpu1
[ 1.078542] carmel_ras_enable: RAS enabled on cpu2
[ 1.078781] carmel_ras_enable: RAS enabled on cpu3
[ 1.079018] carmel_ras_enable: RAS enabled on cpu4
[ 1.079243] carmel_ras_enable: RAS enabled on cpu5
[ 1.079385] carmel_ras carmel_ras: probed
[ 1.080928] tegra-cbb 2300000.cbb-noc: noc_secure_irq = 478, noc_nonsecure_irq = 477>
[ 1.081606] tegra-cbb c600000.aon-noc: noc_secure_irq = 480, noc_nonsecure_irq = 479>
[ 1.082640] tegra-cbb d600000.bpmp-noc: noc_secure_irq = 482, noc_nonsecure_irq = 481>
[ 1.083701] tegra-cbb be00000.rce-noc: noc_secure_irq = 484, noc_nonsecure_irq = 483>
[ 1.084760] tegra-cbb b600000.sce-noc: noc_secure_irq = 486, noc_nonsecure_irq = 485>
[ 1.085332] tegra-cbb 14040000.cv-noc: defer probe as CV-NOC not probed yet
[ 1.087208] vdd-ac-bat: 5000 mV
[ 1.087747] vdd-sdmmc1-sw: 3300 mV
[ 1.088231] vdd-1v8-sd: 1800 mV
[ 1.088693] vdd-usb2-5v: 5000 mV
[ 1.089101] vdd-3v3-cvb: 3300 mV
[ 1.089491] vdd-1v8-cvb: 1800 mV
[ 1.089948] vdd-epb-1v0: supplied by vdd-3v3-cvb
[ 1.090016] vdd-epb-1v0: 1000 mV
[ 1.090518] avdd-cam-2v8: 2800 mV
[ 1.090920] vdd-fan: 5000 mV
[ 1.091357] vdd-hdmi-5v0: 5000 mV
[ 1.091798] vdd_sys_en: 1200 mV
[ 1.129078] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 1.141959] eventlib_kernel: keventlib is initialized, test id: 0
[ 1.142366] SCSI subsystem initialized
[ 1.142696] libata version 3.00 loaded.
[ 1.142997] usbcore: registered new interface driver usbfs
[ 1.143081] usbcore: registered new interface driver hub
[ 1.143249] usbcore: registered new device driver usb
[ 1.158104] tegra-i2c 31e0000.i2c: could not find pctldev for node /host1x/dpaux@155F0000/pinmux@0, deferring probe
[ 1.161265] max77620 4-003c: PMIC Version OTP:0x51 and ES:0x1
[ 1.170420] vdd-1v0: at 1000 mV
[ 1.178464] vdd-1v8-hs: at 1800 mV
[ 1.186540] vdd-1v8-ls: at 1800 mV
[ 1.194626] vdd-1v8-ao: at 1800 mV
[ 1.202665] vddio-ddr-1v1: at 1100 mV
[ 1.210385] vdd-rtc: at 800 mV
[ 1.212101] spmic-ldo1: at 2375 mV
[ 1.222541] vdd-ao-3v3: at 3300 mV
[ 1.234649] vddio-emmc-3v3: at 3300 mV
[ 1.236315] spmic-ldo4: at 1587 mV
[ 1.246742] vdd-usb-3v3: at 3300 mV
[ 1.258811] vddio-sdmmc1-3v3: at 3300 mV
[ 1.266896] vdd-csi-1v2: at 1200 mV
[ 1.268667] spmic-ldo8: at 1800 mV
[ 1.274472] GPIO line 246 (gpio_default) hogged as output/high
[ 1.276017] GPIO line 247 (gpio_default) hogged as output/high
[ 1.276398] gpiochip_setup_dev: registered GPIOs 240 to 247 on device: gpiochip2 (max77620-gpio)
[ 1.276855] max77620 4-003c: max77620 probe successful
[ 1.277662] media: Linux media interface: v0.10
[ 1.277825] Linux video capture interface: v2.00
[ 1.279701] pps_core: LinuxPPS API ver. 1 registered
[ 1.279718] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 1.279756] PTP clock support registered
[ 1.280135] tegra_wdt_t18x 30c0000.watchdog: Expiry count is deprecated
[ 1.280522] tegra_wdt_t18x 30c0000.watchdog: Tegra WDT init timeout = 120 sec
[ 1.280566] tegra_wdt_t18x 30c0000.watchdog: Registered successfully
[ 1.284055] trusty trusty: trusty version: Built: 15:29:04 Jan 17 2020
[ 1.284140] trusty trusty: selected api version: 3 (requested 3)
[ 1.285456] Advanced Linux Sound Architecture Driver Initialized.
[ 1.286219] Bluetooth: Core ver 2.22
[ 1.286296] NET: Registered protocol family 31
[ 1.286310] Bluetooth: HCI device and connection manager initialized
[ 1.286331] Bluetooth: HCI socket layer initialized
[ 1.286350] Bluetooth: L2CAP socket layer initialized
[ 1.286393] Bluetooth: SCO socket layer initialized
[ 1.290135] camchar: rtcpu character device driver loaded
[ 1.290859] gpio tegra-gpio wake61 for gpio=201(Z:1)
[ 1.290987] extcon-gpio-states external-connection:extcon@1: Cable state:1, cable id:1
[ 1.292282] clocksource: Switched to clocksource arch_sys_counter
[ 1.355743] VFS: Disk quotas dquot_6.6.0
[ 1.355869] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.356396] nvmap_heap_init: nvmap_heap_init: created heap block cache
[ 1.358106] tegra-carveouts tegra-carveouts: assigned reserved memory node grid-of-semaphores
[ 1.358188] dma_declare_coherent_resizable_cma_memory:324: resizable heap=vpr, base=0x00000000c6000000, size=0x2a000000
[ 1.358556] cma: enabled page replacement for spfn=c6000, epfn=f0000
[ 1.358572] dma_declare_coherent_resizable_cma_memory:373: resizable cma heap=vpr create successful
[ 1.358605] nvmap: nvmap_select_cache_ops() nvmap cache ops set to scf
[ 1.358622] nvmap_page_pool_init: Total RAM pages: 1983894
[ 1.358636] nvmap_page_pool_init: nvmap page pool size: 247986 pages (968 MB)
[ 1.358891] nvmap_background_zero_thread: PP zeroing thread starting.
[ 1.359472] misc nvmap: created heap vpr base 0x00000000c6000000 size (688128KiB)
[ 1.362540] tegra-gpcdma 2600000.dma: GPC DMA driver register 31 channels
[ 1.379542] thermal thermal_zone0: Registering thermal zone thermal_zone0 for type CPU-therm
[ 1.379828] thermal thermal_zone1: Registering thermal zone thermal_zone1 for type GPU-therm
[ 1.380103] thermal thermal_zone2: Registering thermal zone thermal_zone2 for type AUX-therm
[ 1.380459] thermal thermal_zone3: Registering thermal zone thermal_zone3 for type AO-therm
[ 1.380728] thermal thermal_zone4: Registering thermal zone thermal_zone4 for type PMIC-Die
[ 1.382176] la/ptsa driver initialized.
[ 1.382654] NET: Registered protocol family 2
[ 1.383760] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
[ 1.384184] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[ 1.384979] TCP: Hash tables configured (established 65536 bind 65536)
[ 1.385041] UDP hash table entries: 4096 (order: 5, 131072 bytes)
[ 1.385195] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes)
[ 1.385734] NET: Registered protocol family 1
[ 1.386582] RPC: Registered named UNIX socket transport module.
[ 1.386598] RPC: Registered udp transport module.
[ 1.386609] RPC: Registered tcp transport module.
[ 1.386625] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.386641] PCI: CLS 0 bytes, default 64
[ 1.386873] Trying to unpack rootfs image as initramfs…
[ 1.631685] Freeing initrd memory: 5432K
[ 1.661739] host1x 13e10000.host1x: initialized
[ 1.664105] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[ 1.664492] kvm [1]: 16-bit VMID
[ 1.664500] kvm [1]: VHE mode initialized successfully
[ 1.664565] kvm [1]: vgic-v2@3884000
[ 1.665054] kvm [1]: vgic interrupt IRQ1
[ 1.665078] kvm [1]: virtual timer IRQ4
[ 1.671132] audit: initializing netlink subsys (disabled)
[ 1.671200] audit: type=2000 audit(1.264:1): initialized
[ 1.672154] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[ 1.684716] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.686462] ntfs: driver 2.1.32 [Flags: R/W].
[ 1.687348] 9p: Installing v9fs 9p2000 file system support
[ 1.693737] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 240)
[ 1.693971] io scheduler noop registered
[ 1.694323] io scheduler cfq registered (default)
[ 1.699127] gic 2a41000.agic-controller: GIC IRQ controller registered
[ 1.740995] iommu: Adding device 2993000.adsp to group 56
[ 1.874433] iommu: Adding device aconnect@2a41000:adsp_audio to group 57
[ 1.875579] tegra-aconnect aconnect@2a41000: Tegra ACONNECT bus registered
[ 1.891047] tegra-pwm 3280000.pwm: PWM clk can sleep in ops
[ 1.891740] tegra-pwm c340000.pwm: PWM clk can sleep in ops
[ 1.892718] tegra-pwm 32c0000.pwm: PWM clk can sleep in ops
[ 1.893249] tegra-pwm 32d0000.pwm: PWM clk can sleep in ops
[ 1.893777] tegra-pwm 32f0000.pwm: PWM clk can sleep in ops
[ 1.897788] tegra_camera_platform tegra-camera-platform: tegra_camera_probe:camera_platform_driver probe
[ 1.898067] misc tegra_camera_ctrl: tegra_camera_isomgr_register: some fields not in DT.
[ 1.898083] misc tegra_camera_ctrl: tegra_camera_isomgr_register isp_iso_bw=0, vi_iso_bw=8000000, max_bw=8000000
[ 1.901597] tsec 15500000.tsec: initialized
[ 1.903515] tsec 15100000.tsecb: initialized
[ 1.908376] nvdec 15480000.nvdec: initialized
[ 1.911392] nvdec 15140000.nvdec1: initialized
[ 1.918449] falcon 15340000.vic: initialized
[ 1.920857] falcon 15380000.nvjpg: initialized
[ 1.923232] falcon 154c0000.nvenc: initialized
[ 1.925573] falcon 15a80000.nvenc1: initialized
[ 1.929987] iommu_context_dev 13e10000.host1x:ctx0: initialized (streamid=56)
[ 1.933756] iommu_context_dev 13e10000.host1x:ctx1: initialized (streamid=57)
[ 1.936711] iommu_context_dev 13e10000.host1x:ctx2: initialized (streamid=58)
[ 1.938456] iommu_context_dev 13e10000.host1x:ctx3: initialized (streamid=59)
[ 1.940291] iommu_context_dev 13e10000.host1x:ctx4: initialized (streamid=60)
[ 1.942053] iommu_context_dev 13e10000.host1x:ctx5: initialized (streamid=61)
[ 1.943867] iommu_context_dev 13e10000.host1x:ctx6: initialized (streamid=62)
[ 1.945690] iommu_context_dev 13e10000.host1x:ctx7: initialized (streamid=63)
[ 1.950359] t194-nvcsi 15a00000.nvcsi: initialized
[ 1.956978] scare-pigeon 13e10000.host1x:vi-thi@15f00000: initialized
[ 1.957530] scare-pigeon 14b00000.isp-thi: initialized
[ 1.963927] pva 16000000.pva0: initialized
[ 1.970950] pva 16800000.pva1: initialized
[ 1.976715] nvdla 15880000.nvdla0: initialized
[ 1.982252] nvdla 158c0000.nvdla1: initialized
[ 1.983875] tegradccommon 15200000.dc_common: host1x channel mapped
[ 1.983892] tegradccommon 15200000.dc_common: dc_common syncpt # 1 allocated
[ 1.983930] tegradccommon 15200000.dc_common: dma mapping done
[ 1.985024] tegradc 15200000.nvdisplay: disp0 connected to head0->/host1x/sor1
[ 1.985099] generic_infoframe_type: 0x87
[ 1.985203] tegradc 15200000.nvdisplay: DT parsed successfully
[ 1.985251] tegradc 15200000.nvdisplay: Display dc.ffffff800bd50000 registered with id=0
[ 1.990045] tegra_nvdisp_bandwidth_register_max_config: max config iso bw = 7088400 KB/s
[ 1.990067] tegra_nvdisp_bandwidth_register_max_config: max config EMC floor = 800000000 Hz
[ 1.990082] tegra_nvdisp_bandwidth_register_max_config: max config hubclk = 179200000 Hz
[ 1.990322] tegradc 15200000.nvdisplay: vblank syncpt # 8 for dc 0
[ 1.990336] tegradc 15200000.nvdisplay: vpulse3 syncpt # 9 for dc 0
[ 1.991501] tegradc 15200000.nvdisplay: Bootloader disp_param detected. Detected mode: 1920x1080 (on 0x0mm) pclk=148350937
[ 1.994955] tegradc 15200000.nvdisplay: hdmi: invalid prod list prod_list_hdmi_board
[ 1.994967] tegradc 15200000.nvdisplay: hdmi: tegra_hdmi_tmds_range_read(bd) failed
[ 1.999256] tegradc 15200000.nvdisplay: probed
[ 2.046630] Console: switching to colour frame buffer device 240x67
[ 2.046795] tegradc 15200000.nvdisplay: fb registered
[ 2.047290] gpio tegra-gpio wake63 for gpio=97(M:1)
[ 2.047969] tegra_nvdisp_handle_pd_enable: Unpowergated Head0 pd
[ 2.048089] tegra_nvdisp_handle_pd_enable: Unpowergated Head1 pd
[ 2.050874] Parent Clock set for DC plld2
[ 2.103953] tegradc 15200000.nvdisplay: hdmi: tmds rate:148351K prod-setting:prod_c_hdmi_111m_223m
[ 2.104823] tegradc 15200000.nvdisplay: hdmi: get RGB quant from REG programmed by BL.
[ 2.104876] tegradc 15200000.nvdisplay: hdmi: get YCC quant from REG programmed by BL.
[ 2.131187] extcon-disp-state external-connection:disp-state: cable 47 state 1
[ 2.131201] Extcon AUX1(HDMI) enable
[ 2.131931] tegradc 15210000.nvdisplay: disp1 connected to head1->/host1x/sor
[ 2.131976] tegradc 15210000.nvdisplay: parse_dp_settings: No dp-lt-settings node
[ 2.132091] tegradc 15210000.nvdisplay: DT parsed successfully
[ 2.132162] tegradc 15210000.nvdisplay: Display dc.ffffff800be50000 registered with id=1
[ 2.132548] tegradc 15210000.nvdisplay: vblank syncpt # 11 for dc 1
[ 2.132561] tegradc 15210000.nvdisplay: vpulse3 syncpt # 12 for dc 1
[ 2.144402] tegradc 15210000.nvdisplay: probed
[ 2.144909] tegradc 15210000.nvdisplay: fb registered
[ 2.148357] hpd: state 7 (Takeover from bootloader), hpd 0, pending_hpd_evt 1
[ 2.148378] hpd: switching from state 7 (Takeover from bootloader) to state 0 (Reset)
[ 2.148400] hpd: state 0 (Reset), hpd 0, pending_hpd_evt 0
[ 2.148423] tegradc 15210000.nvdisplay: blank - powerdown
[ 2.148443] extcon-disp-state external-connection:disp-state: cable 44 state 0 already set.
[ 2.148452] Extcon DP: HPD disabled
[ 2.148483] hpd: hpd_switch 0
[ 2.148499] hpd: switching from state 0 (Reset) to state 1 (Check Plug)
[ 2.148515] hpd: state 1 (Check Plug), hpd 0, pending_hpd_evt 0
[ 2.148533] hpd: switching from state 1 (Check Plug) to state 3 (Disabled)
[ 2.148962] tegra_cec 3960000.tegra_cec: dt=1 start=0x03960000 end=0x03960FFF irq=78
[ 2.148976] tegra_cec 3960000.tegra_cec: Unpowergate DISP: 0.
[ 2.149247] tegra_cec 3960000.tegra_cec: Enable clock result: 0.
[ 2.149415] tegra_cec 3960000.tegra_cec: tegra_cec_init started
[ 2.149604] tegra_cec 3960000.tegra_cec: cec_add_sysfs ret=0
[ 2.149615] tegra_cec 3960000.tegra_cec: probed
[ 2.163380] tegra-adma 2930000.adma: Tegra210 ADMA driver registered 32 channels
[ 2.164311] tegra-fuse-burn 3820000.efuse:efuse-burn: shutdown limit check disabled
[ 2.164323] tegra-fuse-burn 3820000.efuse:efuse-burn: Fuse burn driver initialized
[ 2.164755] kfuse 3830000.kfuse: initialized
[ 2.170526] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 2.173711] 3100000.serial: ttyTHS0 at MMIO 0x3100000 (irq = 47, base_baud = 0) is a TEGRA_UART
[ 2.175352] 3110000.serial: ttyTHS1 at MMIO 0x3110000 (irq = 48, base_baud = 0) is a TEGRA_UART
[ 2.176580] 3140000.serial: ttyTHS4 at MMIO 0x3140000 (irq = 49, base_baud = 0) is a TEGRA_UART
[ 2.426738] console [ttyTCU0] enabled
[ 2.426879] tegradc 15200000.nvdisplay: blank - powerdown
[ 2.427212] [drm] Initialized
[ 2.449109] brd: module loaded
[ 2.456903] loop: module loaded
[ 2.457031] tegra_profiler: version: 1.140, samples/io: 47/27
[ 2.457262] tegra_profiler: auth: init
[ 2.458009] THERMAL EST: found 3 subdevs
[ 2.458022] THERMAL EST num_resources: 0
[ 2.458033] [THERMAL EST subdev 0]
[ 2.458043] [THERMAL EST subdev 1]
[ 2.458053] [THERMAL EST subdev 2]
[ 2.458069] THERMAL EST: Found 2 profiles, default profile is quiet
[ 2.458549] thermal thermal_zone5: Registering thermal zone thermal_zone5 for type thermal-fan-est
[ 2.458557] THERMAL EST: thz register success.
[ 2.458839] THERMAL EST: end of probe, return err: 0
[ 2.459704] sd: No Scsi addr parsed to reserve index
[ 2.459757] hisi_sas: driver version v1.6
[ 2.471176] extcon-disp-state external-connection:disp-state: cable 47 state 0
[ 2.471185] Extcon AUX1(HDMI) disable
[ 2.472869] qspi_mtd spi6.0: s25fs256s SSG 8 0 1000 2000000
[ 2.472879] qspi_mtd spi6.0: s25fs256s (32768 Kbytes)
[ 2.472891] qspi_mtd spi6.0: mtd .name = spi6.0, .size = 0x2000000 (32MiB) .erasesize = 0x00010000 (64KiB) .numeraseregions = 0
[ 2.473378] 1 ofpart partitions found on MTD device spi6.0
[ 2.473393] Creating 1 MTD partitions on “spi6.0”:
[ 2.473410] 0x000000000000-0x000002000000 : “Whole_flash0”
[ 2.477109] libphy: Fixed MDIO Bus: probed
[ 2.479115] tun: Universal TUN/TAP device driver, 1.6
[ 2.479126] tun: (C) 1999-2004 Max Krasnyansky maxk@qualcomm.com
[ 2.480201] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[ 2.480212] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 2.480353] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[ 2.480362] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 2.480441] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[ 2.480465] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 2.480544] Intel(R) 10GbE PCI Express Linux Network Driver - version 4.6.4
[ 2.480548] Copyright(c) 1999 - 2017 Intel Corporation.
[ 2.498228] tegra_nvdisp_handle_pd_disable: Powergated Head1 pd
[ 2.499629] tegra_nvdisp_handle_pd_disable: Powergated Head0 pd
[ 2.528236] tegradc 15200000.nvdisplay: unblank
[ 2.530601] tegra_nvdisp_handle_pd_enable: Unpowergated Head0 pd
[ 2.530987] tegra_nvdisp_handle_pd_enable: Unpowergated Head1 pd
[ 2.540326] Parent Clock set for DC plld2
[ 2.545949] tegradc 15200000.nvdisplay: hdmi: tmds rate:148500K prod-setting:prod_c_hdmi_111m_223m
[ 2.547631] tegradc 15200000.nvdisplay: hdmi: get RGB quant from EDID.
[ 2.547678] tegradc 15200000.nvdisplay: hdmi: get YCC quant from EDID.
[ 2.582943] extcon-disp-state external-connection:disp-state: cable 47 state 1
[ 2.582948] Extcon AUX1(HDMI) enable
[ 2.643500] eqos 2490000.ether_qos: Setting local MAC: 48 b0 2d 3 51 d6
[ 2.643813] libphy: dwc_phy: probed
[ 2.646966] PPP generic driver version 2.4.2
[ 2.647247] PPP BSD Compression module registered
[ 2.647252] PPP Deflate Compression module registered
[ 2.647300] PPP MPPE Compression module registered
[ 2.647305] NET: Registered protocol family 24
[ 2.647403] usbcore: registered new interface driver r8152
[ 2.647467] usbcore: registered new interface driver asix
[ 2.647519] usbcore: registered new interface driver ax88179_178a
[ 2.647556] usbcore: registered new interface driver cdc_ether
[ 2.647592] usbcore: registered new interface driver net1080
[ 2.647637] usbcore: registered new interface driver cdc_subset
[ 2.647679] usbcore: registered new interface driver zaurus
[ 2.647736] usbcore: registered new interface driver cdc_ncm
[ 2.648057] VFIO - User Level meta-driver version: 0.3
[ 2.649863] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 2.649891] ehci-pci: EHCI PCI platform driver
[ 2.649944] ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
[ 2.649956] ohci-pci: OHCI PCI platform driver
[ 2.650008] ohci-platform: OHCI generic platform driver
[ 2.657022] tegra-xusb 3610000.xhci: USB2 port 0 has OTG_CAP
[ 2.659302] tegra-xusb 3610000.xhci: extcon 0: ffffffc1f5b20400 id
[ 2.660085] usbcore: registered new interface driver uas
[ 2.660173] usbcore: registered new interface driver usb-storage
[ 2.660335] usbcore: registered new interface driver usbserial
[ 2.661818] tegra-xusb 3610000.xhci: Firmware timestamp: 2019-07-24 05:47:34 UTC, Version: 60.06 release
[ 2.661868] tegra-xusb 3610000.xhci: xHCI Host Controller
[ 2.661891] tegra-xusb 3610000.xhci: new USB bus registered, assigned bus number 1
[ 2.662678] tegra-xusb 3610000.xhci: hcc params 0x0184ff25 hci version 0x110 quirks 0x00050810
[ 2.662735] tegra-xusb 3610000.xhci: irq 464, io mem 0x03610000
[ 2.662992] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.663000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.663007] usb usb1: Product: xHCI Host Controller
[ 2.663013] usb usb1: Manufacturer: Linux 4.9.140-tegra xhci-hcd
[ 2.663019] usb usb1: SerialNumber: 3610000.xhci
[ 2.663771] hub 1-0:1.0: USB hub found
[ 2.663837] hub 1-0:1.0: 4 ports detected
[ 2.664552] tegra-xusb 3610000.xhci: xHCI Host Controller
[ 2.664565] tegra-xusb 3610000.xhci: new USB bus registered, assigned bus number 2
[ 2.664577] tegra-xusb 3610000.xhci: Host supports USB 3.1 Enhanced SuperSpeed
[ 2.664962] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[ 2.664971] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.664978] usb usb2: Product: xHCI Host Controller
[ 2.664985] usb usb2: Manufacturer: Linux 4.9.140-tegra xhci-hcd
[ 2.664991] usb usb2: SerialNumber: 3610000.xhci
[ 2.666123] hub 2-0:1.0: USB hub found
[ 2.666175] hub 2-0:1.0: 4 ports detected
[ 2.666741] tegra-xudc-new 3550000.xudc: PMQOS CPU boost enabled
[ 2.666862] tegra-xudc-new 3550000.xudc: device count: 1
[ 2.667921] tegra-xudc-new 3550000.xudc: vbus state: 1
[ 2.667950] tegra-xudc-new 3550000.xudc: device mode on: 0
[ 2.668302] tegra-xudc-new 3550000.xudc: active: 0 => 1
[ 2.668320] tegra-xudc-new 3550000.xudc: Initialize boost_cpufreq work
[ 2.669162] mousedev: PS/2 mouse device common for all mice
[ 2.669292] usbcore: registered new interface driver xpad
[ 2.804023] max77686-rtc max77620-rtc: rtc core: registered max77620-rtc as rtc0
[ 2.805788] Wake73 for irq=42
[ 2.807201] rtc rtc1: alarm rtc device
[ 2.807218] tegra_rtc c2a0000.rtc: rtc core: registered c2a0000.rtc as rtc1
[ 2.807289] tegra_rtc c2a0000.rtc: Tegra internal Real Time Clock
[ 2.807456] i2c /dev entries driver
[ 2.809859] pca954x 2-0070: vcc-pullup regulator not found
[ 2.809878] pca954x 2-0070: pca954x_probe: could not read force bus number
[ 2.809884] pca954x 2-0070: device detect skipped.
[ 2.811118] i2c i2c-2: Added multiplexed i2c bus 9
[ 2.812151] i2c i2c-2: Added multiplexed i2c bus 10
[ 2.812669] i2c i2c-2: Added multiplexed i2c bus 11
[ 2.813007] i2c i2c-2: Added multiplexed i2c bus 12
[ 2.813016] pca954x 2-0070: registered 4 multiplexed busses for I2C mux pca9544
[ 2.814155] max9295 9-0062: [MAX9295]: probing GMSL IO Expander
[ 2.814241] max9295 9-0062: max9295_probe: success
[ 2.814312] max9295 9-0040: [MAX9295]: probing GMSL IO Expander
[ 2.814381] max9295 9-0040: max9295_probe: success
[ 2.814417] max9295 9-0060: [MAX9295]: probing GMSL IO Expander
[ 2.814491] max9295 9-0060: max9295_probe: success
[ 2.814526] max9295 10-0062: [MAX9295]: probing GMSL IO Expander
[ 2.814591] max9295 10-0062: max9295_probe: success
[ 2.814623] max9295 10-0040: [MAX9295]: probing GMSL IO Expander
[ 2.814681] max9295 10-0040: max9295_probe: success
[ 2.814712] max9295 10-0060: [MAX9295]: probing GMSL IO Expander
[ 2.814788] max9295 10-0060: max9295_probe: success
[ 2.814880] max9296 9-0048: [MAX9296]: probing GMSL IO expander
[ 2.814991] max9296 9-0048: reset-gpios not found 0
[ 2.814997] max9296 9-0048: unable to parse dt
[ 2.815137] max9296 10-0048: [MAX9296]: probing GMSL IO expander
[ 2.815226] max9296 10-0048: reset-gpios not found 0
[ 2.815232] max9296 10-0048: unable to parse dt
[ 2.815506] imx390 9-001b: probing v4l2 sensor.
[ 2.816048] imx390 9-001b: tegracam sensor driver:imx390_v2.0.6
[ 2.816083] imx390 9-001b: missing deserializer driver
[ 2.816088] imx390 9-001b: board setup failed
[ 2.816094] max9295 9-0040: max9295_sdev_pair: invalid input params
[ 2.816100] imx390 9-001b: gmsl ser pairing failed
[ 2.816198] imx390: probe of 9-001b failed with error -22
[ 2.816283] imx390 9-001c: probing v4l2 sensor.
[ 2.816531] imx390 9-001c: couldn’t create debugfs
[ 2.816541] imx390 9-001c: tegracam sensor driver:imx390_v2.0.6
[ 2.816573] imx390 9-001c: missing deserializer driver
[ 2.816578] imx390 9-001c: board setup failed
[ 2.816584] max9295 9-0060: max9295_sdev_pair: invalid input params
[ 2.816589] imx390 9-001c: gmsl ser pairing failed
[ 2.816686] imx390: probe of 9-001c failed with error -22
[ 2.816736] imx390 10-001b: probing v4l2 sensor.
[ 2.816951] imx390 10-001b: tegracam sensor driver:imx390_v2.0.6
[ 2.816984] imx390 10-001b: missing deserializer driver
[ 2.816989] imx390 10-001b: board setup failed
[ 2.816995] max9295 10-0040: max9295_sdev_pair: invalid input params
[ 2.817000] imx390 10-001b: gmsl ser pairing failed
[ 2.817090] imx390: probe of 10-001b failed with error -22
[ 2.817132] imx390 10-001c: probing v4l2 sensor.
[ 2.817320] imx390 10-001c: couldn’t create debugfs
[ 2.817328] imx390 10-001c: tegracam sensor driver:imx390_v2.0.6
[ 2.817360] imx390 10-001c: missing deserializer driver
[ 2.817365] imx390 10-001c: board setup failed
[ 2.817371] max9295 10-0060: max9295_sdev_pair: invalid input params
[ 2.817376] imx390 10-001c: gmsl ser pairing failed
[ 2.817505] imx390: probe of 10-001c failed with error -22
[ 2.818060] max77620-power max20024-power: Event recorder REG_NVERC : 0x40
[ 2.827095] tegra-thermal-throttle bthrot_cdev: clk:cpu max:1907200000, min:115200000 steps:24
[ 2.831622] tegra-thermal-throttle bthrot_cdev: clk:gpu max:1109250000, min:114750000 steps:10
[ 2.831660] tegra-thermal-throttle bthrot_cdev: cdev:skin-balanced clk:0:cpu off:0 slope-adj:200
[ 2.831668] tegra-thermal-throttle bthrot_cdev: cdev:skin-balanced clk:1:gpu off:0 slope-adj:400
[ 2.831789] tegra-thermal-throttle bthrot_cdev: cdev:skin-balanced max_state:48 cutoff:0
[ 2.831889] tegra-thermal-throttle bthrot_cdev: cdev:gpu-balanced clk:0:cpu off:0 slope-adj:400
[ 2.831897] tegra-thermal-throttle bthrot_cdev: cdev:gpu-balanced clk:1:gpu off:0 slope-adj:400
[ 2.832383] tegra-thermal-throttle bthrot_cdev: cdev:gpu-balanced max_state:40 cutoff:1
[ 2.832501] tegra-thermal-throttle bthrot_cdev: cdev:cpu-balanced clk:0:cpu off:0 slope-adj:200
[ 2.832509] tegra-thermal-throttle bthrot_cdev: cdev:cpu-balanced clk:1:gpu off:365500000 slope-adj:300
[ 2.832823] tegra-thermal-throttle bthrot_cdev: cdev:cpu-balanced max_state:48 cutoff:0
[ 2.832917] tegra-thermal-throttle bthrot_cdev: cdev:emergency-balanced clk:0:cpu off:38400000 slope-adj:10
[ 2.832925] tegra-thermal-throttle bthrot_cdev: cdev:emergency-balanced clk:1:gpu off:25500000 slope-adj:10
[ 2.833322] tegra-thermal-throttle bthrot_cdev: cdev:emergency-balanced max_state:2 cutoff:0
[ 2.833410] tegra-thermal-throttle bthrot_cdev: cdev:aux-balanced clk:0:cpu off:0 slope-adj:400
[ 2.833418] tegra-thermal-throttle bthrot_cdev: cdev:aux-balanced clk:1:gpu off:0 slope-adj:400
[ 2.833773] tegra-thermal-throttle bthrot_cdev: cdev:aux-balanced max_state:40 cutoff:1
[ 2.834425] FAN dev name: pwm-fan
[ 2.834487] FAN:gpio request success.
[ 2.834502] FAN: can’t find tach_gpio
[ 2.834521] pwm_fan_driver pwm-fan: Found 2 profiles, default profile is quiet
[ 2.834567] pwm_fan_driver pwm-fan: cap state:4, cap pwm:255
[ 2.834892] pwm_fan_driver pwm-fan: got pwm for fan. polarity is normal
[ 2.834899] pwm_fan_driver pwm-fan: tach period: 1000
[ 2.835318] pwm_fan_driver pwm-fan: index 0: pwm=0, rpm=0, rru=40, rrd=40, state:2
[ 2.835326] pwm_fan_driver pwm-fan: index 1: pwm=130, rpm=1000, rru=2, rrd=2, state:2
[ 2.835333] pwm_fan_driver pwm-fan: index 2: pwm=160, rpm=2000, rru=1, rrd=1, state:2
[ 2.835340] pwm_fan_driver pwm-fan: index 3: pwm=200, rpm=3000, rru=1, rrd=1, state:2
[ 2.835346] pwm_fan_driver pwm-fan: index 4: pwm=255, rpm=4000, rru=1, rrd=1, state:3
[ 2.835352] pwm_fan_driver pwm-fan: index 5: pwm=255, rpm=5000, rru=1, rrd=1, state:3
[ 2.835359] pwm_fan_driver pwm-fan: index 6: pwm=255, rpm=6000, rru=1, rrd=1, state:3
[ 2.835365] pwm_fan_driver pwm-fan: index 7: pwm=255, rpm=7000, rru=1, rrd=1, state:4
[ 2.835373] pwm_fan_driver pwm-fan: index 8: pwm=255, rpm=10000, rru=1, rrd=1, state:4
[ 2.835380] pwm_fan_driver pwm-fan: index 9: pwm=255, rpm=11000, rru=1, rrd=1, state:4
[ 2.836919] device-mapper: uevent: version 1.0.3
[ 2.837638] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
[ 2.841768] tegra194_cpufreq_probe: platform driver Initialization: pass
[ 2.843076] cpuidle: Initializing cpuidle driver
[ 2.844112] sdhci: Secure Digital Host Controller Interface driver
[ 2.844115] sdhci: Copyright(c) Pierre Ossman
[ 2.844118] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.845430] sdhci-tegra 3460000.sdhci: Client registration for eMC Successful
[ 2.847567] CMDQ: cmdq_platfm_init successful
[ 2.852690] tegra-se-elp 3ad0000.se_elp: tegra_se_elp_probe: complete
[ 2.854402] tegra-se-nvhost 15810000.se: initialized
[ 2.855695] tegra-se-nvhost 15810000.se: tegra_se_probe: complete
[ 2.856748] tegra-se-nvhost 15820000.se: initialized
[ 2.858125] tegra-se-nvhost 15820000.se: tegra_se_probe: complete
[ 2.858815] tegra-se-nvhost 15830000.se: initialized
[ 2.859571] tegra-se-nvhost 15830000.se: tegra_se_probe: complete
[ 2.860596] tegra-se-nvhost 15840000.se: initialized
[ 2.861657] tegra-se-nvhost 15840000.se: tegra_se_probe: complete
[ 2.861861] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.863492] usbcore: registered new interface driver usbhid
[ 2.863494] usbhid: USB HID core driver
[ 2.867631] tegra186-cam-rtcpu bc00000.rtcpu: deferring, 14800000.isp is not probed
[ 2.868756] tegra_aon c1a0000.aon: tegra aon driver probe OK
[ 2.869164] tegra186-aondbg aondbg: aondbg driver probe() OK
[ 2.869729] denver_knobs_init:MTS_VERSION:45309758
[ 2.869887] tegra19x_actmon d230000.actmon: in actmon_register()…
[ 2.870579] tegra19x_actmon d230000.actmon: initialization Completed for the device mc_all
[ 2.870921] t19x_cache tegra-cache: probed
[ 2.872951] misc nvmap: cvsram :dma coherent mem declare 0x0000000050000000,4194304
[ 2.872958] misc nvmap: created heap cvsram base 0x0000000050000000 size (4096KiB)
[ 2.873450] carmel-pmu-drv carmel-pmu: Registered Carmel PMU
[ 2.875335] nvpmodel: initialized successfully
[ 2.876526] trusty-virtio trusty:virtio: initializing
[ 2.876746] trusty_ipc virtio0: vring0: va¶ ffffffc1e2b02000(0) qsz 32 notifyid 1
[ 2.876754] trusty_ipc virtio0: vring1: va¶ ffffffc1e2b04000(0) qsz 32 notifyid 2
[ 2.876883] trusty-virtio trusty:virtio: initializing done
[ 2.877123] trusty_ipc virtio0: is online
[ 2.877681] tegra-hda 3510000.hda: Override SDO lines to 4
[ 2.878147] usbcore: registered new interface driver snd-usb-audio
[ 2.888314] mmc0: SDHCI controller on 3460000.sdhci [3460000.sdhci] using ADMA 64-bit with 64 bit addr
[ 2.899881] input: tegra-hda-galen-t194 HDMI/DP,pcm=3 as /devices/3510000.hda/sound/card0/input0
[ 2.900084] input: tegra-hda-galen-t194 HDMI/DP,pcm=7 as /devices/3510000.hda/sound/card0/input1
[ 2.900327] input: tegra-hda-galen-t194 HDMI/DP,pcm=8 as /devices/3510000.hda/sound/card0/input2
[ 2.900545] input: tegra-hda-galen-t194 HDMI/DP,pcm=9 as /devices/3510000.hda/sound/card0/input3
[ 2.934321] mmc0: mmc_decode_ext_csd: CMDQ supported: depth: 31, cmdq_support: 1
[ 2.947542] mmc0: periodic cache flush enabled
[ 2.947558] mmc0: new HS400 Enhanced strobe MMC card at address 0001
[ 2.948257] mmcblk0: mmc0:0001 DG4016 14.7 GiB
[ 2.952565] mmcblk0boot0: mmc0:0001 DG4016 partition 1 4.00 MiB
[ 2.952840] mmcblk0boot1: mmc0:0001 DG4016 partition 2 4.00 MiB
[ 2.953096] mmcblk0rpmb: mmc0:0001 DG4016 partition 3 4.00 MiB
[ 2.954401] OPE platform probe
[ 2.954524] OPE platform probe successful
[ 2.956540] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10
[ 2.959194] tegra-asoc: sound: Reset control is not found, err: -2
[ 2.959234] tegra-asoc:: probe of sound failed with error -2
[ 2.960129] u32 classifier
[ 2.960131] Actions configured
[ 2.960413] Initializing XFRM netlink socket
[ 2.961073] NET: Registered protocol family 10
[ 2.961848] NET: Registered protocol family 17
[ 2.961860] NET: Registered protocol family 15
[ 2.961923] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 2.962040] Bluetooth: RFCOMM socket layer initialized
[ 2.962051] Bluetooth: RFCOMM ver 1.11
[ 2.962058] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2.962063] Bluetooth: HIDP socket layer initialized
[ 2.962079] 9pnet: Installing 9P2000 support
[ 2.962117] Key type dns_resolver registered
[ 2.962365] Registered cp15_barrier emulation handler
[ 2.962385] Registered setend emulation handler
[ 2.964634] registered taskstats version 1
[ 2.965035] tegra-pcie-dw 14160000.pcie: Setting init speed to max speed
[ 2.965965] OF: PCI: host bridge /pcie@14160000 ranges:
[ 2.965984] OF: PCI: IO 0x36100000…0x361fffff → 0x36100000
[ 2.965992] OF: PCI: MEM 0x1740000000…0x17ffffffff → 0x40000000
[ 2.965997] OF: PCI: MEM 0x1400000000…0x173fffffff → 0x1400000000
[ 2.992278] usb 1-3: new high-speed USB device number 2 using tegra-xusb
[ 3.013314] usb 1-3: New USB device found, idVendor=0424, idProduct=4206
[ 3.013320] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.013323] usb 1-3: Product: USB4206 Smart Hub
[ 3.013327] usb 1-3: Manufacturer: Microchip
[ 3.014174] hub 1-3:1.0: USB hub found
[ 3.014266] hub 1-3:1.0: 7 ports detected
[ 3.152308] tegra_cec 3960000.tegra_cec: physical address: 10:00.
[ 3.216841] tegra_cec 3960000.tegra_cec: Sent res: -113.
[ 3.216847] tegra_cec 3960000.tegra_cec: tegra_cec_init Done.
[ 3.300297] usb 1-3.3: new low-speed USB device number 3 using tegra-xusb
[ 3.324103] usb 1-3.3: New USB device found, idVendor=0461, idProduct=4d15
[ 3.324109] usb 1-3.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 3.324113] usb 1-3.3: Product: USB Optical Mouse
[ 3.326974] input: USB Optical Mouse as /devices/3610000.xhci/usb1/1-3/1-3.3/1-3.3:1.0/0003:0461:4D15.0001/input/input4
[ 3.327333] hid-generic 0003:0461:4D15.0001: input,hidraw0: USB HID v1.11 Mouse [USB Optical Mouse] on usb-3610000.xhci-3.3/input0
[ 3.404294] usb 1-3.4: new low-speed USB device number 4 using tegra-xusb
[ 3.440425] usb 1-3.4: New USB device found, idVendor=413c, idProduct=2105
[ 3.440432] usb 1-3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.440435] usb 1-3.4: Product: Dell USB Keyboard
[ 3.440438] usb 1-3.4: Manufacturer: Dell
[ 3.457597] input: Dell Dell USB Keyboard as /devices/3610000.xhci/usb1/1-3/1-3.4/1-3.4:1.0/0003:413C:2105.0002/input/input5
[ 3.482394] tegra-pcie-dw 14160000.pcie: link is down
[ 3.482595] tegra-pcie-dw 14160000.pcie: PCI host bridge to bus 0004:00
[ 3.482611] pci_bus 0004:00: root bus resource [bus 00-ff]
[ 3.482622] pci_bus 0004:00: root bus resource [io 0x0000-0xfffff] (bus address [0x36100000-0x361fffff])
[ 3.482628] pci_bus 0004:00: root bus resource [mem 0x1740000000-0x17ffffffff] (bus address [0x40000000-0xffffffff])
[ 3.482632] pci_bus 0004:00: root bus resource [mem 0x1400000000-0x173fffffff pref]
[ 3.482663] pci 0004:00:00.0: [10de:1ad1] type 01 class 0x060400
[ 3.482832] pci 0004:00:00.0: PME# supported from D0 D3hot D3cold
[ 3.483105] iommu: Adding device 0004:00:00.0 to group 58
[ 3.483374] pci 0004:00:00.0: PCI bridge to [bus 01-ff]
[ 3.483397] pci 0004:00:00.0: Max Payload Size set to 256/ 256 (was 256), Max Read Rq 512
[ 3.483657] pcieport 0004:00:00.0: Signaling PME through PCIe PME interrupt
[ 3.483663] pcie_pme 0004:00:00.0:pcie001: service driver pcie_pme loaded
[ 3.483774] aer 0004:00:00.0:pcie002: service driver aer loaded
[ 3.483937] pcie_pme 0004:00:00.0:pcie001: unloading service driver pcie_pme
[ 3.483980] aer 0004:00:00.0:pcie002: unloading service driver aer
[ 3.484064] pci_bus 0004:01: busn_res: [bus 01-ff] is released
[ 3.484165] iommu: Removing device 0004:00:00.0 from group 58
[ 3.484193] pci_bus 0004:00: busn_res: [bus 00-ff] is released
[ 3.485952] tegra-pcie-dw 14160000.pcie: PCIe link is not up…!
[ 3.486934] tegra-pcie-dw 141a0000.pcie: Setting init speed to max speed
[ 3.488060] OF: PCI: host bridge /pcie@141a0000 ranges:
[ 3.488079] OF: PCI: IO 0x3a100000…0x3a1fffff → 0x3a100000
[ 3.488089] OF: PCI: MEM 0x1f40000000…0x1fffffffff → 0x40000000
[ 3.488094] OF: PCI: MEM 0x1c00000000…0x1f3fffffff → 0x1c00000000
[ 3.517084] hid-generic 0003:413C:2105.0002: input,hidraw1: USB HID v1.10 Keyboard [Dell Dell USB Keyboard] on usb-3610000.xhci-3.4/input0
[ 3.568684] FAN rising trip_level:1 cur_temp:48400 trip_temps[2]:60000
[ 3.596295] usb 1-3.7: new high-speed USB device number 5 using tegra-xusb
[ 3.617728] usb 1-3.7: New USB device found, idVendor=0424, idProduct=724a
[ 3.617734] usb 1-3.7: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.617737] usb 1-3.7: Product: USB2 Controller Hub
[ 3.617740] usb 1-3.7: Manufacturer: Microchip Tech
[ 4.004542] tegra-pcie-dw 141a0000.pcie: link is down
[ 4.004785] tegra-pcie-dw 141a0000.pcie: PCI host bridge to bus 0005:00
[ 4.004792] pci_bus 0005:00: root bus resource [bus 00-ff]
[ 4.004800] pci_bus 0005:00: root bus resource [io 0x100000-0x1fffff] (bus address [0x3a100000-0x3a1fffff])
[ 4.004805] pci_bus 0005:00: root bus resource [mem 0x1f40000000-0x1fffffffff] (bus address [0x40000000-0xffffffff])
[ 4.004809] pci_bus 0005:00: root bus resource [mem 0x1c00000000-0x1f3fffffff pref]
[ 4.004839] pci 0005:00:00.0: [10de:1ad0] type 01 class 0x060400
[ 4.005002] pci 0005:00:00.0: PME# supported from D0 D3hot D3cold
[ 4.005273] iommu: Adding device 0005:00:00.0 to group 58
[ 4.005628] pci 0005:00:00.0: PCI bridge to [bus 01-ff]
[ 4.005649] pci 0005:00:00.0: Max Payload Size set to 256/ 256 (was 256), Max Read Rq 512
[ 4.005943] pcieport 0005:00:00.0: Signaling PME through PCIe PME interrupt
[ 4.005949] pcie_pme 0005:00:00.0:pcie001: service driver pcie_pme loaded
[ 4.006088] aer 0005:00:00.0:pcie002: service driver aer loaded
[ 4.006299] pcie_pme 0005:00:00.0:pcie001: unloading service driver pcie_pme
[ 4.006404] aer 0005:00:00.0:pcie002: unloading service driver aer
[ 4.006494] pci_bus 0005:01: busn_res: [bus 01-ff] is released
[ 4.006628] iommu: Removing device 0005:00:00.0 from group 58
[ 4.006661] pci_bus 0005:00: busn_res: [bus 00-ff] is released
[ 4.008568] tegra-pcie-dw 141a0000.pcie: PCIe link is not up…!
[ 4.019999] tegra-cbb 14040000.cv-noc: noc_secure_irq = 90, noc_nonsecure_irq = 89>
[ 4.024950] gpiochip_setup_dev: registered GPIOs 224 to 239 on device: gpiochip3 (tca9539)
[ 4.027112] tegra194-isp5 14800000.isp: initialized
[ 4.038538] tegra194-vi5 15c10000.vi: initialized
[ 4.043524] tegra194-vi5 15c10000.vi: subdev 15a00000.nvcsi–4 bound
[ 4.043589] tegra194-vi5 15c10000.vi: subdev 15a00000.nvcsi–3 bound
[ 4.043640] tegra194-vi5 15c10000.vi: subdev 15a00000.nvcsi–2 bound
[ 4.043689] tegra194-vi5 15c10000.vi: subdev 15a00000.nvcsi–1 bound
[ 4.043772] max9296 9-0048: [MAX9296]: probing GMSL IO expander
[ 4.043839] max9296 9-0048: max9296_probe: success
[ 4.043889] max9296 10-0048: [MAX9296]: probing GMSL IO expander
[ 4.043933] max9296 10-0048: max9296_probe: success
[ 4.044864] tegra186-cam-rtcpu bc00000.rtcpu: Trace buffer configured at IOVA=0xbff00000
[ 4.127465] tegra-ivc ivc-bc00000.rtcpu: region 0: iova=0xbfee0000-0xbfefffff size=131072
[ 4.127897] tegra-ivc ivc-bc00000.rtcpu:echo@0: echo: ver=0 grp=1 RX[16x64]=0x1000-0x1480 TX[16x64]=0x1480-0x1900
[ 4.128127] tegra-ivc ivc-bc00000.rtcpu:dbg@1: dbg: ver=0 grp=1 RX[1x384]=0x1900-0x1b00 TX[1x384]=0x1b00-0x1d00
[ 4.128465] tegra-ivc ivc-bc00000.rtcpu:dbg@2: dbg: ver=0 grp=1 RX[1x8192]=0x1d00-0x3d80 TX[1x8192]=0x3d80-0x5e00
[ 4.128964] tegra-ivc ivc-bc00000.rtcpu:ivccontrol@3: ivccontrol: ver=0 grp=1 RX[64x320]=0x5e00-0xae80 TX[64x320]=0xae80-0xff00
[ 4.129065] tegra-ivc ivc-bc00000.rtcpu:ivccapture@4: ivccapture: ver=0 grp=1 RX[512x64]=0xff00-0x17f80 TX[512x64]=0x17f80-0x20000
[ 4.129326] tegra186-cam-rtcpu bc00000.rtcpu: using cam RTCPU IRQ (66)
[ 4.129329] tegra186-cam-rtcpu bc00000.rtcpu: tegra_camrtc_mon_create is successful
[ 4.130568] tegra186-cam-rtcpu bc00000.rtcpu: firmware version cpu=rce cmd=5 sha1=cf2bef3ad10e437272857b76308abef8ffb80bda
[ 4.131157] gpio tegra-gpio wake67 for gpio=48(G:0)
[ 4.131227] gpio tegra-gpio-aon wake29 for gpio=36(EE:4)
[ 4.131379] input: gpio-keys as /devices/gpio-keys/input/input6
[ 4.165328] tegra_rtc c2a0000.rtc: setting system clock to 2000-01-01 01:00:14 UTC (946688414)
[ 4.165812] mmcblk mmc0:0001: Card claimed for testing.
[ 4.210785] bpmp: mounted debugfs mirror
[ 4.216918] vdd-sdmmc1-sw: disabling
[ 4.216921] vdd-1v8-sd: disabling
[ 4.216925] vdd-epb-1v0: disabling
[ 4.216927] avdd-cam-2v8: disabling
[ 4.216930] vdd_sys_en: disabling
[ 4.216936] ALSA device list:
[ 4.216939] #0: tegra-hda-galen-t194 at 0x3518000 irq 65
[ 4.216942] #1: Microchip Tech USB2 Controller Hub at usb-3610000.xhci-3.7, high speed
[ 4.626107] extcon-disp-state external-connection:disp-state: cable 51 state 1
[ 4.626111] Extcon HDMI: HPD enabled
[ 4.626130] tegradc 15200000.nvdisplay: hdmi: plugged
[ 4.628164] Freeing unused kernel memory: 8640K
[ 4.666612] Root device found: mmcblk0p1
[ 4.667954] Found dev node: /dev/mmcblk0p1
[ 4.852309] EXT4-fs (mmcblk0p1): recovery complete
[ 4.853093] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[ 4.854387] Rootfs mounted over mmcblk0p1
[ 4.876400] Switching from initrd to actual rootfs
[ 4.976941] systemd[1]: System time before build time, advancing clock.
[ 4.997203] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 5.001618] cgroup: cgroup2: unknown option “nsdelegate”
[ 5.013776] systemd[1]: systemd 237 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)
[ 5.014528] systemd[1]: Detected architecture arm64.
[ 5.020939] systemd[1]: No hostname configured.
[ 5.020979] systemd[1]: Set hostname to .
[ 5.114668] systemd[1]: File /lib/systemd/system/systemd-journald.service:35 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[ 5.114683] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[ 5.286290] random: systemd: uninitialized urandom read (16 bytes read)
[ 5.286773] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 5.287018] random: systemd: uninitialized urandom read (16 bytes read)
[ 5.290740] systemd[1]: Created slice System Slice.
[ 5.290854] random: systemd: uninitialized urandom read (16 bytes read)
[ 5.291066] systemd[1]: Listening on udev Kernel Socket.
[ 5.291618] systemd[1]: Listening on Journal Audit Socket.
[ 5.325449] gpio tegra-gpio wake44 for gpio=192(Y:0)
[ 5.360363] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
[ 5.398208] nvgpu: 17000000.gv11b nvgpu_nvhost_syncpt_init:291 [INFO] syncpt_unit_base 60000000 syncpt_unit_size 400000 size 1000

[ 5.902008] systemd-journald[2301]: Received request to flush runtime journal from PID 1
[ 6.584578] using random self ethernet address
[ 6.584751] using random host ethernet address
[ 6.724931] random: crng init done
[ 6.725073] random: 7 urandom warning(s) missed due to ratelimiting
[ 6.832765] Wake76 for irq=199
[ 6.832772] Wake77 for irq=199
[ 6.832777] Wake78 for irq=199
[ 6.832780] Wake79 for irq=199
[ 6.832783] Wake80 for irq=199
[ 6.832785] Wake81 for irq=199
[ 6.832788] Wake82 for irq=199
[ 6.832835] tegra-xusb 3610000.xhci: Upgrade port 0 to USB3.0
[ 6.832840] tegra-xusb 3610000.xhci: Upgrade port 1 to USB3.0
[ 6.932636] usb usb2: usb_suspend_both: status 0
[ 12.845334] Please complete system configuration setup on desktop to proceed…
[ 13.485986] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 13.705050] gpio tegra-gpio wake20 for gpio=52(G:4)
[ 13.713290] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 16.461616] eqos 2490000.ether_qos eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 16.462729] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 19.206592] tegradc 15200000.nvdisplay: blank - powerdown
[ 19.264648] extcon-disp-state external-connection:disp-state: cable 47 state 0
[ 19.264651] Extcon AUX1(HDMI) disable
[ 19.287249] tegra_nvdisp_handle_pd_disable: Powergated Head1 pd
[ 19.287755] tegra_nvdisp_handle_pd_disable: Powergated Head0 pd
[ 19.287977] tegradc 15200000.nvdisplay: unblank
[ 19.288776] tegra_nvdisp_handle_pd_enable: Unpowergated Head0 pd
[ 19.288886] tegra_nvdisp_handle_pd_enable: Unpowergated Head1 pd
[ 19.290514] Parent Clock set for DC plld2
[ 19.295488] tegradc 15200000.nvdisplay: hdmi: tmds rate:148500K prod-setting:prod_c_hdmi_111m_223m
[ 19.297451] tegradc 15200000.nvdisplay: hdmi: get RGB quant from EDID.
[ 19.297477] tegradc 15200000.nvdisplay: hdmi: get YCC quant from EDID.
[ 19.332860] extcon-disp-state external-connection:disp-state: cable 47 state 1
[ 19.332863] Extcon AUX1(HDMI) enable
[ 19.332922] tegradc 15200000.nvdisplay: unblank
[ 19.332936] tegradc 15210000.nvdisplay: blank - powerdown
[ 20.453736] fuse init (API version 7.26)
[ 21.527941] tegradc 15200000.nvdisplay: unblank
[ 21.527955] tegradc 15210000.nvdisplay: blank - powerdown
[ 134.583956] tegradc 15200000.nvdisplay: blank - powerdown
[ 134.647744] extcon-disp-state external-connection:disp-state: cable 47 state 0
[ 134.647747] Extcon AUX1(HDMI) disable
[ 134.670192] tegra_nvdisp_handle_pd_disable: Powergated Head1 pd
[ 134.670945] tegra_nvdisp_handle_pd_disable: Powergated Head0 pd
[ 134.671127] tegradc 15210000.nvdisplay: blank - powerdown
[ 134.680869] tegradc 15200000.nvdisplay: blank - powerdown
[ 134.680894] tegradc 15200000.nvdisplay: unblank
[ 134.682242] tegra_nvdisp_handle_pd_enable: Unpowergated Head0 pd
[ 134.682436] tegra_nvdisp_handle_pd_enable: Unpowergated Head1 pd
[ 134.685794] Parent Clock set for DC plld2
[ 134.691153] tegradc 15200000.nvdisplay: hdmi: tmds rate:148500K prod-setting:prod_c_hdmi_111m_223m
[ 134.692731] tegradc 15200000.nvdisplay: hdmi: get RGB quant from EDID.
[ 134.692759] tegradc 15200000.nvdisplay: hdmi: get YCC quant from EDID.
[ 134.730334] extcon-disp-state external-connection:disp-state: cable 47 state 1
[ 134.730338] Extcon AUX1(HDMI) enable
[ 140.743718] using random self ethernet address
[ 140.747240] using random host ethernet address
[ 147.191779] ras_fhi_disable: FHI 470 disabled
[ 147.193092] CPU1: shutdown
[ 147.198281] psci: CPU1 killed.
[ 147.243044] ras_fhi_disable: FHI 471 disabled
[ 147.243875] CPU2: shutdown
[ 147.247969] psci: CPU2 killed.
[ 147.324547] using random self ethernet address
[ 147.327223] using random host ethernet address
[ 147.383288] zram: Added device: zram0
[ 147.389602] zram: Added device: zram1
[ 147.407376] zram: Added device: zram2
[ 147.409536] zram: Added device: zram3
[ 147.443503] zram0: detected capacity change from 0 to 1017556992
[ 147.495607] Adding 993704k swap on /dev/zram0. Priority:5 extents:1 across:993704k SS
[ 147.504637] zram1: detected capacity change from 0 to 1017556992
[ 147.522632] Adding 993704k swap on /dev/zram1. Priority:5 extents:1 across:993704k SS
[ 147.527346] zram2: detected capacity change from 0 to 1017556992
[ 147.547144] Adding 993704k swap on /dev/zram2. Priority:5 extents:1 across:993704k SS
[ 147.551873] zram3: detected capacity change from 0 to 1017556992
[ 147.570890] Adding 993704k swap on /dev/zram3. Priority:5 extents:1 across:993704k SS
[ 149.359491] tegradc 15200000.nvdisplay: blank - powerdown
[ 149.426349] extcon-disp-state external-connection:disp-state: cable 47 state 0
[ 149.426352] Extcon AUX1(HDMI) disable
[ 149.450793] tegra_nvdisp_handle_pd_disable: Powergated Head1 pd
[ 149.452072] tegra_nvdisp_handle_pd_disable: Powergated Head0 pd
[ 149.452284] tegradc 15200000.nvdisplay: unblank
[ 149.453006] tegra_nvdisp_handle_pd_enable: Unpowergated Head0 pd
[ 149.453115] tegra_nvdisp_handle_pd_enable: Unpowergated Head1 pd
[ 149.454940] Parent Clock set for DC plld2
[ 149.459104] tegradc 15200000.nvdisplay: hdmi: tmds rate:148500K prod-setting:prod_c_hdmi_111m_223m
[ 149.460435] tegradc 15200000.nvdisplay: hdmi: get RGB quant from EDID.
[ 149.460460] tegradc 15200000.nvdisplay: hdmi: get YCC quant from EDID.
[ 149.495220] extcon-disp-state external-connection:disp-state: cable 47 state 1
[ 149.495223] Extcon AUX1(HDMI) enable
[ 149.495277] tegradc 15200000.nvdisplay: unblank
[ 149.495289] tegradc 15210000.nvdisplay: blank - powerdown
[ 165.872674] tegradc 15200000.nvdisplay: blank - powerdown
[ 165.928090] extcon-disp-state external-connection:disp-state: cable 47 state 0
[ 165.928105] Extcon AUX1(HDMI) disable
[ 165.952393] tegra_nvdisp_handle_pd_disable: Powergated Head1 pd
[ 165.953762] tegra_nvdisp_handle_pd_disable: Powergated Head0 pd
[ 165.954245] tegradc 15210000.nvdisplay: blank - powerdown
[ 166.126935] tegradc 15200000.nvdisplay: blank - powerdown
[ 166.126967] tegradc 15200000.nvdisplay: unblank
[ 166.128343] tegra_nvdisp_handle_pd_enable: Unpowergated Head0 pd
[ 166.128533] tegra_nvdisp_handle_pd_enable: Unpowergated Head1 pd
[ 166.131536] Parent Clock set for DC plld2
[ 166.139942] tegradc 15200000.nvdisplay: hdmi: tmds rate:148500K prod-setting:prod_c_hdmi_111m_223m
[ 166.141465] tegradc 15200000.nvdisplay: hdmi: get RGB quant from EDID.
[ 166.141472] tegradc 15200000.nvdisplay: hdmi: get YCC quant from EDID.
[ 166.178217] extcon-disp-state external-connection:disp-state: cable 47 state 1
[ 166.178220] Extcon AUX1(HDMI) enable
[ 166.178295] tegradc 15200000.nvdisplay: unblank
[ 166.178307] tegradc 15210000.nvdisplay: blank - powerdown
[ 171.405117] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 171.405137] Bluetooth: BNEP socket layer initialized
[ 171.762703] tegradc 15200000.nvdisplay: unblank
[ 171.762718] tegradc 15210000.nvdisplay: blank - powerdown

Hi,

Glad to hear GPIO14 can work now. We will investigate why GPIO7 cannot work. Similar issue seems happen on Nano too.

Hi sgamu,
The registers you mentioned are not for the pins you are using:
pinmux.0x0243d038 = 0x00000410; # gp_pwm2_px2: gp, tristate-enable, input-disable, lpdr-disable
but the value of GPIO7 is:
pinmux.0x0243d030 = 0x00000415; # gp_pwm3_px3: rsvd1, pull-down, tristate-enable, input-disable, lpdr-disable. So I changed GPIO7 to
pinmux.0x0243d030 = 0x00000410; # gp_pwm3_px3: gp, tristate-enable, input-disable, lpdr-disable


Also GPIO 7 is PWM 8 and GPIO14 is PWM5
I am not sure how you are seeing GPIO14 is working.
The correct pinmux registers are:
gpio7:
pinmux.0x02430040 = 0x00000056; # soc_gpio44_pr0: rsvd2, pull-down, tristate-enable, input-enable, io_high_voltage-disable, lpdr-disable
gpio14:
pinmux.0x02434090 = 0x00000414; # soc_gpio12_ph0: rsvd0, pull-down, tristate-enable, input-disable, lpdr-disable

Can you please change value to 0x455 in both the registers and check PWM signals?

Thanks,
Shubhi

I made the changes you recommended but nothing changed. GPIO 14 still shows as a PWM signal on the oscilloscope, but GPIO7 stays at 0. The changes were made in this cfg file: tegra19x-mb1-pinmux-p3668-a01.cfg. The file exists in 2 places, so both were modified. See the changes below:

pinmux.0x02430040 = 0x00000455; # NVIDIA says GPIO7 = PWM8
pinmux.0x02434090 = 0x00000455; # NVIDIA says GPIO14 = PWM5

On the pinmux spreadsheet, GPIO07 is the same as GP_PWM8, but GPIO14 is GP_PW6.

I believe this is what GPIO7 should be:
pinmux.0x02430040 = 0x00000401; # soc_gpio44_pr0: gp, tristate-disable, input-disable, lpdr-disable

because GPIO14 is actually this:
pinmux.0x02434098 = 0x00000401; # soc_gpio13_ph1: gp, tristate-disable, input-disable, lpdr-disable

I was wondering if I can get more insight/input from NVIDIA as the suggestions above don’t work. Comparing the pinmux configuration spreadsheet to the pinmux.cfg file, I am certain that the register for GPIO14/PWM6 is 0x02434098 while the register for GPIO7/PWM8 is 0x02430040.

Like I said earlier, GPIO14/PWM6 works by default without any alterations, but GPIO7/PWM8 stays low when it is assigned the same value as GPIO14/PWM6 e.g. 0x455, 0x401, 0x409, 0x405, GPIO7/PWM8 never works. The value change to GPIO14/PWM6 however only seems to affect the starting duty_cycle/ cur_pwm value i.e. is it 130 or 0.

Since all the nodes pertaining to PWM are blank (i.e. it says status= “okay”) on the device tree, I was wondering if there would need to be a device tree change for a particular node from those shown below? Else could someone please give me other suggestions about geting GPIO7/PWM8 to work?

pwm@3280000 {
status = “okay”;
};

pwm@32c0000 {
status = “okay”;
};

pwm@32d0000 {
status = “okay”;
};

pwm@32f0000 {
status = “okay”;
};
pwm@c340000 {
status = “okay”;
};

Hi sgamu,
As I mentioned above, correct registers are:
gpio7:(Pin 32 on 40-pin header)
pinmux.0x02430040 = 0x00000056; # soc_gpio44_pr0: rsvd2, pull-down, tristate-enable, input-enable, io_high_voltage-disable, lpdr-disable
gpio14: (FAN pin present on SOC)
pinmux.0x02434090 = 0x00000414; # soc_gpio12_ph0: rsvd0, pull-down, tristate-enable, input-disable, lpdr-disable

The register pinmux.0x02434098 = 0x00000401; # soc_gpio13_ph1 is CPU_OVR_VID pin which is also going to GPIO14.
The fan PWM pin is unsed in default case and we use CPU_OVR pin which is already configured as PWM. That’s why you are seeing it as working.

Can you just dump following registers in working case of GPIO14?
0x02434098 (GPIO14: PWM6: CPU_OVR_VID)
0x02434090 (GPIO14: PWM5)
0x02430040 (GPIO7)

Also, try writing value 0x401 to register 0x02430040 and check pwm on Pin 32 of 40-pin header.
Let me know the results.

Thanks,
Shubhi

These are the values below after changing 0x02430040 to 0x401. Also pin32 on the 40-pin header is 0 on the oscilloscope.
busybox devmem 0x02430040
0x00000401
busybox devmem 0x02434090
0x00000414
busybox devmem 0x02434098
0x00000401

Hi sgamu,
Can you tell me about your setup how are you checking pwm signal on 40-pin?

Hello Shubhi,

I don’t have a devkit for Xavier-Nx. I have a generic devkit that I use from time to time for flashing the Xavier-Nx module and running quick tests which has a 40 pin header. So I performed the test you requested on that devkit by probing pin 32 of the 40 pin header.

Before this devkit detour, I have been using a custom designed board for testing GPIO14 (FAN) and GPIO7. GPIO14 is either PWM signal by default once the device is ON or able to be triggered as such using this command “/usr/bin/jetson_clocks” if the signal is low. The duty_cycle is controlled from here /sys/devices/pwm-fan/target_pwm or /sys/devices/pwm-fan/cur_pwm and it is attached to this device node: /sys/devices/32d0000.pwm

For GPIO7, after using the commands below to trigger it, it stays at 0. BTW, I’m using Release 32.4.1.

cd /sys/devices/32*0000.pwm where * is any of these hex numbers (8, c, f)
OR
cd /sys/devices/c340000.pwm

echo 0 > export
cd pwm0
echo 2000 > period
echo 1000 > duty_cycle
echo 1 > enable

Hi sgamu,
Can you please give this experiment results to check if pin is actually toggling when it is GPIO:

  1. Do not use pin as PWM, keep it gpio
  2. short Pin 31 and 32 on 40-pin header
  3. echo 424 > /sys/class/gpio/export
  4. echo 416 > /sys/class/gpio/export
  5. echo out > /sys/class/gpio/gpio416/direction
  6. echo in > /sys/class/gpio/gpio424/direction
  7. echo 1 > /sys/class/gpio/gpio416/value
  8. cat /sys/class/gpio/gpio424/value
    ##measure voltage at pin 32, it should be 3.3V
  9. echo 0 > /sys/class/gpio/gpio416/value
  10. cat /sys/class/gpio/gpio424/value
    ##check voltage at pin 32, it should be 0V
    Repeat from step 7 for 3-4 times.
    Let me know the results.