GPIO Colibri iMX8X

Dear Community,

I have built an extra board that goes on the extension connector x9 of my Viola carrier board. I want to use the pins 16 and 14 to be an output in LED form. Unfortunately when I try to “speak” to the pins (turn on the LED) they don’t work. These are the SODIMM_45 and SODIMM_85. When I look at the number they must be transformed to be used I have the 394 and 326.

Is there any way to use this pins that I’m not aware of? I used some other pins also with LEDs and they worked just fine.

This is the output of cat /sys/kernel/debug/gpio:

root@colibri-imx8x:~# cat /sys/kernel/debug/gpio 
gpiochip9: GPIOs 216-223, parent: i2c/16-0043, fxl6408, can sleep:
 gpio-220 (                    |usb3503 reset       ) out hi    
 gpio-221 (                    |usb3503 bypass      ) out hi    

gpiochip8: GPIOs 224-255, parent: platform/58222000.gpio, 58222000.gpio:

gpiochip7: GPIOs 256-287, parent: platform/5d0f0000.gpio, 5d0f0000.gpio:

gpiochip6: GPIOs 288-319, parent: platform/5d0e0000.gpio, 5d0e0000.gpio:

gpiochip5: GPIOs 320-351, parent: platform/5d0d0000.gpio, 5d0d0000.gpio:
 gpio-326 (                    |sysfs               ) out lo    
 gpio-329 (                    |id                  ) in  lo IRQ

gpiochip4: GPIOs 352-383, parent: platform/5d0c0000.gpio, 5d0c0000.gpio:
 gpio-355 (                    |usbh_vbus           ) out lo    
 gpio-371 (                    |enable              ) out hi    

gpiochip3: GPIOs 384-415, parent: platform/5d0b0000.gpio, 5d0b0000.gpio:
 gpio-388 (                    |usb3503 intn        ) out hi    
 gpio-393 (                    |cd                  ) in  hi IRQ
 gpio-394 (                    |Wake-Up             ) in  lo IRQ
 gpio-396 (                    |enable              ) out hi    
 gpio-405 (                    |sysfs               ) out lo    

gpiochip2: GPIOs 416-447, parent: platform/5d0a0000.gpio, 5d0a0000.gpio:

gpiochip1: GPIOs 448-479, parent: platform/5d090000.gpio, 5d090000.gpio:
 gpio-448 (                    |fsl_lpspi           ) out hi    

gpiochip0: GPIOs 480-511, parent: platform/5d080000.gpio, 5d080000.gpio:
 gpio-505 (                    |sysfs               ) out lo    
 gpio-506 (                    |sysfs               ) out lo    
 gpio-507 (                    |sysfs               ) out lo    
 gpio-508 (                    |sysfs               ) out lo    

Thanks for any help

Kind regards.

In the mean time I noticed that I was using the wrong number to speak to the SODIMM_85 and that the number is actually 323. Now the LED on that pin is working as planned. I’m still having trouble with the SODIMM_45. Is there a way I can set it work the way I need it?
Thanks and kind regards.

hi @cae30989

SODIMM_45 is defined as Input Pin for wakup.

gpio-394 (                    |Wake-Up             ) in  lo IRQ

Could you share your dmesg.log in a text file?

Thanks and best regards,
Jaski

Hi @jaski.tx,

thank you. I was not able to find any information about how to use that pin to bring my module to sleep or to wake it up. I might need that feature in the future. So I’ve decided to use another GPIO to give the user some kind of output.

But here is the dmesg:

root@colibri-imx8x:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.159-3.0.3+gfff496c2a1bd (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP PREEMPT Wed Jan 1 01:05:45 UTC 2020
[    0.000000] Boot CPU: AArch64 Processor [410fd042]
[    0.000000] Machine model: Toradex Colibri iMX8QXP/DX on Colibri Evaluation Board V3
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] OF: reserved mem: failed to allocate memory for node 'linux,cma'
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000090400000, size 28 MiB
[    0.000000] OF: reserved mem: initialized node rpmsg_dma@0x90400000, compatible id shared-dma-pool
[    0.000000] cma: Reserved 320 MiB at 0x00000000a8000000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000080200000-0x00000000bfffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xbff7c380-0xbff7e17f]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080200000-0x00000000bfffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080200000-0x0000000083ffffff]
[    0.000000]   node   0: [mem 0x0000000086200000-0x000000008fffffff]
[    0.000000]   node   0: [mem 0x0000000094c00000-0x00000000bfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080200000-0x00000000bfffffff]
[    0.000000] On node 0 totalpages: 233472
[    0.000000]   DMA zone: 3648 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 233472 pages, LIFO batch:31
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 23 pages/cpu s53656 r8192 d32360 u94208
[    0.000000] pcpu-alloc: s53656 r8192 d32360 u94208 alloc=23*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 229824
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: root=PARTUUID=4b428504-02 ro rootfstype=ext4 rootwait
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Memory: 434360K/933888K available (13564K kernel code, 1714K rwdata, 6320K rodata, 1280K init, 434K bss, 171848K reserved, 327680K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffff000000000000 - 0xffff000008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000   (129022 GB)
[    0.000000]       .text : 0xffff000008080000 - 0xffff000008dc0000   ( 13568 KB)
[    0.000000]     .rodata : 0xffff000008dc0000 - 0xffff0000093f0000   (  6336 KB)
[    0.000000]       .init : 0xffff0000093f0000 - 0xffff000009530000   (  1280 KB)
[    0.000000]       .data : 0xffff000009530000 - 0xffff0000096dca00   (  1715 KB)
[    0.000000]        .bss : 0xffff0000096dca00 - 0xffff000009749208   (   435 KB)
[    0.000000]     fixed   : 0xffff7dfffe7f9000 - 0xffff7dfffec00000   (  4124 KB)
[    0.000000]     PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffff7e0000000000 - 0xffff800000000000   (  2048 GB maximum)
[    0.000000]               0xffff7e0000008000 - 0xffff7e0001000000   (    15 MB actual)
[    0.000000]     memory  : 0xffff800000200000 - 0xffff800040000000   (  1022 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[    0.000000]  Tasks RCU enabled.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000051b00000
[    0.000000] arch_timer: cp15 timer(s) running at 8.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
[    0.000005] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
[    0.003206] Console: colour dummy device 80x25
[    0.003909] console [tty0] enabled
[    0.003983] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=32000)
[    0.004011] pid_max: default: 32768 minimum: 301
[    0.004105] Security Framework initialized
[    0.004483] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.004672] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.004705] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.004727] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.019893] ASID allocator initialised with 32768 entries
[    0.027893] Hierarchical SRCU implementation.
[    0.037303] *****Initialized MU
[    0.037350] ***** imx8_init_pm_domains *****
[    0.037402] lsio_pwm0 : no governor for states
[    0.037421] lsio_pwm1 : no governor for states
[    0.037439] lsio_pwm2 : no governor for states
[    0.037456] lsio_pwm3 : no governor for states
[    0.037474] lsio_pwm4 : no governor for states
[    0.037491] lsio_pwm5 : no governor for states
[    0.037512] lsio_pwm6 : no governor for states
[    0.037529] lsio_pwm7 : no governor for states
[    0.037546] lsio_kpp : no governor for states
[    0.037567] lsio_gpio0 : no governor for states
[    0.037584] lsio_gpio1 : no governor for states
[    0.037600] lsio_gpio2 : no governor for states
[    0.037617] lsio_gpio3 : no governor for states
[    0.037633] lsio_gpio4 : no governor for states
[    0.037651] lsio_gpio5 : no governor for states
[    0.037668] lsio_gpio6 : no governor for states
[    0.037684] lsio_gpio7 : no governor for states
[    0.037704] lsio_gpt0 : no governor for states
[    0.037721] lsio_gpt1 : no governor for states
[    0.037737] lsio_gpt2 : no governor for states
[    0.037754] lsio_gpt3 : no governor for states
[    0.037770] lsio_gpt4 : no governor for states
[    0.037786] lsio_fspi0 : no governor for states
[    0.037803] lsio_fspi1 : no governor for states
[    0.037820] lsio_mu5a : no governor for states
[    0.037854] conn_usb0 : no governor for states
[    0.037871] conn_usb0_phy : no governor for states
[    0.037891] conn_usb1 : no governor for states
[    0.037908] conn_usb2 : no governor for states
[    0.037925] conn_usb2_phy : no governor for states
[    0.037942] conn_sdhc0 : no governor for states
[    0.037959] conn_sdhc1 : no governor for states
[    0.037975] conn_sdhc2 : no governor for states
[    0.037993] conn_enet0 : no governor for states
[    0.038009] conn_enet1 : no governor for states
[    0.038026] conn_nand : no governor for states
[    0.038042] conn_mlb0 : no governor for states
[    0.038058] conn_dma4_ch0 : no governor for states
[    0.038079] conn_dma4_ch1 : no governor for states
[    0.038096] conn_dma4_ch2 : no governor for states
[    0.038116] conn_dma4_ch3 : no governor for states
[    0.038132] conn_dma4_ch4 : no governor for states
[    0.038158] audio_audiopll0 : no governor for states
[    0.038176] audio_audiopll1 : no governor for states
[    0.038194] audio_audioclk0 : no governor for states
[    0.038212] audio_audioclk1 : no governor for states
[    0.038229] PD_ASRC_0_RXA : no governor for states
[    0.038245] PD_ASRC_0_RXB : no governor for states
[    0.038265] PD_ASRC_0_RXC : no governor for states
[    0.038283] PD_ASRC_0_TXA : no governor for states
[    0.038300] PD_ASRC_0_TXB : no governor for states
[    0.038316] PD_ASRC_0_TXC : no governor for states
[    0.038333] audio_asrc0 : no governor for states
[    0.038352] PD_ASRC_1_RXA : no governor for states
[    0.038369] PD_ASRC_1_RXB : no governor for states
[    0.038389] PD_ASRC_1_RXC : no governor for states
[    0.038406] PD_ASRC_1_TXA : no governor for states
[    0.038424] PD_ASRC_1_TXB : no governor for states
[    0.038444] PD_ASRC_1_TXC : no governor for states
[    0.038462] audio_asrc1 : no governor for states
[    0.038480] PD_ESAI_0_RX : no governor for states
[    0.038497] PD_ESAI_0_TX : no governor for states
[    0.038513] audio_esai0 : no governor for states
[    0.038530] PD_SPDIF_0_RX : no governor for states
[    0.038547] PD_SPDIF_0_TX : no governor for states
[    0.038564] audio_spdif0 : no governor for states
[    0.038581] PD_SAI_0_RX : no governor for states
[    0.038599] PD_SAI_0_TX : no governor for states
[    0.038615] audio_sai0 : no governor for states
[    0.038635] PD_SAI_1_RX : no governor for states
[    0.038652] PD_SAI_1_TX : no governor for states
[    0.038672] audio_sai1 : no governor for states
[    0.038689] PD_SAI_2_RX : no governor for states
[    0.038706] audio_sai2 : no governor for states
[    0.038723] PD_SAI_3_RX : no governor for states
[    0.038739] audio_sai3 : no governor for states
[    0.038756] PD_SAI_4_RX : no governor for states
[    0.038773] PD_SAI_4_TX : no governor for states
[    0.038790] audio_sai4 : no governor for states
[    0.038807] PD_SAI_5_TX : no governor for states
[    0.038827] audio_sai5 : no governor for states
[    0.038844] audio_gpt5 : no governor for states
[    0.038861] audio_gpt6 : no governor for states
[    0.038877] audio_gpt7 : no governor for states
[    0.038894] audio_gpt8 : no governor for states
[    0.038911] audio_gpt9 : no governor for states
[    0.038927] audio_gpt10 : no governor for states
[    0.038947] audio_amix : no governor for states
[    0.038963] audio_mqs0 : no governor for states
[    0.038980] audio_mclkout0 : no governor for states
[    0.039000] audio_mclkout1 : no governor for states
[    0.039018] PD_DSP_MU_A : no governor for states
[    0.039037] PD_DSP_MU_B : no governor for states
[    0.039053] audio_ocram : no governor for states
[    0.039070] audio_dsp : no governor for states
[    0.039109] dma_elcdif_pll : no governor for states
[    0.039126] dma_lcd0 : no governor for states
[    0.039144] dma_flexcan0 : no governor for states
[    0.039161] dma_flexcan1 : no governor for states
[    0.039178] dma_flexcan2 : no governor for states
[    0.039198] dma_ftm0 : no governor for states
[    0.039214] dma_ftm1 : no governor for states
[    0.039234] dma_adc0 : no governor for states
[    0.039251] dma_lpi2c0 : no governor for states
[    0.039267] dma_lpi2c1 : no governor for states
[    0.039284] dma_lpi2c2 : no governor for states
[    0.039300] dma_lpi2c3 : no governor for states
[    0.039317] dma_lpuart0 : no governor for states
[    0.039334] dma_lpuart1 : no governor for states
[    0.039351] PD_UART1_RX : no governor for states
[    0.039368] PD_UART1_TX : no governor for states
[    0.039388] dma_lpuart2 : no governor for states
[    0.039405] PD_UART2_RX : no governor for states
[    0.039422] PD_UART2_TX : no governor for states
[    0.039441] dma_lpuart3 : no governor for states
[    0.039457] PD_UART3_RX : no governor for states
[    0.039476] PD_UART3_TX : no governor for states
[    0.039493] dma_spi0 : no governor for states
[    0.039513] PD_LPSPI0_RX : no governor for states
[    0.039531] PD_LPSPI0_TX : no governor for states
[    0.039548] dma_spi1 : no governor for states
[    0.039566] dma_spi2 : no governor for states
[    0.039587] PD_LPSPI2_RX : no governor for states
[    0.039604] PD_LPSPI2_TX : no governor for states
[    0.039621] dma_spi3 : no governor for states
[    0.039637] dma_pwm0 : no governor for states
[    0.039668] gpu0 : no governor for states
[    0.039687] vpu-power-domain : no governor for states
[    0.039704] VPU_ENC_MU : no governor for states
[    0.039720] VPU_ENC : no governor for states
[    0.039737] VPU_DEC_MU : no governor for states
[    0.039753] VPU_DEC : no governor for states
[    0.039781] hsio_gpio : no governor for states
[    0.039798] PD_HSIO_SERDES_1 : no governor for states
[    0.039815] hsio_pcie1 : no governor for states
[    0.039838] cm40_i2c : no governor for states
[    0.039854] cm40_intmux : no governor for states
[    0.039872] dc0_power_domain : no governor for states
[    0.039889] dc0_pll0 : no governor for states
[    0.039956] dc0_pll1 : no governor for states
[    0.039977] mipi0_dsi_power_domain : no governor for states
[    0.039995] lvds0_power_domain : no governor for states
[    0.040019] PD_AUX_LVDS0 : no governor for states
[    0.040036] PD_DUAL_LVDS1 : no governor for states
[    0.040053] mipi0_dsi_i2c0 : no governor for states
[    0.040071] mipi0_dsi_i2c1 : no governor for states
[    0.040089] mipi0_dsi_pwm0 : no governor for states
[    0.040111] mipi1_dsi_power_domain : no governor for states
[    0.040129] lvds1_power_domain : no governor for states
[    0.040147] PD_AUX_LVDS1 : no governor for states
[    0.040163] PD_DUAL_LVDS0 : no governor for states
[    0.040181] mipi1_dsi_i2c0 : no governor for states
[    0.040200] mipi1_dsi_i2c1 : no governor for states
[    0.040218] mipi1_dsi_pwm0 : no governor for states
[    0.040240] imaging_power_domain : no governor for states
[    0.040258] mipi_csi0_power_domain : no governor for states
[    0.040276] mipi_csi0_i2c0 : no governor for states
[    0.040293] mipi_csi0_pwm : no governor for states
[    0.040311] parallel_csi_power_domain : no governor for states
[    0.040329] parallel_csi_i2c : no governor for states
[    0.040346] parallel_csi_pwm : no governor for states
[    0.040363] parallel_csi_pll : no governor for states
[    0.040380] imaging_pdma1 : no governor for states
[    0.040403] imaging_pdma2 : no governor for states
[    0.040421] imaging_pdma3 : no governor for states
[    0.040438] imaging_pdma4 : no governor for states
[    0.040455] imaging_pdma5 : no governor for states
[    0.040472] imaging_pdma6 : no governor for states
[    0.040489] imaging_pdma7 : no governor for states
[    0.040506] PD_JPEG_DEC_MP : no governor for states
[    0.040523] imaging_jpeg_dec : no governor for states
[    0.040540] PD_JPEG_ENC_MP : no governor for states
[    0.040557] imaging_jpeg_enc : no governor for states
[    0.040586] caam_job_ring1 : no governor for states
[    0.040604] caam_job_ring2 : no governor for states
[    0.040621] caam_job_ring3 : no governor for states
[    0.040807] CPU identified as i.MX8QXP, silicon rev 1.1
[    0.042576] EFI services will not be available.
[    0.047996] smp: Bringing up secondary CPUs ...
[    0.076414] Detected VIPT I-cache on CPU1
[    0.076444] GICv3: CPU1: found redistributor 1 region 0:0x0000000051b20000
[    0.076479] CPU1: Booted secondary processor [410fd042]
[    0.104165] psci: failed to boot CPU2 (-22)
[    0.104216] CPU2: failed to boot: -22
[    0.132220] psci: failed to boot CPU3 (-22)
[    0.132234] CPU3: failed to boot: -22
[    0.132289] smp: Brought up 1 node, 2 CPUs
[    0.132302] SMP: Total of 2 processors activated.
[    0.132316] CPU features: detected: GIC system register CPU interface
[    0.132333] CPU features: detected: 32-bit EL0 Support
[    0.133189] CPU: All CPU(s) started at EL2
[    0.133218] alternatives: patching kernel code
[    0.134005] devtmpfs: initialized
[    0.148096] random: get_random_u32 called from bucket_table_alloc+0x104/0x268 with crng_init=0
[    0.148570] Registered cp15_barrier emulation handler
[    0.148594] Registered setend emulation handler
[    0.148874] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.148940] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.158279] pinctrl core: initialized pinctrl subsystem
[    0.161025] DMI not present or invalid.
[    0.161433] NET: Registered protocol family 16
[    0.164672] cpuidle: using governor menu
[    0.166307] vdso: 2 pages (1 code @ ffff000008dc6000, 1 data @ ffff000009534000)
[    0.166349] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.173756] DMA: preallocated 256 KiB pool for atomic allocations
[    0.174495] Serial: AMBA PL011 UART driver
[    0.174641] imx rpmsg driver is registered.
[    0.177698] MU and Power domains initialized
[    0.177729] ***** imx8qxp_clocks_init *****
[    0.235320] imx8qxp-pinctrl iomuxc: initialized IMX pinctrl driver
[    0.258108] mxs_phy 5b100000.usbphy: 5b100000.usbphy supply phy-3p0 not found, using dummy regulator
[    0.271819] MU is ready for cross core communication!
[    0.272069] imx-rpmsg 90000000.rpmsg: assigned reserved memory node rpmsg_dma@0x90400000
[    0.272595] virtio_rpmsg_bus virtio0: rpmsg host is online
[    0.293725] virtio_rpmsg_bus virtio1: rpmsg host is online
[    0.328446] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.351879] ACPI: Interpreter disabled.
[    0.363661] vgaarb: loaded
[    0.364106] SCSI subsystem initialized
[    0.364338] libata version 3.00 loaded.
[    0.364590] usbcore: registered new interface driver usbfs
[    0.364656] usbcore: registered new interface driver hub
[    0.364814] usbcore: registered new device driver usb
[    0.365603] usb_phy_generic usbphynop1: usbphynop1 supply vcc not found, using dummy regulator
[    0.368953] i2c i2c-16: LPI2C adapter registered
[    0.370091] i2c i2c-17: LPI2C adapter registered
[    0.371795] media: Linux media interface: v0.10
[    0.371858] Linux video capture interface: v2.00
[    0.372055] pps_core: LinuxPPS API ver. 1 registered
[    0.372073] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.372111] PTP clock support registered
[    0.372366] EDAC MC: Ver: 3.0.0
[    0.372901] dmi: Firmware registration failed.
[    0.373803] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[    0.374542] Advanced Linux Sound Architecture Driver Initialized.
[    0.375198] Bluetooth: Core ver 2.22
[    0.375248] NET: Registered protocol family 31
[    0.375262] Bluetooth: HCI device and connection manager initialized
[    0.375333] Bluetooth: HCI socket layer initialized
[    0.375350] Bluetooth: L2CAP socket layer initialized
[    0.375384] Bluetooth: SCO socket layer initialized
[    0.376282] clocksource: Switched to clocksource arch_sys_counter
[    0.376474] VFS: Disk quotas dquot_6.6.0
[    0.376542] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.376689] pnp: PnP ACPI: disabled
[    0.383722] NET: Registered protocol family 2
[    0.384797] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.384912] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    0.385045] TCP: Hash tables configured (established 8192 bind 8192)
[    0.385201] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.385246] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.385415] NET: Registered protocol family 1
[    0.385898] RPC: Registered named UNIX socket transport module.
[    0.385915] RPC: Registered udp transport module.
[    0.385929] RPC: Registered tcp transport module.
[    0.385942] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.385962] PCI: CLS 0 bytes, default 128
[    0.387107] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.387627] kvm [1]: 8-bit VMID
[    0.388931] kvm [1]: GICv3: no GICV resource entry
[    0.388947] kvm [1]: disabling GICv2 emulation
[    0.388978] kvm [1]: GIC system register CPU interface enabled
[    0.389040] kvm [1]: vgic interrupt IRQ1
[    0.389111] kvm [1]: Hyp mode initialized successfully
[    0.391925] audit: initializing netlink subsys (disabled)
[    0.392104] audit: type=2000 audit(0.384:1): state=initialized audit_enabled=0 res=1
[    0.392888] workingset: timestamp_bits=44 max_order=18 bucket_order=0
[    0.399998] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.400894] NFS: Registering the id_resolver key type
[    0.400939] Key type id_resolver registered
[    0.400951] Key type id_legacy registered
[    0.400970] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.401008] jffs2: version 2.2. (NAND) \xc2\xa9 2001-2006 Red Hat, Inc.
[    0.401566] 9p: Installing v9fs 9p2000 file system support
[    0.407328] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    0.407366] io scheduler noop registered
[    0.407533] io scheduler cfq registered (default)
[    0.407550] io scheduler mq-deadline registered
[    0.407563] io scheduler kyber registered
[    0.429987] imx6q-pcie 5f010000.pcie: 5f010000.pcie supply epdev_on not found, using dummy regulator
[    0.430340] OF: PCI: host bridge /pcie@0x5f010000 ranges:
[    0.430363] OF: PCI:   No bus range found for /pcie@0x5f010000, using [bus 00-ff]
[    0.430391] OF: PCI:    IO 0x7ff80000..0x7ff8ffff -> 0x00000000
[    0.430412] OF: PCI:   MEM 0x70000000..0x7fefffff -> 0x70000000
[    0.435797] imx6q-pcie 5f010000.pcie: ERROR PM_REQ_CORE_RST is still set.
[    0.456850] imx6q-pcie 5f010000.pcie: pcie phy pll can't be locked.
[    0.576880] imx6q-pcie 5f010000.pcie: failed to initialize host
[    0.576897] imx6q-pcie 5f010000.pcie: unable to add pcie port.
[    0.578918] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[    0.587536] mxs-dma 5b810000.dma-apbh: initialized
[    0.589870] Bus freq driver module loaded
[    0.598586] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.602615] SuperH (H)SCI(F) driver initialized
[    0.603764] msm_serial: driver initialized
[    0.605392] 5a080000.serial: ttyLP2 at MMIO 0x5a080010 (irq = 48, base_baud = 5000000) is a FSL_LPUART
[    0.607055] 5a090000.serial: ttyLP3 at MMIO 0x5a090010 (irq = 49, base_baud = 5000000) is a FSL_LPUART
[    0.607104] Serial: Console lpuart rounded baud ratefrom 575539 to 115200
[    2.533371] console [ttyLP3] enabled
[    2.553845] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.560588] [drm] No driver support for vblank timestamp query.
[    2.608062] Console: switching to colour frame buffer device 80x30
[    2.633115] mxsfb_drm 5a180000.lcdif: fb0:  frame buffer device
[    2.642098] [drm] Initialized mxsfb-drm 1.0.0 20160824 for 5a180000.lcdif on minor 0
[    2.662704] brd: module loaded
[    2.674360] loop: module loaded
[    2.680727] zram: Added device: zram0
[    2.691658] slram: not enough parameters.
[    2.704631] libphy: Fixed MDIO Bus: probed
[    2.711949] tun: Universal TUN/TAP device driver, 1.6
[    2.719894] CAN device driver interface
[    3.424627] random: fast init done
[    3.749467] mcp251x spi0.0: MCP251x didn't enter in conf mode after reset
[    3.758877] mcp251x spi0.0: Probe failed, err=16
[    3.766192] mcp251x: probe of spi0.0 failed with error -16
[    3.776065] flexcan 5a8d0000.can: device registered (reg_base=ffff00000d790000, irq=32)
[    3.790686] flexcan 5a8e0000.can: device registered (reg_base=ffff00000d7b0000, irq=33)
[    3.807264] fec 5b040000.ethernet: 5b040000.ethernet supply phy not found, using dummy regulator
[    3.821739] pps pps0: new PPS source ptp0
[    3.834224] libphy: fec_enet_mii_bus: probed
[    3.842501] fec 5b040000.ethernet eth0: registered PHC device 0
[    3.852078] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    3.860492] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    3.869006] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    3.878511] igb: Copyright (c) 2007-2014 Intel Corporation.
[    3.886615] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    3.899526] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    3.908889] sky2: driver version 1.30
[    3.922489] Can't support > 32 bit dma.
[    3.929103]  xhci-cdns3: xHCI Host Controller
[    3.936144]  xhci-cdns3: new USB bus registered, assigned bus number 1
[    3.981727]  xhci-cdns3: hcc params 0x200073c8 hci version 0x100 quirks 0xffffffffa0010010
[    3.996362] hub 1-0:1.0: USB hub found
[    4.002887] hub 1-0:1.0: 1 port detected
[    4.009816]  xhci-cdns3: xHCI Host Controller
[    4.016810]  xhci-cdns3: new USB bus registered, assigned bus number 2
[    4.025971]  xhci-cdns3: Host supports USB 3.0  SuperSpeed
[    4.034044] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.047609] hub 2-0:1.0: USB hub found
[    4.053798] hub 2-0:1.0: 1 port detected
[    4.060733] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.069858] ehci-pci: EHCI PCI platform driver
[    4.076842] ehci-platform: EHCI generic platform driver
[    4.084932] ehci-orion: EHCI orion driver
[    4.091583] ehci-exynos: EHCI EXYNOS driver
[    4.098317] ehci-msm: Qualcomm On-Chip EHCI Host Controller
[    4.106400] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.114937] ohci-pci: OHCI PCI platform driver
[    4.121716] ohci-platform: OHCI generic platform driver
[    4.129462] ohci-exynos: OHCI EXYNOS driver
[    4.136904] usbcore: registered new interface driver usb-storage
[    4.145317] usbcore: registered new interface driver usbserial
[    4.153424] usbcore: registered new interface driver usbserial_generic
[    4.162176] usbserial: USB Serial support registered for generic
[    4.170412] usbcore: registered new interface driver cp210x
[    4.178153] usbserial: USB Serial support registered for cp210x
[    4.186290] usbcore: registered new interface driver ftdi_sio
[    4.194273] usbserial: USB Serial support registered for FTDI USB Serial Device
[    4.206116] usbcore: registered new interface driver pl2303
[    4.214024] usbserial: USB Serial support registered for pl2303
[    4.222300] usbcore: registered new interface driver usb_ehset_test
[    4.255681] usb3503 16-0008: switched to HUB mode
[    4.262664] usb3503 16-0008: usb3503_probe: probed in hub mode
[    4.272882] usbmisc_imx 5b0d0200.usbmisc: 5b0d0200.usbmisc supply vbus-wakeup not found, using dummy regulator
[    4.291703] input: sc-powerkey as /devices/platform/sc-powerkey/input/input0
[    4.303776] input: AD7879 Touchscreen as /devices/platform/5a800000.i2c/i2c-16/16-002c/input/input1
[    4.323420] rtc-ds1307 17-0068: registered as rtc0
[    4.332859] imx_sc_rtc rtc: rtc core: registered rtc as rtc1
[    4.341950] i2c /dev entries driver
[    4.351158] IR NEC protocol handler initialized
[    4.358253] IR RC5(x/sz) protocol handler initialized
[    4.365844] IR RC6 protocol handler initialized
[    4.372871] IR JVC protocol handler initialized
[    4.379878] IR Sony protocol handler initialized
[    4.387017] IR SANYO protocol handler initialized
[    4.394211] IR Sharp protocol handler initialized
[    4.401322] IR MCE Keyboard/mouse protocol handler initialized
[    4.409590] IR XMP protocol handler initialized
[    4.420465] mxc-jpeg 58400000.jpegdec: decoder device registered as /dev/video0 (81,0)
[    4.434883] mxc-jpeg 58450000.jpegenc: encoder device registered as /dev/video1 (81,1)
[    4.454327] imx8-wdt wdog: initialized (timeout=60 sec, nowayout=0)
[    4.464122] Bluetooth: HCI UART driver ver 2.3
[    4.471128] Bluetooth: HCI UART protocol H4 registered
[    4.478792] Bluetooth: HCI UART protocol BCSP registered
[    4.486551] Bluetooth: HCI UART protocol ATH3K registered
[    4.494294] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    4.503082] Bluetooth: HCI UART protocol Broadcom registered
[    4.510947] Bluetooth: HCI UART protocol QCA registered
[    4.518264] Bluetooth: HCI UART protocol Marvell registered
[    4.525950] usbcore: registered new interface driver btusb
[    4.533481] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[    4.542505] sdhci: Secure Digital Host Controller Interface driver
[    4.550817] sdhci: Copyright(c) Pierre Ossman
[    4.557668] Synopsys Designware Multimedia Card Interface Driver
[    4.567531] sdhci-pltfm: SDHCI platform and OF driver helper
[    4.577389] mmc0: CQHCI version 5.10
[    4.632330] mmc0: SDHCI controller on 5b010000.usdhc [5b010000.usdhc] using ADMA
[    4.649403] mmc1: CQHCI version 5.10
[    4.655516] sdhci-esdhc-imx 5b020000.usdhc: Got CD GPIO
[    4.709456] mmc1: SDHCI controller on 5b020000.usdhc [5b020000.usdhc] using ADMA
[    4.720312] usb 1-1: new high-speed USB device number 2 using cdns-usb3
[    4.748210] ledtrig-cpu: registered to indicate activity on CPUs
[    4.762764] caam 31400000.caam: ERA source: device tree.
[    4.793954] mmc0: new HS400 MMC card at address 0001
[    4.802188] mmcblk0: mmc0:0001 Q2J54A 3.59 GiB 
[    4.802603] caam algorithms registered in /proc/crypto
[    4.809638] mmcblk0boot0: mmc0:0001 Q2J54A partition 1 16.0 MiB
[    4.820170] caam_jr 31430000.jr2: registering rng-caam
[    4.825586] mmcblk0boot1: mmc0:0001 Q2J54A partition 2 16.0 MiB
[    4.833215] caam 31400000.caam: caam pkc algorithms registered in /proc/crypto
[    4.856637] hidraw: raw HID events driver (C) Jiri Kosina
[    4.864804]  mmcblk0: p1 p2
[    4.869539] usbcore: registered new interface driver usbhid
[    4.878659] usbhid: USB HID core driver
[    4.896975] sgtl5000 16-000a: sgtl5000 revision 0x11
[    4.899530] hub 1-1:1.0: USB hub found
[    4.911172] hub 1-1:1.0: 2 ports detected
[    4.951532] NET: Registered protocol family 26
[    4.959129] NET: Registered protocol family 10
[    4.966691] Segment Routing with IPv6
[    4.972899] NET: Registered protocol family 17
[    4.979703] can: controller area network core (rev 20170425 abi 9)
[    4.988507] NET: Registered protocol family 29
[    4.995271] can: raw protocol (rev 20170425)
[    5.001789] can: broadcast manager protocol (rev 20170425 t)
[    5.009705] can: netlink gateway (rev 20170425) max_hops=1
[    5.017722] Bluetooth: RFCOMM TTY layer initialized
[    5.024849] Bluetooth: RFCOMM socket layer initialized
[    5.032248] Bluetooth: RFCOMM ver 1.11
[    5.038195] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    5.045682] Bluetooth: BNEP filters: protocol multicast
[    5.053009] Bluetooth: BNEP socket layer initialized
[    5.060033] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    5.067974] Bluetooth: HIDP socket layer initialized
[    5.074914] lib80211: common routines for IEEE802.11 drivers
[    5.082521] lib80211_crypt: registered algorithm 'NULL'
[    5.082525] lib80211_crypt: registered algorithm 'WEP'
[    5.082528] lib80211_crypt: registered algorithm 'CCMP'
[    5.082531] lib80211_crypt: registered algorithm 'TKIP'
[    5.082559] 9pnet: Installing 9P2000 support
[    5.088820] Key type dns_resolver registered
[    5.095701] registered taskstats version 1
[    5.118872] imx8_cpufreq_init: cluster 0 running at freq 1200 MHz, suspend freq 1200 MHz
[    5.143873] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    5.150880] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 3
[    5.176325] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    5.185599] hub 3-0:1.0: USB hub found
[    5.192288] hub 3-0:1.0: 1 port detected
[    5.210798] asoc-simple-card sound: sgtl5000 <-> 59040000.sai mapping ok
[    5.219748] asoc-simple-card sound: ASoC: no DMI vendor name!
[    5.239835] input: gpio-keys as /devices/platform/gpio-keys/input/input2
[    5.253637] rtc-ds1307 17-0068: setting system clock to 2000-01-01 00:01:09 UTC (946684869)
[    5.269543] ALSA device list:
[    5.274744]   #0: imx8qxp-sgtl5000
[    5.290562] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    5.303338] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    5.314381] devtmpfs: mounted
[    5.320253] Freeing unused kernel memory: 1280K
[    5.416313] systemd[1]: System time before build time, advancing clock.
[    5.435637] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP)
[    5.468103] systemd[1]: Detected architecture arm64.
[    5.496855] systemd[1]: Set hostname to <colibri-imx8x>.
[    5.760483] random: systemd: uninitialized urandom read (16 bytes read)
[    5.770351] systemd[1]: Listening on udev Control Socket.
[    5.793146] random: systemd: uninitialized urandom read (16 bytes read)
[    5.804197] systemd[1]: Reached target Swap.
[    5.824380] random: systemd: uninitialized urandom read (16 bytes read)
[    5.838649] systemd[1]: Listening on Syslog Socket.
[    5.861516] systemd[1]: Listening on Journal Socket (/dev/log).
[    5.888463] systemd[1]: Reached target Host and Network Name Lookups.
[    5.916956] systemd[1]: Listening on Network Service Netlink Socket.
[    5.944971] systemd[1]: Listening on Journal Socket.
[    6.043963] random: crng init done
[    6.050073] random: 7 urandom warning(s) missed due to ratelimiting
[    6.177223] galcore: loading out-of-tree module taints kernel.
[    6.210204] Galcore version 6.2.4.190076
[    6.440417] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    6.784541] systemd-journald[2149]: Received request to flush runtime journal from PID 1
[    7.463274] using random self ethernet address
[    7.509010] using random host ethernet address
[    7.864408] Micrel KSZ8041 5b040000.ethernet-1:02: attached PHY driver [Micrel KSZ8041] (mii_bus:phy_addr=5b040000.ethernet-1:02, irq=POLL)
[    7.916840] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.946156] usb0: HOST MAC 00:14:2d:ff:ff:fe
[    7.969418] usb0: MAC 00:14:2d:ff:ff:ff
[    8.927843] audit: type=1006 audit(1587032277.381:2): pid=3695 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
[    9.948473] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   10.599483] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[   35.812333] 3.3V: disabling
[   35.815143] 5V: disabling

Kind regards.

Hi @cae30989

The dmesg.log looks good.
Information regarding sleep and wakup of the module can be found here.

Best regards,
Jaski