This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRA821U: Support Required: MCU SPI1 Issues with SRAM and TPM on DRA821U

Part Number: DRA821U
Other Parts Discussed in Thread: DRA821, SYSCONFIG, TPS6594-Q1

Dear Team,

We have connected SRAM (23A512-I/SN) and TPM (ATTPM20P-H6MA1-10) to the MCU SPI1 interface as slave devices on the DRA821U platform and added the corresponding DTSI entries for both devices. In our configuration, SRAM is connected to CS0 and TPM is connected to CS3.

During boot, we observe a timeout error from the TPM driver:

tpm_tis_spi: probe of spi0.3 failed with error -110.

To debug this, we probed the chip select (CS) pin of the SPI controller. We noticed that when the TPM driver is loading, the CS pin does not toggle low. Throughout the entire boot sequence—from U-Boot to kernel—the CS line remains high (as observed on CRO) but the SRAM CS pin is going to low when the SRAM's driver is loading. Also, the clock is generating properly (12.5 MHz). 

Additionally, we are facing an issue with the SRAM device where write operations to the memory block are not functioning as expected.

Could you please guide us on how to resolve these issues? Also, is there any limitation or special consideration for using multiple chip select lines on MCU SPI?

SDK Version: 09.02.00.04
Yocto: Kirkstone
SoC: DRA821


pin mux
-------------

Interface Functionality Pad name Pin No GPIO No Input/Output
SRAM SPI_B_SDO MCU_SPI1_D0/WKUP_GPIO0_1 B19 - Output
SPI_B_SDI MCU_SPI1_D1/WKUP_GPIO0_2 D14 - Input
SPI_B_HOLD MCU_OSPI0_DQS/MCU_HYPERBUS0_RWDS/WKUP_GPIO0_18 B7 - Output
SPI_B_CS0# MCU_SPI1_CS0/WKUP_GPIO0_3 B21 - Output
SPI_B_SCK MCU_SPI1_CLK/WKUP_GPIO0_0 B18 - Output
SPI_B_WP MCU_OSPI0_CSN3/MCU_HYPERBUS0_INTN/MCU_HYPERBUS0_WPN/MCU_OSPI0_RESET_OUT1/MCU_OSPI0_ECC_FAIL/WKUP_GPIO0_31 D5 - Output
TPM Module SPI_B_CS1#(GPIO_A_7) MCU_MCAN1_RX/MCU_SPI1_CS3/MCU_ADC_EXT_TRIGGER1/WKUP_GPIO0_5 B16 GPIO0_5 Output
TPM_RSTn(GPIO_A_5) SPI0_CS0/UART0_CTSN/GPIO0_51 W3 GPIO0_51 Output
SPI_B_SCK MCU_SPI1_CLK/WKUP_GPIO0_0 B18 GPIO0_0 Output
SPI_B_SDO MCU_SPI1_D0/WKUP_GPIO0_1 B19 GPIO0_1 Output
SPI_B_SDI MCU_SPI1_D1/WKUP_GPIO0_2 D14 GPIO0_2 Input

DTSI Entry
------------------

&mcu_spi1 {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&spi_pins_default>;
    ti,spi-num-cs = <4>;
    spi-sram@0 {
        compatible = "microchip,mchp23a512";
        reg = <0x0>;                        
        spi-max-frequency = <20000000>; 
        #address-cells = <1>;
        #size-cells = <1>;
        status = "okay";
    };
    tpm@3{
        compatible = "tcg,tpm_tis-spi";
        reg = <0x3>;
        spi-max-frequency = <16000000>; 
        reset-gpios = <&main_gpio0 51 GPIO_ACTIVE_HIGH>;
        #address-cells = <1>;
        #size-cells = <1>;
        status = "okay";    
    };
};

&wkup_pmx2 {
    spi_pins_default: spi-pins-default {
        pinctrl-single,pins = <
        J721E_WKUP_IOPAD(0x58, PIN_INPUT, 0) /* (B18) WKUP_GPIO0_0.MCU_SPI1_CLK */
        J721E_WKUP_IOPAD(0x5c, PIN_OUTPUT, 0) /* (B19) WKUP_GPIO0_1.MCU_SPI1_D0 */
        J721E_WKUP_IOPAD(0x60, PIN_INPUT, 0) /* (D14) WKUP_GPIO0_2.MCU_SPI1_D1 */
        J721E_WKUP_IOPAD(0x64, PIN_OUTPUT, 0) /* (B21) WKUP_GPIO0_3.MCU_SPI1_CS0 */
        J721E_WKUP_IOPAD(0x06c, PIN_OUTPUT, 0) /* (B16) WKUP_GPIO0_5 TPM CS*/
        >;
    };
};

We would appreciate your guidance in resolving the TPM probe failure and SRAM write issue.

Thanks and Regards,
Subashini

  • Hi Subashini,

    I recommend using the sysconfig tool for pinmuxing, if not already: https://www.ti.com/tool/SYSCONFIG

    Alternatively, you may reference the datasheet (https://www.ti.com/lit/ds/symlink/dra821u.pdf). I see that the WKUP_GPIO0_5 should be muxed to 2 for the CS3.

    Regards,

    Takuma

  • Hi Takuma,

    We are configuring SPI SRAM and a TPM module in the DRA821U device, but it seems both are not working as expected. As I mentioned in the previous thread, the SRAM having the r/w issues, so for isolating the issues, we did a SPI Loopback test by shorting MISO & MOSI hardware-wise & tested a loopback with spidev_test utility, but the data transmitting through TX is not getting back on Rx. Please check and let you know your observations.

    All the SoC-side configurations & required test logs are attached with this. 

    Previous query link: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1593890/dra821u-dra821u-sram-write-issue/6142380

    DMESG
    =====

     root@j7200-iwg52m:~# spidev_test -D /dev/spidev0.0 -v
    spi mode: 0x0
    bits per word: 8
    max speed: 500000 Hz (500 kHz)
    TX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D  |......@.........................|
    RX | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  |................................|
    root@j7200-iwg52m:~# 
    root@j7200-iwg52m:~# 
    root@j7200-iwg52m:~# 
    root@j7200-iwg52m:~# 
    root@j7200-iwg52m:~# spidev_test -D /dev/spidev0.0 -s 100000 -p "Hello" -v
    spi mode: 0x0
    bits per word: 8
    max speed: 100000 Hz (500 kHz)
    TX | 48 65 6C 6C 6F __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __  |Hello|
    RX | 00 00 00 00 00 __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __  |.....|
    root@j7200-iwg52m:~# 
    root@j7200-iwg52m:~# 
    root@j7200-iwg52m:~# spidev_test -D /dev/spidev0.0 -s 100000 -p "Hello" -v
    spi mode: 0x0
    bits per word: 8
    max speed: 100000 Hz (100 kHz)
    TX | 48 65 6C 6C 6F __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __  |Hello|
    RX | 00 00 00 00 00 __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __  |.....|
    root@j7200-iwg52m:~# 
    root@j7200-iwg52m:~# spidev_test -D /dev/spidev0.0 -s 100000 -H -p "Hello" -v                                                                                                                                
    spi mode: 0x1
    bits per word: 8
    max speed: 100000 Hz (100 kHz)
    TX | 48 65 6C 6C 6F __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __  |Hello|
    RX | 00 00 00 00 00 __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __  |.....|
    root@j7200-iwg52m:~# 
    root@j7200-iwg52m:~# 
    root@j7200-iwg52m:~# spidev_test -D /dev/spidev0.0 -s 100000 -O -p "Hello" -v                                                                                                                                
    spi mode: 0x2
    bits per word: 8
    max speed: 100000 Hz (100 kHz)
    TX | 48 65 6C 6C 6F __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __  |Hello|
    RX | 00 00 00 00 00 __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __  |.....|
    root@j7200-iwg52m:~# 
    root@j7200-iwg52m:~# spidev_test -D /dev/spidev0.0 -s 100000 -H -O -p "Hello" -v                                                                                                                             
    spi mode: 0x3
    bits per word: 8
    max speed: 100000 Hz (100 kHz)
    TX | 48 65 6C 6C 6F __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __  |Hello|
    RX | 00 00 00 00 00 __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __  |.....|
    root@j7200-iwg52m:~# 
    root@j7200-iwg52m:~# 
    root@j7200-iwg52m:~# 
    root@j7200-iwg52m:~#

    DTSI
    ====
    &wkup_pmx2 {
    spi_pins_default: spi-pins-default {
     pinctrl-single,pins = <
     J721E_WKUP_IOPAD(0x58, PIN_OUTPUT, 0) /* (B18) WKUP_GPIO0_0.MCU_SPI1_CLK */
     J721E_WKUP_IOPAD(0x5c, PIN_OUTPUT, 0) /* (B19) WKUP_GPIO0_1.MCU_SPI1_D0 */
     J721E_WKUP_IOPAD(0x60, PIN_INPUT, 0) /* (D14) WKUP_GPIO0_2.MCU_SPI1_D1 */
     J721E_WKUP_IOPAD(0x64, PIN_OUTPUT, 0) /* (B21) WKUP_GPIO0_3.MCU_SPI1_CS0 */

     >;
     };
     };
    &mcu_spi1 {
     status = "okay";
     pinctrl-names = "default";
     pinctrl-0 = <&spi_pins_default>;
     ti,spi-num-cs = <4>;
     ti,pindir-d0-out-d1-in;
    };

    Thanks and Regards,
    Subashini

  • Hi Subashini,

    Please reference FAQ:  [FAQ] Troubleshoot Guide for McSPI within Linux: J784S4/AM6x/TDA4x/DRA8x 

    May be issue with the internal connection for mcu_spi1

    Regards,

    Takuma

  • Hi Takuma,

    As per the reference you shared, I have added the below DTSi entry for disconnecting the MCU_SPI1 and MCU_SPI3 interconnection in k3-j7200-mcu-wakeup.dtsi file but when checking the register value in the kernel, it shows 0 only. Did I miss anything? Could you please help us to fix this?

     spi1_linkdis: mux-controller@4060 {
     compatible = "reg-mux";
     reg = <0x4060 0x4>;
     #mux-control-cells = <1>;
     mux-reg-masks = <0x0 0x1>;
     idle-states = <1>;
     };





    Thanks and Regards,
    Subashini

  • Hi Subashini,

    Takuma is out of office today, and will respond next week once he is back at work.

    regards

    Suman

  • Hi Subashini,

    That should work. Is the spi1_linkdis node defined under mcu_conf node?

    Regards,

    Takuma

  • Hi Takuma, 

    I have added spi1_linkdis under mcu_conf, and now the register value has changed to 0x01. As per your previous reference, I updated J721E_WKUP_IOPAD(0x64, PIN_OUTPUT, 0) to J721E_WKUP_IOPAD(0x64, PIN_OUTPUT, 2)

    After this change, while loading the driver, the chip select line transitions from low to high instead of high to low. I have not changed the SPI controller mode, and it is still operating in Mode 0.

    Additionally, the TPM is throwing a timeout error.

    Could you please guide us on how to resolve this issue?

    Chip select probe image
    -------------------------------

    Thanks and Regards,
    Subashini

  • Hi Subashini,

    Can you share logs? And is the sram now working, and only TPM is failing?

    Regards,

    Takuma

  • Hi Takuma,

    After disconnecting MCU SPI1 and MCU SPI3, the SRAM started working. We then removed the SRAM from the MCU SPI 1 and kept only the TPM connected as CS3. While loading the driver, the clock is running at 12.5 MHz, but the CS line is toggling from low to high instead of high to low.

    Please find the attached dmesg log for your reference.

    root@j7200-iwg52m:~# dmesg 
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 6.1.80-ti-g1c154b1fe4c4 (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Thu Mar 14 13:59:07 UTC 2024
    [    0.000000] Machine model: Texas Instruments K3 J7200 SoC
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a47fffff]
    [    0.000000]   node   0: [mem 0x00000000a4800000-0x00000000ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000] cma: Reserved 32 MiB at 0x00000000fba00000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.4
    [    0.000000] percpu: Embedded 20 pages/cpu s41064 r8192 d32664 u81920
    [    0.000000] pcpu-alloc: s41064 r8192 d32664 u81920 alloc=20*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: Spectre-v3a
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] CPU features: detected: ARM erratum 1742098
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 1905732K/2097152K available (12160K kernel code, 1284K rwdata, 3976K rodata, 2048K init, 440K bss, 158652K reserved, 32768K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000]  Tracing variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000080030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080040000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008346] Console: colour dummy device 80x25
    [    0.012911] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023583] pid_max: default: 32768 minimum: 301
    [    0.028320] LSM: Security Framework initializing
    [    0.033099] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.040668] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.049508] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.056914] cblist_init_generic: Setting shift to 1 and lim to 1.
    [    0.063182] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.070569] cblist_init_generic: Setting shift to 1 and lim to 1.
    [    0.076889] rcu: Hierarchical SRCU implementation.
    [    0.081789] rcu:     Max phase no-delay instances is 1000.
    [    0.087300] Platform MSI: msi-controller@1820000 domain created
    [    0.093446] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.102794] EFI services will not be available.
    [    0.107530] smp: Bringing up secondary CPUs ...
    [    0.112679] Detected PIPT I-cache on CPU1
    [    0.112739] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.112754] GICv3: CPU1: using allocated LPI pending table @0x0000000080050000
    [    0.112788] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.112838] smp: Brought up 1 node, 2 CPUs
    [    0.142191] SMP: Total of 2 processors activated.
    [    0.146995] CPU features: detected: 32-bit EL0 Support
    [    0.152252] CPU features: detected: CRC32 instructions
    [    0.157531] CPU: All CPU(s) started at EL2
    [    0.161713] alternatives: applying system-wide alternatives
    [    0.168310] devtmpfs: initialized
    [    0.175766] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.185740] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.193404] pinctrl core: initialized pinctrl subsystem
    [    0.199085] DMI not present or invalid.
    [    0.203349] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.210023] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
    [    0.217324] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.225332] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.233463] audit: initializing netlink subsys (disabled)
    [    0.239064] audit: type=2000 audit(0.152:1): state=initialized audit_enabled=0 res=1
    [    0.239273] thermal_sys: Registered thermal governor 'step_wise'
    [    0.246989] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.253144] cpuidle: using governor menu
    [    0.263884] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.270846] ASID allocator initialised with 65536 entries
    [    0.282330] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@100000/pinctrl@a40000/mcu-cpsw-cpts
    [    0.292756] KASLR disabled due to lack of seed
    [    0.300208] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.307174] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.313581] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.320526] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.326953] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.333887] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.340289] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.347222] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.354510] k3-chipinfo 43000014.chipid: Family:J7200 rev:SR2.0 JTAGID[0x1bb6d02f] Detected
    [    0.363197] reg-fixed-voltage fixedregulator-vsys3v3: GPIO lookup for consumer (null)
    [    0.363202] reg-fixed-voltage fixedregulator-vsys3v3: using device tree for GPIO lookup
    [    0.363208] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/fixedregulator-vsys3v3[0]'
    [    0.363216] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-vsys3v3[0]'
    [    0.363222] reg-fixed-voltage fixedregulator-vsys3v3: using lookup tables for GPIO lookup
    [    0.363225] reg-fixed-voltage fixedregulator-vsys3v3: No GPIO consumer (null) found
    [    0.363344] reg-fixed-voltage fixedregulator-vcca5v: GPIO lookup for consumer (null)
    [    0.363348] reg-fixed-voltage fixedregulator-vcca5v: using device tree for GPIO lookup
    [    0.363353] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/fixedregulator-vcca5v[0]'
    [    0.363359] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-vcca5v[0]'
    [    0.363364] reg-fixed-voltage fixedregulator-vcca5v: using lookup tables for GPIO lookup
    [    0.363367] reg-fixed-voltage fixedregulator-vcca5v: No GPIO consumer (null) found
    [    0.363602] iommu: Default domain type: Translated 
    [    0.368591] iommu: DMA domain TLB invalidation policy: strict mode 
    [    0.375118] SCSI subsystem initialized
    [    0.379021] libata version 3.00 loaded.
    [    0.379113] usbcore: registered new interface driver usbfs
    [    0.384732] usbcore: registered new interface driver hub
    [    0.390169] usbcore: registered new device driver usb
    [    0.395525] pps_core: LinuxPPS API ver. 1 registered
    [    0.400598] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.409940] PTP clock support registered
    [    0.414009] EDAC MC: Ver: 3.0.0
    [    0.417674] FPGA manager framework
    [    0.421204] Advanced Linux Sound Architecture Driver Initialized.
    [    0.427855] clocksource: Switched to clocksource arch_sys_counter
    [    0.434236] VFS: Disk quotas dquot_6.6.0
    [    0.438268] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.448384] NET: Registered PF_INET protocol family
    [    0.453671] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.462170] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
    [    0.470917] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.478841] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.487006] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
    [    0.495048] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.501870] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.508768] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.516175] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.522244] RPC: Registered named UNIX socket transport module.
    [    0.528303] RPC: Registered udp transport module.
    [    0.533106] RPC: Registered tcp transport module.
    [    0.537911] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.544494] NET: Registered PF_XDP protocol family
    [    0.549395] PCI: CLS 0 bytes, default 64
    [    0.553795] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.562876] Initialise system trusted keyrings
    [    0.567549] workingset: timestamp_bits=46 max_order=19 bucket_order=0
    [    0.576311] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.582581] NFS: Registering the id_resolver key type
    [    0.587767] Key type id_resolver registered
    [    0.592040] Key type id_legacy registered
    [    0.596160] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.603008] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.629249] Key type asymmetric registered
    [    0.633435] Asymmetric key parser 'x509' registered
    [    0.638451] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.646099] io scheduler mq-deadline registered
    [    0.650731] io scheduler kyber registered
    [    0.656641] pinctrl-single 4301c000.pinctrl: 13 pins, size 52
    [    0.662671] pinctrl-single 4301c038.pinctrl: 2 pins, size 8
    [    0.668472] pinctrl-single 4301c068.pinctrl: 59 pins, size 236
    [    0.674607] pinctrl-single 4301c174.pinctrl: 8 pins, size 32
    [    0.680571] pinctrl-single 11c000.pinctrl: 67 pins, size 268
    [    0.686586] pinctrl-single 11c110.pinctrl: 1 pins, size 4
    [    0.692166] pinctrl-single 11c11c.pinctrl: 3 pins, size 12
    [    0.697848] pinctrl-single 11c164.pinctrl: 2 pins, size 8
    [    0.703808] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.713089] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.724312] loop: module loaded
    [    0.728114] megasas: 07.719.03.00-rc1
    [    0.732857] mdio_bus fixed-0: GPIO lookup for consumer reset
    [    0.732864] mdio_bus fixed-0: using lookup tables for GPIO lookup
    [    0.732867] mdio_bus fixed-0: No GPIO consumer reset found
    [    0.733436] tun: Universal TUN/TAP device driver, 1.6
    [    0.738994] VFIO - User Level meta-driver version: 0.3
    [    0.745013] usbcore: registered new interface driver cdc_acm
    [    0.750815] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [    0.759021] usbcore: registered new interface driver usb-storage
    [    0.765578] i2c_dev: i2c /dev entries driver
    [    0.770751] sdhci: Secure Digital Host Controller Interface driver
    [    0.777091] sdhci: Copyright(c) Pierre Ossman
    [    0.781645] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.787686] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.793911] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.800630] usbcore: registered new interface driver usbhid
    [    0.806327] usbhid: USB HID core driver
    [    0.810730] optee: probing for conduit method.
    [    0.815293] optee: revision 4.1 (012cdca4)
    [    0.815457] optee: dynamic shared memory is enabled
    [    0.824844] optee: initialized driver
    [    0.829757] Initializing XFRM netlink socket
    [    0.834152] NET: Registered PF_PACKET protocol family
    [    0.839349] Key type dns_resolver registered
    [    0.843926] registered taskstats version 1
    [    0.848127] Loading compiled-in X.509 certificates
    [    0.859640] ti-sci 44083000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
    [    0.884825] i2c i2c-1: GPIO lookup for consumer scl
    [    0.884836] i2c i2c-1: using device tree for GPIO lookup
    [    0.884844] of_get_named_gpiod_flags: can't parse 'scl-gpios' property of node '/bus@100000/bus@28380000/i2c@40b00000[0]'
    [    0.884854] of_get_named_gpiod_flags: can't parse 'scl-gpio' property of node '/bus@100000/bus@28380000/i2c@40b00000[0]'
    [    0.884863] i2c i2c-1: using lookup tables for GPIO lookup
    [    0.884866] i2c i2c-1: No GPIO consumer scl found
    [    0.884880] i2c i2c-1: GPIO lookup for consumer sda
    [    0.884883] i2c i2c-1: using device tree for GPIO lookup
    [    0.884886] of_get_named_gpiod_flags: can't parse 'sda-gpios' property of node '/bus@100000/bus@28380000/i2c@40b00000[0]'
    [    0.884894] of_get_named_gpiod_flags: can't parse 'sda-gpio' property of node '/bus@100000/bus@28380000/i2c@40b00000[0]'
    [    0.884901] i2c i2c-1: using lookup tables for GPIO lookup
    [    0.884903] i2c i2c-1: No GPIO consumer sda found
    [    0.908588] da9062 1-0048: Entering I2C mode!
    [    0.914401] da9062-watchdog: Failed to locate of_node [id: -2]
    [    0.920423] da9062-thermal: Failed to locate of_node [id: -2]
    [    0.926357] da9062-rtc: Failed to locate of_node [id: -2]
    [    0.931921] da9062-onkey: Failed to locate of_node [id: -2]
    [    0.937713] da9062-gpio da9062-gpio.6.auto: DMA mask not set
    [    0.943517] gpiochip_find_base: found new base at 507
    [    0.944417] gpio gpiochip0: (da9062-gpio.6.auto): added GPIO chardev (254:0)
    [    0.944443] gpio gpiochip0: registered GPIOs 507 to 511 on da9062-gpio.6.auto
    [    0.944637] da9062 1-0058: Entering I2C mode!
    [    0.950394] da9062-watchdog: Failed to locate of_node [id: -2]
    [    0.956404] da9062-thermal: Failed to locate of_node [id: -2]
    [    0.962335] da9062-rtc: Failed to locate of_node [id: -2]
    [    0.967900] da9062-onkey: Failed to locate of_node [id: -2]
    [    0.973691] da9062-gpio da9062-gpio.13.auto: DMA mask not set
    [    0.979578] gpiochip_find_base: found new base at 502
    [    0.980453] gpio gpiochip1: (da9062-gpio.13.auto): added GPIO chardev (254:1)
    [    0.980482] gpio gpiochip1: registered GPIOs 502 to 506 on da9062-gpio.13.auto
    [    0.980525] omap_i2c 40b00000.i2c: bus 1 rev0.12 at 400 kHz
    [    0.986795] i2c i2c-0: GPIO lookup for consumer scl
    [    0.986801] i2c i2c-0: using device tree for GPIO lookup
    [    0.986808] of_get_named_gpiod_flags: can't parse 'scl-gpios' property of node '/bus@100000/bus@28380000/i2c@42120000[0]'
    [    0.986819] of_get_named_gpiod_flags: can't parse 'scl-gpio' property of node '/bus@100000/bus@28380000/i2c@42120000[0]'
    [    0.986827] i2c i2c-0: using lookup tables for GPIO lookup
    [    0.986829] i2c i2c-0: No GPIO consumer scl found
    [    0.986843] i2c i2c-0: GPIO lookup for consumer sda
    [    0.986846] i2c i2c-0: using device tree for GPIO lookup
    [    0.986850] of_get_named_gpiod_flags: can't parse 'sda-gpios' property of node '/bus@100000/bus@28380000/i2c@42120000[0]'
    [    0.986858] of_get_named_gpiod_flags: can't parse 'sda-gpio' property of node '/bus@100000/bus@28380000/i2c@42120000[0]'
    [    0.986864] i2c i2c-0: using lookup tables for GPIO lookup
    [    0.986867] i2c i2c-0: No GPIO consumer sda found
    [    0.987247] pca954x 0-0073: GPIO lookup for consumer reset
    [    0.987252] pca954x 0-0073: using device tree for GPIO lookup
    [    0.987256] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/bus@100000/bus@28380000/i2c@42120000/msd9548@73[0]'
    [    0.987266] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/bus@100000/bus@28380000/i2c@42120000/msd9548@73[0]'
    [    0.987274] pca954x 0-0073: using lookup tables for GPIO lookup
    [    0.987276] pca954x 0-0073: No GPIO consumer reset found
    [    1.008038] i2c i2c-0: Added multiplexed i2c bus 2
    [    1.013078] i2c i2c-0: Added multiplexed i2c bus 3
    [    1.018065] i2c i2c-0: Added multiplexed i2c bus 4
    [    1.023052] i2c i2c-0: Added multiplexed i2c bus 5
    [    1.028034] i2c i2c-0: Added multiplexed i2c bus 6
    [    1.033018] i2c i2c-0: Added multiplexed i2c bus 7
    [    1.037998] i2c i2c-0: Added multiplexed i2c bus 8
    [    1.043281] i2c i2c-0: Added multiplexed i2c bus 9
    [    1.048187] pca954x 0-0073: registered 8 multiplexed busses for I2C switch pca9548
    [    1.056024] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.062069] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 137 domain created
    [    1.070614] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 131 domain created
    [    1.079950] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 213 domain created
    [    1.088555] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 209 created
    [    1.097147] wiz bus@100000:wiz@5060000: GPIO lookup for consumer typec-dir
    [    1.097152] wiz bus@100000:wiz@5060000: using device tree for GPIO lookup
    [    1.097160] of_get_named_gpiod_flags: can't parse 'typec-dir-gpios' property of node '/bus@100000/wiz@5060000[0]'
    [    1.097169] of_get_named_gpiod_flags: can't parse 'typec-dir-gpio' property of node '/bus@100000/wiz@5060000[0]'
    [    1.097176] wiz bus@100000:wiz@5060000: using lookup tables for GPIO lookup
    [    1.097179] wiz bus@100000:wiz@5060000: No GPIO consumer typec-dir found
    [    1.099551] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,32] sci-dev-id:235
    [    1.109446] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.116205] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.125884] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[120,200] sci-dev-id:211
    [    1.136051] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.142812] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.150799] omap8250 40a00000.serial: GPIO lookup for consumer rs485-term
    [    1.150806] omap8250 40a00000.serial: using device tree for GPIO lookup
    [    1.150814] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/bus@100000/bus@28380000/serial@40a00000[0]'
    [    1.150823] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/bus@100000/bus@28380000/serial@40a00000[0]'
    [    1.150831] omap8250 40a00000.serial: using lookup tables for GPIO lookup
    [    1.150834] omap8250 40a00000.serial: No GPIO consumer rs485-term found
    [    1.150849] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 250, base_baud = 6000000) is a 8250
    [    1.160370] omap8250 2800000.serial: GPIO lookup for consumer rs485-term
    [    1.160376] omap8250 2800000.serial: using device tree for GPIO lookup
    [    1.160382] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/bus@100000/serial@2800000[0]'
    [    1.160390] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/bus@100000/serial@2800000[0]'
    [    1.160396] omap8250 2800000.serial: using lookup tables for GPIO lookup
    [    1.160399] omap8250 2800000.serial: No GPIO consumer rs485-term found
    [    1.160409] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 251, base_baud = 3000000) is a 8250
    [    1.169258] printk: console [ttyS2] enabled
    [    1.177701] printk: bootconsole [ns16550a0] disabled
    [    1.188162] omap8250 2810000.serial: GPIO lookup for consumer rs485-term
    [    1.188167] omap8250 2810000.serial: using device tree for GPIO lookup
    [    1.188173] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/bus@100000/serial@2810000[0]'
    [    1.188180] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/bus@100000/serial@2810000[0]'
    [    1.188186] omap8250 2810000.serial: using lookup tables for GPIO lookup
    [    1.188189] omap8250 2810000.serial: No GPIO consumer rs485-term found
    [    1.188198] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 252, base_baud = 3000000) is a 8250
    [    1.198045] davinci_mdio c000f00.mdio: Configuring MDIO in manual mode
    [    1.204721] mdio_bus c000f00.mdio: GPIO lookup for consumer reset
    [    1.204725] mdio_bus c000f00.mdio: using device tree for GPIO lookup
    [    1.204731] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/bus@100000/ethernet@c000000/mdio@f00[0]'
    [    1.204739] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/bus@100000/ethernet@c000000/mdio@f00[0]'
    [    1.204747] mdio_bus c000f00.mdio: using lookup tables for GPIO lookup
    [    1.204750] mdio_bus c000f00.mdio: No GPIO consumer reset found
    [    1.243861] davinci_mdio c000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.252000] mdio_bus c000f00.mdio:03: GPIO lookup for consumer reset
    [    1.252005] mdio_bus c000f00.mdio:03: using device tree for GPIO lookup
    [    1.252010] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/bus@100000/ethernet@c000000/mdio@f00/ethernet-phy@3[0]'
    [    1.252021] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/bus@100000/ethernet@c000000/mdio@f00/ethernet-phy@3[0]'
    [    1.252030] mdio_bus c000f00.mdio:03: using lookup tables for GPIO lookup
    [    1.252033] mdio_bus c000f00.mdio:03: No GPIO consumer reset found
    [    1.254221] davinci_mdio c000f00.mdio: phy[3]: device c000f00.mdio:03, driver RTL8211F-VD-CG Gigabit Ethernet
    [    1.264144] am65-cpsw-nuss c000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 5 quirks:00000000
    [    1.276904] am65-cpsw-nuss c000000.ethernet: Use random MAC address
    [    1.283206] am65-cpsw-nuss c000000.ethernet: initialized cpsw ale version 1.4
    [    1.290329] am65-cpsw-nuss c000000.ethernet: ALE Table size 512
    [    1.296589] am65-cpsw-nuss c000000.ethernet: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
    [    1.305896] of_get_named_gpiod_flags: can't parse 'link-gpios' property of node '/bus@100000/ethernet@c000000/ethernet-ports/port@2/fixed-link[0]'
    [    1.305910] of_get_named_gpiod_flags: can't parse 'link-gpio' property of node '/bus@100000/ethernet@c000000/ethernet-ports/port@2/fixed-link[0]'
    [    1.307341] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
    [    1.316323] xhci-hcd xhci-hcd.14.auto: xHCI Host Controller
    [    1.321913] xhci-hcd xhci-hcd.14.auto: new USB bus registered, assigned bus number 1
    [    1.329770] xhci-hcd xhci-hcd.14.auto: hcc params 0x200073c9 hci version 0x100 quirks 0x0000002000018010
    [    1.339253] xhci-hcd xhci-hcd.14.auto: irq 256, io mem 0x06010000
    [    1.345448] xhci-hcd xhci-hcd.14.auto: xHCI Host Controller
    [    1.351010] xhci-hcd xhci-hcd.14.auto: new USB bus registered, assigned bus number 2
    [    1.358738] xhci-hcd xhci-hcd.14.auto: Host supports USB 3.0 SuperSpeed
    [    1.365653] hub 1-0:1.0: USB hub found
    [    1.369411] hub 1-0:1.0: 1 port detected
    [    1.373468] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    1.381750] hub 2-0:1.0: USB hub found
    [    1.385506] hub 2-0:1.0: 1 port detected
    [    1.491950] sdhci-am654 4f80000.mmc: GPIO lookup for consumer wp
    [    1.491960] sdhci-am654 4f80000.mmc: using device tree for GPIO lookup
    [    1.491967] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/bus@100000/mmc@4f80000[0]'
    [    1.491978] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/bus@100000/mmc@4f80000[0]'
    [    1.491985] sdhci-am654 4f80000.mmc: using lookup tables for GPIO lookup
    [    1.491989] sdhci-am654 4f80000.mmc: No GPIO consumer wp found
    [    1.492482] mmc0: CQHCI version 5.10
    [    1.496265] gpiochip_find_base: found new base at 417
    [    1.496393] gpio gpiochip2: (42110000.gpio): added GPIO chardev (254:2)
    [    1.496426] gpio gpiochip2: registered GPIOs 417 to 501 on 42110000.gpio
    [    1.498110] gpiochip_find_base: found new base at 348
    [    1.498127] gpio gpiochip3: Persistence not supported for GPIO 59
    [    1.498132] gpio-407 (10G_reset_gpio): hogged as output/high
    [    1.503927] gpio gpiochip3: (600000.gpio): added GPIO chardev (254:3)
    [    1.503960] gpio gpiochip3: registered GPIOs 348 to 416 on 600000.gpio
    [    1.506123] gpio-regulator gpio-regulator-TLV71033: GPIO lookup for consumer (null)
    [    1.506130] gpio-regulator gpio-regulator-TLV71033: using device tree for GPIO lookup
    [    1.506142] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-regulator-TLV71033[0]' - status (0)
    [    1.506154] gpio gpiochip2: Persistence not supported for GPIO 84
    [    1.506161] gpio-regulator gpio-regulator-TLV71033: GPIO lookup for consumer enable
    [    1.506165] gpio-regulator gpio-regulator-TLV71033: using device tree for GPIO lookup
    [    1.506171] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/gpio-regulator-TLV71033[0]'
    [    1.506180] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/gpio-regulator-TLV71033[0]'
    [    1.506187] gpio-regulator gpio-regulator-TLV71033: using lookup tables for GPIO lookup
    [    1.506191] gpio-regulator gpio-regulator-TLV71033: No GPIO consumer enable found
    [    1.534562] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    1.611198] mmc0: Command Queue Engine enabled
    [    1.615660] mmc0: new HS200 MMC card at address 0001
    [    1.621189] mmcblk0: mmc0:0001 DG4016 14.7 GiB 
    [    1.630078]  mmcblk0: p1
    [    1.633222] mmcblk0boot0: mmc0:0001 DG4016 4.00 MiB 
    [    1.639346] mmcblk0boot1: mmc0:0001 DG4016 4.00 MiB 
    [    1.645410] mmcblk0rpmb: mmc0:0001 DG4016 4.00 MiB, chardev (238:0)
    [    1.665244] gpiochip_find_base: found new base at 337
    [    1.667052] gpio gpiochip4: (tps6594-gpio): added GPIO chardev (254:4)
    [    1.667127] gpio gpiochip4: registered GPIOs 337 to 347 on tps6594-gpio
    [    1.822157] tps6594-rtc tps6594-rtc.19.auto: registered as rtc0
    [    1.828986] tps6594-rtc tps6594-rtc.19.auto: setting system clock to 2000-01-01T00:00:00 UTC (946684800)
    [    1.838714] pca953x 9-0021: GPIO lookup for consumer reset
    [    1.838751] pca953x 9-0021: using device tree for GPIO lookup
    [    1.838766] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/bus@100000/bus@28380000/i2c@42120000/msd9548@73/i2c@7/gpio@21[0]'
    [    1.838820] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/bus@100000/bus@28380000/i2c@42120000/msd9548@73/i2c@7/gpio@21[0]'
    [    1.838848] pca953x 9-0021: using lookup tables for GPIO lookup
    [    1.838852] pca953x 9-0021: No GPIO consumer reset found
    [    1.838885] pca953x 9-0021: supply vcc not found, using dummy regulator
    [    1.845564] pca953x 9-0021: using no AI
    [    1.850383] gpiochip_find_base: found new base at 321
    [    1.850408] gpio gpiochip5: Persistence not supported for GPIO 0
    [    1.850725] gpio-321 (qsfp_1_top): hogged as output/low
    [    1.855989] gpio gpiochip5: Persistence not supported for GPIO 5
    [    1.856177] gpio-326 (qsfp_1_bottom): hogged as output/low
    [    1.861783] gpio gpiochip5: (9-0021): added GPIO chardev (254:5)
    [    1.861815] gpio gpiochip5: registered GPIOs 321 to 336 on 9-0021
    [    1.861934] pca953x 9-0020: GPIO lookup for consumer reset
    [    1.861939] pca953x 9-0020: using device tree for GPIO lookup
    [    1.861945] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/bus@100000/bus@28380000/i2c@42120000/msd9548@73/i2c@7/gpio@20[0]'
    [    1.861958] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/bus@100000/bus@28380000/i2c@42120000/msd9548@73/i2c@7/gpio@20[0]'
    [    1.861970] pca953x 9-0020: using lookup tables for GPIO lookup
    [    1.861973] pca953x 9-0020: No GPIO consumer reset found
    [    1.861988] pca953x 9-0020: supply vcc not found, using dummy regulator
    [    1.868687] pca953x 9-0020: using no AI
    [    1.873443] gpiochip_find_base: found new base at 305
    [    1.873455] gpio gpiochip6: Persistence not supported for GPIO 0
    [    1.873773] gpio-305 (qsfp_2_top): hogged as output/low
    [    1.878994] gpio gpiochip6: Persistence not supported for GPIO 5
    [    1.879180] gpio-310 (qsfp_2_bottom): hogged as output/low
    [    1.884752] gpio gpiochip6: (9-0020): added GPIO chardev (254:6)
    [    1.884777] gpio gpiochip6: registered GPIOs 305 to 320 on 9-0020
    [    1.885139] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc8900
    [    1.891955] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc8900
    [    1.899472] j721e-pcie-host 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    1.907407] j721e-pcie-host 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    1.915929] j721e-pcie-host 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    1.924446] j721e-pcie-host 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    1.933260] j721e-pcie-host 2910000.pcie: GPIO lookup for consumer reset
    [    1.933264] j721e-pcie-host 2910000.pcie: using device tree for GPIO lookup
    [    1.933277] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/bus@100000/pcie@2910000[0]' - status (0)
    [    1.933288] gpio gpiochip3: Persistence not supported for GPIO 18
    [    2.034618] j721e-pcie-host 2910000.pcie: Link up
    [    2.039509] j721e-pcie-host 2910000.pcie: PCI host bridge to bus 0000:00
    [    2.046216] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    2.051725] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x18001000-0x18010fff])
    [    2.061201] pci_bus 0000:00: root bus resource [mem 0x18011000-0x1fffffff]
    [    2.068105] pci 0000:00:00.0: [104c:b00f] type 01 class 0x060400
    [    2.074253] pci 0000:00:00.0: supports D1
    [    2.078274] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    2.084047] pci 0000:00:00.0: reg 0x224: [mem 0x00000000-0x003fffff 64bit]
    [    2.090923] pci 0000:00:00.0: VF(n) BAR0 space: [mem 0x00000000-0x00ffffff 64bit] (contains BAR0 for 4 VFs)
    [    2.103476] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    2.111636] pci 0000:01:00.0: [10ee:9032] type 00 class 0x050100
    [    2.117684] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x01ffffff]
    [    2.123969] pci 0000:01:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
    [    2.130776] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
    [    2.137425] pci 0000:00:00.0: BAR 14: assigned [mem 0x19000000-0x1bffffff]
    [    2.144305] pci 0000:00:00.0: BAR 7: assigned [mem 0x1c000000-0x1cffffff 64bit]
    [    2.151620] pci 0000:01:00.0: BAR 0: assigned [mem 0x1a000000-0x1bffffff]
    [    2.158413] pci 0000:01:00.0: BAR 1: assigned [mem 0x19000000-0x1900ffff]
    [    2.165206] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    2.170172] pci 0000:00:00.0:   bridge window [mem 0x19000000-0x1bffffff]
    [    2.177124] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
    [    2.183476] pcieport 0000:00:00.0: PME: Signaling with IRQ 519
    [    2.189682] pcieport 0000:00:00.0: AER: enabled with IRQ 519
    [    2.197865] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    2.209410] ti-udma 31150000.dma-controller: Channels: 50 (tchan: 25, rchan: 25, gp-rflow: 8)
    [    2.220965] tpm_tis_spi: probe of spi0.3 failed with error -110
    [    2.227283] davinci_mdio c000f00.mdio: Configuring MDIO in manual mode
    [    2.235402] mdio_bus c000f00.mdio: GPIO lookup for consumer reset
    [    2.235412] mdio_bus c000f00.mdio: using device tree for GPIO lookup
    [    2.235447] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/bus@100000/ethernet@c000000/mdio@f00[0]'
    [    2.235471] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/bus@100000/ethernet@c000000/mdio@f00[0]'
    [    2.235492] mdio_bus c000f00.mdio: using lookup tables for GPIO lookup
    [    2.235511] mdio_bus c000f00.mdio: No GPIO consumer reset found
    [    2.271874] davinci_mdio c000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    2.280278] mdio_bus c000f00.mdio:03: GPIO lookup for consumer reset
    [    2.280290] mdio_bus c000f00.mdio:03: using device tree for GPIO lookup
    [    2.280303] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/bus@100000/ethernet@c000000/mdio@f00/ethernet-phy@3[0]'
    [    2.280331] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/bus@100000/ethernet@c000000/mdio@f00/ethernet-phy@3[0]'
    [    2.280352] mdio_bus c000f00.mdio:03: using lookup tables for GPIO lookup
    [    2.280359] mdio_bus c000f00.mdio:03: No GPIO consumer reset found
    [    2.283046] davinci_mdio c000f00.mdio: phy[3]: device c000f00.mdio:03, driver RTL8211F-VD-CG Gigabit Ethernet
    [    2.293014] am65-cpsw-nuss c000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 5 quirks:00000000
    [    2.305879] am65-cpsw-nuss c000000.ethernet: Use random MAC address
    [    2.312227] am65-cpsw-nuss c000000.ethernet: initialized cpsw ale version 1.4
    [    2.319361] am65-cpsw-nuss c000000.ethernet: ALE Table size 512
    [    2.325873] am65-cpsw-nuss c000000.ethernet: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
    [    2.335194] of_get_named_gpiod_flags: can't parse 'link-gpios' property of node '/bus@100000/ethernet@c000000/ethernet-ports/port@2/fixed-link[0]'
    [    2.335209] of_get_named_gpiod_flags: can't parse 'link-gpio' property of node '/bus@100000/ethernet@c000000/ethernet-ports/port@2/fixed-link[0]'
    [    2.338659] am65-cpsw-nuss c000000.ethernet: set new flow-id-base 60
    [    2.346757] pca953x 3-0020: GPIO lookup for consumer reset
    [    2.346766] pca953x 3-0020: using device tree for GPIO lookup
    [    2.346773] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/bus@100000/bus@28380000/i2c@42120000/msd9548@73/i2c@1/gpio@20[0]'
    [    2.346795] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/bus@100000/bus@28380000/i2c@42120000/msd9548@73/i2c@1/gpio@20[0]'
    [    2.346807] pca953x 3-0020: using lookup tables for GPIO lookup
    [    2.346810] pca953x 3-0020: No GPIO consumer reset found
    [    2.346833] pca953x 3-0020: supply vcc not found, using dummy regulator
    [    2.347117] sdhci-am654 4fb0000.mmc: GPIO lookup for consumer cd
    [    2.353453] sdhci-am654 4fb0000.mmc: using device tree for GPIO lookup
    [    2.353460] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/bus@100000/mmc@4fb0000[0]'
    [    2.353470] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/bus@100000/mmc@4fb0000[0]'
    [    2.353477] sdhci-am654 4fb0000.mmc: using lookup tables for GPIO lookup
    [    2.353480] sdhci-am654 4fb0000.mmc: No GPIO consumer cd found
    [    2.353484] sdhci-am654 4fb0000.mmc: GPIO lookup for consumer wp
    [    2.353486] sdhci-am654 4fb0000.mmc: using device tree for GPIO lookup
    [    2.353490] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/bus@100000/mmc@4fb0000[0]'
    [    2.353497] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/bus@100000/mmc@4fb0000[0]'
    [    2.353502] sdhci-am654 4fb0000.mmc: using lookup tables for GPIO lookup
    [    2.353505] sdhci-am654 4fb0000.mmc: No GPIO consumer wp found
    [    2.353524] pca953x 3-0020: using no AI
    [    2.353703] mmc1: CQHCI version 5.10
    [    2.361757] gpiochip_find_base: found new base at 289
    [    2.361776] gpio gpiochip7: Persistence not supported for GPIO 12
    [    2.362091] gpio-301 (usb_power): hogged as output/high
    [    2.367433] gpio gpiochip7: (3-0020): added GPIO chardev (254:7)
    [    2.367465] gpio gpiochip7: registered GPIOs 289 to 304 on 3-0020
    [    2.368097] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
    [    2.376246] 
                   BSP Info:
    [    2.379998]  BSP Version     : iW-PRHEZ-SC-01-R2.1-REL0.1-XD2.0-V24.1-Linux6.1.80
    [    2.382632] 
                   OSM Info:
    [    2.393492]  OSM Version     : iG-PRHYZ-01-R1.1-CR24-1800003
    [    2.398497] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    2.398861]  BSP Version (Shipped)   : iG-PRHEZ-SC-01-R1.0-REL1.0-XD1.0-V24.1-Linux6.1.80
    [    2.414298]  PORT3 MAC Address       : fc:c2:3d:57:52:cf
    [    2.414301]  EEPROM Unique ID        : 0x1690880c34100010b05ba080a08000b4
    [    2.422293] 
                   SOM Info:
    [    2.432232]  SOM Version     : iG-PRHEZ-01-R1.0-CR24-3000001
    [    2.437602]  BSP Version (Shipped)   : iG-PRHEZ-SC-01-R1.0-REL1.0-XD1.0-V24.1-Linux6.1.80
    [    2.445648]  PORT1 MAC Address       : fc:c2:3d:57:53:3c
    [    2.445651]  PL Unique ID    : 0x40020000012987650580c1c5
    [    2.450494]  SOM EEPROM Unique ID    : 0x1690880c34100010b05ca080a08000a1
    [    2.456138]  Carrier Version : iW-PRGXD-AP-01-R2.0
    [    2.467494]  Carrier Card EEPROM is not programmed
    [    2.477143] ALSA device list:
    [    2.480139]   No soundcards found.
    [    2.483899] Waiting for root device /dev/mmcblk1p2...
    [    2.517667] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
    [    2.525099] mmcblk1: mmc1:aaaa SC16G 14.8 GiB 
    [    2.534588]  mmcblk1: p1 p2
    [    2.732019] EXT4-fs (mmcblk1p2): recovery complete
    [    2.737610] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [    2.746190] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    2.752377] devtmpfs: mounted
    [    2.756839] Freeing unused kernel memory: 2048K
    [    2.761519] Run /sbin/init as init process
    [    2.765622]   with arguments:
    [    2.765625]     /sbin/init
    [    2.765628]   with environment:
    [    2.765631]     HOME=/
    [    2.765634]     TERM=linux
    [    2.903198] systemd[1]: System time before build time, advancing clock.
    [    2.944829] NET: Registered PF_INET6 protocol family
    [    2.950643] Segment Routing with IPv6
    [    2.954328] In-situ OAM (IOAM) with IPv6
    [    2.978420] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LI)
    [    3.009973] systemd[1]: Detected architecture arm64.
    [    3.070769] systemd[1]: Hostname set to <j7200-iwg52m>.
    [    3.162691] systemd-sysv-generator[154]: SysV service '/etc/init.d/thermal-zone-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to .
    [    3.309263] systemd[1]: /lib/systemd/system/bt-enable.service:9: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the sett.
    [    3.357028] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the s.
    [    3.412288] systemd[1]: Queued start job for default target Graphical Interface.
    [    3.456371] systemd[1]: Created slice Slice /system/getty.
    [    3.477693] systemd[1]: Created slice Slice /system/modprobe.
    [    3.501904] systemd[1]: Created slice Slice /system/serial-getty.
    [    3.526053] systemd[1]: Created slice User and Session Slice.
    [    3.548367] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    3.572260] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    3.596373] systemd[1]: Reached target Path Units.
    [    3.612039] systemd[1]: Reached target Remote File Systems.
    [    3.632011] systemd[1]: Reached target Slice Units.
    [    3.648032] systemd[1]: Reached target Swaps.
    [    3.702140] systemd[1]: Listening on RPCbind Server Activation Socket.
    [    3.724115] systemd[1]: Reached target RPC Port Mapper.
    [    3.752381] systemd[1]: Listening on Process Core Dump Socket.
    [    3.776321] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    3.800665] systemd[1]: Listening on Journal Audit Socket.
    [    3.824533] systemd[1]: Listening on Journal Socket (/dev/log).
    [    3.848563] systemd[1]: Listening on Journal Socket.
    [    3.864671] systemd[1]: Listening on Network Service Netlink Socket.
    [    3.888639] systemd[1]: Listening on udev Control Socket.
    [    3.908407] systemd[1]: Listening on udev Kernel Socket.
    [    3.928456] systemd[1]: Listening on User Database Manager Socket.
    [    3.968346] systemd[1]: Mounting Huge Pages File System...
    [    3.993111] systemd[1]: Mounting POSIX Message Queue File System...
    [    4.021119] systemd[1]: Mounting Kernel Debug File System...
    [    4.048416] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
    [    4.092312] systemd[1]: Mounting Temporary Directory /tmp...
    [    4.118317] systemd[1]: Starting Create List of Static Device Nodes...
    [    4.144565] systemd[1]: Starting Load Kernel Module configfs...
    [    4.172577] systemd[1]: Starting Load Kernel Module drm...
    [    4.208663] systemd[1]: Starting Load Kernel Module fuse...
    [    4.224346] fuse: init (API version 7.37)
    [    4.256545] systemd[1]: Starting RPC Bind...
    [    4.276243] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [    4.312775] systemd[1]: Starting Journal Service...
    [    4.335456] systemd[1]: Starting Load Kernel Modules...
    [    4.360700] systemd[1]: Starting Generate network units from Kernel command line...
    [    4.370543] cryptodev: loading out-of-tree module taints kernel.
    [    4.381693] cryptodev: driver 1.12 loaded.
    [    4.404758] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    4.425314] systemd[1]: Starting Coldplug All udev Devices...
    [    4.439679] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    [    4.462445] systemd[1]: Started RPC Bind.
    [    4.488518] systemd[1]: Mounted Huge Pages File System.
    [    4.508425] systemd[1]: Mounted POSIX Message Queue File System.
    [    4.536432] systemd[1]: Started Journal Service.
    [    4.782773] systemd-journald[168]: Received client request to flush runtime journal.
    [    5.013230] audit: type=1334 audit(1651167747.108:2): prog-id=5 op=LOAD
    [    5.020453] audit: type=1334 audit(1651167747.116:3): prog-id=6 op=LOAD
    [    5.554155] random: crng init done
    [    5.630689] at24 1-0052: supply vcc not found, using dummy regulator
    [    5.642899] at24 1-0052: GPIO lookup for consumer wp
    [    5.642910] at24 1-0052: using device tree for GPIO lookup
    [    5.642920] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/bus@100000/bus@28380000/i2c@40b00000/eeprom@52[0]'
    [    5.642934] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/bus@100000/bus@28380000/i2c@40b00000/eeprom@52[0]'
    [    5.642945] at24 1-0052: using lookup tables for GPIO lookup
    [    5.642949] at24 1-0052: No GPIO consumer wp found
    [    5.644574] at24 1-0052: 256 byte 24mac402 EEPROM, read-only
    [    5.655111] at24 1-0050: supply vcc not found, using dummy regulator
    [    5.662284] at24 1-0050: GPIO lookup for consumer wp
    [    5.662292] at24 1-0050: using device tree for GPIO lookup
    [    5.662303] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/bus@100000/bus@28380000/i2c@40b00000/eeprom@50[0]'
    [    5.662463] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/bus@100000/bus@28380000/i2c@40b00000/eeprom@50[0]'
    [    5.662479] at24 1-0050: using lookup tables for GPIO lookup
    [    5.662483] at24 1-0050: No GPIO consumer wp found
    [    5.662799] at24 1-0050: 512 byte 24c04 EEPROM, writable, 16 bytes/write
    [    5.678326] at24 0-0054: supply vcc not found, using dummy regulator
    [    5.697971] at24 0-0054: GPIO lookup for consumer wp
    [    5.697982] at24 0-0054: using device tree for GPIO lookup
    [    5.697990] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/bus@100000/bus@28380000/i2c@42120000/eeprom@54[0]'
    [    5.698007] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/bus@100000/bus@28380000/i2c@42120000/eeprom@54[0]'
    [    5.698019] at24 0-0054: using lookup tables for GPIO lookup
    [    5.698022] at24 0-0054: No GPIO consumer wp found
    [    5.698372] at24 0-0054: 256 byte 24mac402 EEPROM, read-only
    [    5.768816] typec_fusb302 9-0022: supply vbus not found, using dummy regulator
    [    5.773957] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    5.790000] typec_fusb302 9-0022: GPIO lookup for consumer fcs,int_n
    [    5.790011] typec_fusb302 9-0022: using device tree for GPIO lookup
    [    5.790022] of_get_named_gpiod_flags: can't parse 'fcs,int_n-gpios' property of node '/bus@100000/bus@28380000/i2c@42120000/msd9548@73/i2c@7/typec-portc@22[0]'
    [    5.790042] of_get_named_gpiod_flags: can't parse 'fcs,int_n-gpio' property of node '/bus@100000/bus@28380000/i2c@42120000/msd9548@73/i2c@7/typec-portc@22[0]'
    [    5.790063] of_get_named_gpiod_flags: parsed 'fcs,int_n' property of node '/bus@100000/bus@28380000/i2c@42120000/msd9548@73/i2c@7/typec-portc@22[0]' - status (0)
    [    5.790082] gpio gpiochip7: Persistence not supported for GPIO 15
    [    5.791049] of_get_named_gpiod_flags: can't parse 'fcs,power_en' property of node '/bus@100000/bus@28380000/i2c@42120000/msd9548@73/i2c@7/typec-portc@22[0]'
    [    5.794986] platform 41000000.r5f: configured R5F for IPC-only mode
    [    5.795176] OF: graph: no port node found in /bus@100000/bus@28380000/i2c@42120000/msd9548@73/i2c@7/typec-portc@22
    [    5.809499] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [    5.823481] remoteproc remoteproc0: 41000000.r5f is available
    [    5.834202] remoteproc remoteproc0: attaching to 41000000.r5f
    [    5.843347] platform 41000000.r5f: R5F core initialized in IPC-only mode
    [    5.855085] rproc-virtio rproc-virtio.21.auto: assigned reserved memory node r5f-dma-memory@a0000000
    [    5.868212] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    5.873089] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    5.873900] rproc-virtio rproc-virtio.21.auto: registered virtio0 (type 7)
    [    5.883476] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    5.888182] remoteproc remoteproc0: remote processor 41000000.r5f is now attached
    [    5.929443] invalid GPIO -2
    [    5.932744] platform 41400000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    5.945929] invalid GPIO -2
    [    5.960681] platform 41400000.r5f: configured R5F for IPC-only mode
    [    6.048436] platform 41400000.r5f: assigned reserved memory node r5f-dma-memory@a1000000
    [    6.115839] remoteproc remoteproc1: 41400000.r5f is available
    [    6.158595] remoteproc remoteproc1: attaching to 41400000.r5f
    [    6.177544] platform 41400000.r5f: R5F core initialized in IPC-only mode
    [    6.212174] rproc-virtio rproc-virtio.22.auto: assigned reserved memory node r5f-dma-memory@a1000000
    [    6.224173] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    6.231204] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
    [    6.241287] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
    [    6.282967] rproc-virtio rproc-virtio.22.auto: registered virtio1 (type 7)
    [    6.291545] remoteproc remoteproc1: remote processor 41400000.r5f is now attached
    [    6.312022] platform 5c00000.r5f: configured R5F for IPC-only mode
    [    6.321264] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
    [    6.338039] remoteproc remoteproc2: 5c00000.r5f is available
    [    6.352795] remoteproc remoteproc2: attaching to 5c00000.r5f
    [    6.372156] platform 5c00000.r5f: R5F core initialized in IPC-only mode
    [    6.395582] rproc-virtio rproc-virtio.23.auto: assigned reserved memory node r5f-dma-memory@a2000000
    [    6.451328] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    6.457188] virtio_rpmsg_bus virtio2: creating channel ti.ipc4.ping-pong addr 0xd
    [    6.467172] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xe
    [    6.498529] rproc-virtio rproc-virtio.23.auto: registered virtio2 (type 7)
    [    6.507659] remoteproc remoteproc2: remote processor 5c00000.r5f is now attached
    [    6.521828] platform 5d00000.r5f: configured R5F for IPC-only mode
    [    6.535251] platform 5d00000.r5f: assigned reserved memory node r5f-dma-memory@a3000000
    [    6.553470] remoteproc remoteproc3: 5d00000.r5f is available
    [    6.566351] remoteproc remoteproc3: attaching to 5d00000.r5f
    [    6.578642] platform 5d00000.r5f: R5F core initialized in IPC-only mode
    [    6.586037] rproc-virtio rproc-virtio.24.auto: assigned reserved memory node r5f-dma-memory@a3000000
    [    6.601037] virtio_rpmsg_bus virtio3: rpmsg host is online
    [    6.607130] rproc-virtio rproc-virtio.24.auto: registered virtio3 (type 7)
    [    6.609082] virtio_rpmsg_bus virtio3: creating channel ti.ipc4.ping-pong addr 0xd
    [    6.615259] remoteproc remoteproc3: remote processor 5d00000.r5f is now attached
    [    6.625666] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0xe
    [    7.104201] audit: type=1334 audit(1651168644.060:4): prog-id=7 op=LOAD
    [    7.111227] audit: type=1334 audit(1651168644.064:5): prog-id=8 op=LOAD
    [    7.606302] audit: type=1334 audit(1651168644.560:6): prog-id=9 op=LOAD
    [    7.619968] audit: type=1334 audit(1651168644.576:7): prog-id=10 op=LOAD
    [    8.005469] Bluetooth: Core ver 2.22
    [    8.009196] NET: Registered PF_BLUETOOTH protocol family
    [    8.019907] Bluetooth: HCI device and connection manager initialized
    [    8.031648] Bluetooth: HCI socket layer initialized
    [    8.031660] Bluetooth: L2CAP socket layer initialized
    [    8.031676] Bluetooth: SCO socket layer initialized
    [    8.104306] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    8.132892] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    8.140068] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [    8.315991] am65-cpsw-nuss c000000.ethernet eth1: PHY [c000f00.mdio:03] driver [RTL8211F-VD-CG Gigabit Ethernet] (irq=POLL)
    [    8.337385] am65-cpsw-nuss c000000.ethernet eth1: configuring for phy/rgmii-id link mode
    [    8.399896] am65-cpsw-nuss c000000.ethernet eth0: configuring for fixed/rgmii link mode
    [    8.414307] am65-cpsw-nuss c000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
    [    8.426184] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [    8.925674] audit: type=1334 audit(1651168645.880:8): prog-id=11 op=LOAD
    [    8.934459] audit: type=1334 audit(1651168645.888:9): prog-id=12 op=LOAD
    [    9.337623] audit: type=1006 audit(1651168646.292:10): pid=570 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
    [    9.355578] audit: type=1300 audit(1651168646.292:10): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffd8dad1d8 a2=4 a3=ffff80383020 items=0 ppid=1 pid=570 auid=1000 uid=0 gid=0 euid=0 suid=0 f)
    [    9.412448] audit: type=1327 audit(1651168646.292:10): proctitle="(systemd)"
    [    9.807581] audit: type=1006 audit(1651168646.760:11): pid=560 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=2 res=1
    [   18.861722] kauditd_printk_skb: 2 callbacks suppressed
    [   18.861730] audit: type=1006 audit(1651168655.816:12): pid=956 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=3 res=1
    [   18.888231] audit: type=1300 audit(1651168655.816:12): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffd8dad1d8 a2=1 a3=ffff80383020 items=0 ppid=1 pid=956 auid=0 uid=0 gid=0 euid=0 suid=0 fsui)
    [   18.931926] audit: type=1327 audit(1651168655.816:12): proctitle="(systemd)"
    [   18.943965] audit: type=1334 audit(1651168655.844:13): prog-id=13 op=LOAD
    [   18.950805] audit: type=1300 audit(1651168655.844:13): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffd5f14750 a2=78 a3=0 items=0 ppid=1 pid=956 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=)
    [   18.999904] audit: type=1327 audit(1651168655.844:13): proctitle="(systemd)"
    [   19.011889] audit: type=1334 audit(1651168655.876:14): prog-id=13 op=UNLOAD
    [   19.023882] audit: type=1334 audit(1651168655.876:15): prog-id=14 op=LOAD
    [   19.030675] audit: type=1300 audit(1651168655.876:15): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffd5f147f0 a2=78 a3=0 items=0 ppid=1 pid=956 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=)
    [   19.075904] audit: type=1327 audit(1651168655.876:15): proctitle="(systemd)"
    
    

    Thanks and Regards,
    Subashini

  • Hi Subashini,

     

    As per your previous reference, I updated J721E_WKUP_IOPAD(0x64, PIN_OUTPUT, 0) to J721E_WKUP_IOPAD(0x64, PIN_OUTPUT, 2)

    Instead of 0x64, it should be 0x6C for the TPM CS, that should have the muxing for 2. The 0x64 for CS0 is fine to leave at 0.

    I would recommend using the sysconfig tool for pinmuxing, or reviewing the datasheet.

    Regards,

    Takuma

  • Hi Takuma,

    I am using the below DTSi entry only, and still the chip select line is going low to high.

    &wkup_pmx2 {
    spi_pins_default: spi-pins-default {
    pinctrl-single,pins = <
    J721E_WKUP_IOPAD(0x58, PIN_INPUT, 0) /* (B18) WKUP_GPIO0_0.MCU_SPI1_CLK */
    J721E_WKUP_IOPAD(0x5c, PIN_OUTPUT, 0) /* (B19) WKUP_GPIO0_1.MCU_SPI1_D0 */
    J721E_WKUP_IOPAD(0x60, PIN_INPUT, 0) /* (D14) WKUP_GPIO0_2.MCU_SPI1_D1 */
    J721E_WKUP_IOPAD(0x06c, PIN_OUTPUT, 2) /* (B16) WKUP_GPIO0_5.MCU_SPI1_CS3 */

    >;
    };
    };
    &main_pmx0 {
    tpm_reset_pins_default: tpm_reset-default-pins {
    pinctrl-single,pins = <
    J721E_IOPAD(0x0c0, PIN_OUTPUT, 7) /* (W3) SPI0_CS0.GPIO0_51 */
    >;
    };
    };
    &main_gpio0 {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&tpm_reset_pins_default>;
    };
    &mcu_spi1 {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&spi_pins_default>;
    ti,spi-num-cs = <4>;
    ti,pindir-d0-out-d1-in;
    tpm@3 {
    compatible = "tcg,tpm_tis-spi";
    reg = <3>;
    spi-max-frequency = <16000000>;
    reset-gpios = <&main_gpio0 51 GPIO_ACTIVE_HIGH>;
    status = "okay";
    };
    };

    Thanks and Regards,
    Subashini

  • Hi Subashini,

    I see in TPM datasheet that the reset signal is active low instead of active high:

    Regards,

    Takuma

  • Hi Takuma,

    I have tried configuring reset-gpios = <&main_gpio0 51 GPIO_ACTIVE_LOW>; However, the chip select line is still toggling from low to high.

    Could you please let me know if there are any limitations with MCU SPI1? We observed that CS0 is working properly, but CS3 appears to have a chip select polarity inversion issue.

    Also, could you confirm whether MCU SPI1 supports multiple slave devices connected across different chip select lines?

    Thanks and Regards,
    Subashini

  • Hi Takuma,

    I probed the TPM reset pin and observed that it stays low throughout the entire boot process. However, the expected behavior is that the reset line should remain high when the board powers on, and during TPM driver loading it should toggle from high to low.

    To address this, I configured the TPM reset GPIO as high using the gpio-hog property in the DTSI. After this change, the reset line goes high during TPM driver loading, but it remains high continuously and does not toggle as expected.

    I also tried changing the GPIO value through the kernel sysfs interface and probed the signal using the CRO. On the CRO, the GPIO value is toggling correctly, but in the kernel it still shows the value as 0.

    Is there any workaround or recommended approach to make the GPIO toggle properly during runtime?

    Thanks and Regards,
    Subashini

  • Hi Subashini,

    Issue is now most likely with the specific driver for TPM then. You have a reset-gpio defined in devicetree, but I do not see reset-gpio property in the yaml Documentation of the kernel code.

    Please reference: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/Documentation/devicetree/bindings/tpm/tcg,tpm_tis-spi.yaml?h=ti-linux-6.12.y

    There looks to be a "lpcpd-gpios" property instead, which sounds the closest to a reset GPIO pin. In any case, would recommend looking through the TPM device driver as a next step, since McSPI interface itself looks to be functioning with the Microchip SRAM device. 

    Regards,

    Takuma

  • Hi Takuma,

    After updating the reset property as per your reference, TPM is working, but I am getting the below kernel crash related to an interrupt while testing the TPM. In my dtsi under the TPM node, I didn't give an interrupt property because the TPM device doesn't have an interrupt. Could you please help us to resolve this crash issue? 

    test log
    ======
    root@j7200-iwg52m:~# /usr/share/wolftpm/example/wrap_test
    TPM2 Demo for Wrapper API's
    Mfg MCHP (3), Vendor , Fw 512.20482 (0), FIPS 140-2 0, CC-EAL4 0
    RSA Encrypt/Decrypt Test Passed
    RSA Encrypt/Decrypt OAEP Test Passed
    RSA Key 0x80000001 Exported to wolf RsaKey
    wolf RsaKey loaded into TPM: Handle 0x80000000
    RSA Private Key Loaded into TPM: Handle 0x80000001
    ECC Sign/Verify Passed
    ECC DH Test Passed
    ECC Verify Test Passed
    ECC Key 0x80000001 Exported to wolf ecc_key
    wolf ecc_key loaded into TPM: Handle 0x80000000
    ECC Private Key Loaded into TPM: Handle 0x80000001
    NV Test (with auth) on index 0x1800201 with 1024 bytes passed
    [ 121.593263] irq 266: nobody cared (try booting with the "irqpoll" option)
    [ 121.600053] CPU: 0 PID: 47 Comm: kworker/0:2 Tainted: G O 6.1.80-ti-g1c154b1fe4c4 #1
    [ 121.609171] Hardware name: Texas Instruments K3 J7200 SoC (DT)
    [ 121.614991] Workqueue: tpm_dev_wq tpm_dev_async_work
    [ 121.619964] Call trace:
    [ 121.622403] dump_backtrace.part.0+0xdc/0xf0
    [ 121.626674] show_stack+0x18/0x30
    [ 121.629986] dump_stack_lvl+0x68/0x84
    [ 121.633645] dump_stack+0x18/0x34
    [ 121.636955] __report_bad_irq+0x4c/0xdc
    [ 121.640786] note_interrupt+0x33c/0x3a0
    [ 121.644617] handle_irq_event+0x9c/0xbc
    [ 121.648445] handle_simple_irq+0x9c/0x10c
    [ 121.652447] generic_handle_domain_irq+0x2c/0x44
    [ 121.657062] gpio_irq_handler+0x9c/0x120
    [ 121.660980] generic_handle_domain_irq+0x2c/0x44
    [ 121.665593] gic_handle_irq+0x50/0x124
    [ 121.669335] call_on_irq_stack+0x24/0x4c
    [ 121.673252] do_interrupt_handler+0x80/0x8c
    [ 121.677428] el1_interrupt+0x34/0x70
    [ 121.680998] el1h_64_irq_handler+0x18/0x2c
    [ 121.685089] el1h_64_irq+0x64/0x68
    [ 121.688482] mcspi_wait_for_reg_bit+0x14/0x54
    [ 121.692832] spi_transfer_one_message+0x29c/0x670
    [ 121.697533] __spi_pump_transfer_message+0x228/0x490
    [ 121.702491] __spi_sync+0x2d0/0x3cc
    [ 121.705975] spi_sync_locked+0x10/0x1c
    [ 121.709720] tpm_tis_spi_transfer+0x1ec/0x250
    [ 121.714074] tpm_tis_spi_read_bytes+0x14/0x20
    [ 121.718427] tpm_tis_status+0x54/0x100
    [ 121.722172] wait_for_tpm_stat+0x5c/0x270
    [ 121.726179] recv_data+0xb0/0x130
    [ 121.729490] tpm_tis_recv+0x4c/0x1f0
    [ 121.733062] tpm_transmit+0x178/0x350
    [ 121.736719] tpm_dev_transmit.constprop.0+0x90/0xe4
    [ 121.741590] tpm_dev_async_work+0x80/0xb0
    [ 121.745594] process_one_work+0x1d0/0x320
    [ 121.749600] worker_thread+0x14c/0x444
    [ 121.753346] kthread+0x10c/0x110
    [ 121.756570] ret_from_fork+0x10/0x20
    [ 121.760140] handlers:
    [ 121.762403] [<000000003235e19d>] irq_default_primary_handler threaded [<0000000014045015>] regmap_irq_thread
    [ 121.772229] Disabling IRQ #266
    NV Test on index 0x1800200 with 1024 bytes passed
    Hash SHA256 test success
    HMAC SHA256 test success
    Encrypt/Decrypt (known key) test success
    Encrypt/Decrypt test success
    PCR Test pass
    root@j7200-iwg52m:~#

    DTSI entry
    ----------------

    &main_pmx0 {
    tpm_reset_pins_default: tpm-reset-pins-default {
    pinctrl-single,pins = <
    J721E_IOPAD(0x0c0, PIN_OUTPUT_PULLUP, 7)
    >;
    };
    };
    &main_gpio0 {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&tpm_reset_pins_default>;
    };

    &wkup_pmx2 {

    spi_pins_default: spi-pins-default {
    pinctrl-single,pins = <
    J721E_WKUP_IOPAD(0x58, PIN_INPUT, 0) /* (B18) WKUP_GPIO0_0.MCU_SPI1_CLK */
    J721E_WKUP_IOPAD(0x5c, PIN_OUTPUT, 0) /* (B19) WKUP_GPIO0_1.MCU_SPI1_D0 */
    J721E_WKUP_IOPAD(0x60, PIN_INPUT, 1) /* (D14) WKUP_GPIO0_2.MCU_SPI1_D1 */
    J721E_WKUP_IOPAD(0x06c, PIN_OUTPUT, 2) /* (B16) WKUP_GPIO0_5 TPM CS*/

    >;
    };

    };

    &mcu_spi1 {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&spi_pins_default>;
    ti,spi-num-cs = <4>;
    ti,pindir-d0-out-d1-in;
    tpm@3 {
    compatible = "tcg,tpm_tis-spi";
    reg = <3>;
    spi-max-frequency = <16000000>;
    lpcpd-gpios = <&main_gpio0 51 GPIO_ACTIVE_HIGH>;
    status = "okay";
    };
    };

    Thanks and Regards,
    Subashini



  • Hi Subashini,

    I think issue has moved more towards debugging TPM device. Disclaimer that our knowledge for this device will be limited. 

    Does the TPM device have a physical interrupt pin that is connected on your system?

    Regards,

    Takuma

  • Hi Takuma,

    TPM doesn't have an interrupt; only the MCU SPI1 has an interrupt as shown below.

    mcu_spi1: spi@40310000 {
    compatible = "ti,am654-mcspi", "ti,omap4-mcspi";
    reg = <0x00 0x040310000 0x00 0x400>;
    interrupts = <GIC_SPI 849 IRQ_TYPE_LEVEL_HIGH>;
    #address-cells = <1>;
    #size-cells = <0>;
    power-domains = <&k3_pds 275 TI_SCI_PD_EXCLUSIVE>;
    clocks = <&k3_clks 275 4>;
    status = "disabled";
    };

    Thanks and Regards,
    Subashini

  • Hi Subashini,

    I recommend reading the datasheet of the device. The TPM datasheet looks to have an extra IRQ pin that is not present for the SRAM that you are using:

    Since the SRAM is working, I suspect the issue is specific to TPM, so please review the TPM datasheet and software to see if there is anything that stands out.

    Regards,

    Takuma

  • Hi Takuma,

    As per the TPM device's datasheet, we are not using the interrupt pin; also, it is connected to a 4.7K-ohm resistor. 

    Thanks and Regards,
    Subashini.

  • Hi Subashini,

    I reviewed the dts again. Looks like this line changed pinmuxing in the latest tests:

    J721E_WKUP_IOPAD(0x60, PIN_INPUT, 1) /* (D14) WKUP_GPIO0_2.MCU_SPI1_D1 */

    Can you change this back to 0 instead of 1?

    Regards,

    Takuma

  • Hi Takuma,

    I changed the input pin configuration to J721E_WKUP_IOPAD(0x60, PIN_INPUT, 0), but the crash is still observed. Upon checking the interrupts, it appears that the PMIC interrupt is causing the crash while testing the TPM driver. Below are the attached PMIC DTSI entries and the interrupt list.

    &wkup_i2c0 {
     status = "okay";
     pinctrl-names = "default";
     pinctrl-0 = <&wkup_i2c0_pins_default>;
     clock-frequency = <400000>;

     tps659414: pmic@48 {
     compatible = "ti,tps6594-q1";
     reg = <0x48>;
     ti,primary-pmic;
     system-power-controller;

     pinctrl-names = "default";
     pinctrl-0 = <&pmic_irq_pins_default>;
     interrupt-parent = <&wkup_gpio0>;
     interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
    };

    &wkup_pmx0 {
     pmic_irq_pins_default: pmic-irq-pins-default {
     pinctrl-single,pins = <
    J721E_WKUP_IOPAD(0x0, PIN_INPUT, 7) /* (U6) EXTINTn.GPIO0_0*/
     >;
     };
    };

    root@j7200-iwg52m:~# cat /proc/interrupts
    CPU0 CPU1
    11: 21707 43508 GICv3 30 Level arch_timer
    14: 0 0 GICv3 23 Level arm-pmu
    15: 10801 0 GICv3 69 Level 32c00000.mailbox thr_011
    16: 153 0 GICv3 884 Level 40b00000.i2c
    17: 831961 0 GICv3 928 Level 42120000.i2c
    18: 0 0 MSI-INTA 15401056 Level 285c0000.dma-controller chan0
    19: 0 0 MSI-INTA 15401057 Level 285c0000.dma-controller chan1
    20: 0 0 MSI-INTA 15401058 Level 285c0000.dma-controller chan2
    50: 0 0 MSI-INTA 13828216 Level 31150000.dma-controller chan0
    251: 767 0 GICv3 224 Level 2800000.serial
    252: 5 0 GICv3 225 Level
    253: 0 0 GICv3 881 Level 40310000.spi
    254: 0 0 INTR 391 Level 310d0000.cpts
    255: 0 0 GICv3 128 Level xhci-hcd:usb1
    257: 0 0 GICv3 152 Level 6000000.usb
    258: 554 0 GICv3 35 Level mmc0
    265: 300001 0 GPIO 0 Edge -davinci_gpio tps6594-0-0x48
    407: 0 0 GPIO 52 Edge -davinci_gpio 9-0021
    424: 0 0 tps6594-0-0x48 0 Edge buck1_ov
    425: 0 0 tps6594-0-0x48 1 Edge buck1_uv
    426: 0 0 tps6594-0-0x48 2 Edge buck1_sc
    427: 0 0 tps6594-0-0x48 3 Edge buck1_ilim
    428: 0 0 tps6594-0-0x48 4 Edge buck2_ov
    429: 0 0 tps6594-0-0x48 5 Edge buck2_uv
    430: 0 0 tps6594-0-0x48 6 Edge buck2_sc
    431: 0 0 tps6594-0-0x48 7 Edge buck2_ilim
    432: 0 0 tps6594-0-0x48 8 Edge buck3_ov
    433: 0 0 tps6594-0-0x48 9 Edge buck3_uv
    434: 0 0 tps6594-0-0x48 10 Edge buck3_sc
    435: 0 0 tps6594-0-0x48 11 Edge buck3_ilim
    436: 0 0 tps6594-0-0x48 12 Edge buck4_ov
    437: 0 0 tps6594-0-0x48 13 Edge buck4_uv
    438: 0 0 tps6594-0-0x48 14 Edge buck4_sc
    439: 0 0 tps6594-0-0x48 15 Edge buck4_ilim
    440: 0 0 tps6594-0-0x48 16 Edge buck5_ov
    441: 0 0 tps6594-0-0x48 17 Edge buck5_uv
    442: 0 0 tps6594-0-0x48 18 Edge buck5_sc
    443: 0 0 tps6594-0-0x48 19 Edge buck5_ilim
    444: 0 0 tps6594-0-0x48 20 Edge ldo1_ov
    445: 0 0 tps6594-0-0x48 21 Edge ldo1_uv
    446: 0 0 tps6594-0-0x48 22 Edge ldo1_sc
    447: 0 0 tps6594-0-0x48 23 Edge ldo1_ilim
    448: 0 0 tps6594-0-0x48 24 Edge ldo2_ov
    449: 0 0 tps6594-0-0x48 25 Edge ldo2_uv
    450: 0 0 tps6594-0-0x48 26 Edge ldo2_sc
    451: 0 0 tps6594-0-0x48 27 Edge ldo2_ilim
    452: 0 0 tps6594-0-0x48 28 Edge ldo3_ov
    453: 0 0 tps6594-0-0x48 29 Edge ldo3_uv
    454: 0 0 tps6594-0-0x48 30 Edge ldo3_sc
    455: 0 0 tps6594-0-0x48 31 Edge ldo3_ilim
    456: 0 0 tps6594-0-0x48 32 Edge ldo4_ov
    457: 0 0 tps6594-0-0x48 33 Edge ldo4_uv
    458: 0 0 tps6594-0-0x48 34 Edge ldo4_sc
    459: 0 0 tps6594-0-0x48 35 Edge ldo4_ilim
    460: 0 0 tps6594-0-0x48 36 Edge vcca_ov
    461: 0 0 tps6594-0-0x48 37 Edge vcca_uv
    479: 0 0 tps6594-0-0x48 55 Edge npwron_start
    480: 0 0 tps6594-0-0x48 56 Edge enable
    481: 0 0 tps6594-0-0x48 57 Edge fsd
    482: 0 0 tps6594-0-0x48 58 Edge soft_reboot
    483: 0 0 tps6594-0-0x48 59 Edge bist_pass
    484: 0 0 tps6594-0-0x48 60 Edge ext_clk
    485: 0 0 tps6594-0-0x48 61 Edge twarn
    486: 0 0 tps6594-0-0x48 62 Edge tsd_ord
    487: 0 0 tps6594-0-0x48 63 Edge bist_fail
    488: 0 0 tps6594-0-0x48 64 Edge reg_crc_err
    489: 0 0 tps6594-0-0x48 65 Edge recov_cnt
    490: 0 0 tps6594-0-0x48 66 Edge spmi_err
    491: 0 0 tps6594-0-0x48 67 Edge npwron_long
    492: 0 0 tps6594-0-0x48 68 Edge nint_readback
    493: 0 0 tps6594-0-0x48 69 Edge nrstout_readback
    494: 0 0 tps6594-0-0x48 70 Edge tsd_imm
    495: 0 0 tps6594-0-0x48 71 Edge vcca_ovp
    496: 0 0 tps6594-0-0x48 72 Edge pfsm_err
    497: 0 0 tps6594-0-0x48 73 Edge imm_shutdown
    498: 0 0 tps6594-0-0x48 74 Edge ord_shutdown
    499: 0 0 tps6594-0-0x48 75 Edge mcu_pwr_err
    500: 0 0 tps6594-0-0x48 76 Edge soc_pwr_err
    501: 0 0 tps6594-0-0x48 77 Edge comm_frm_err
    502: 0 0 tps6594-0-0x48 78 Edge comm_crc_err
    503: 0 0 tps6594-0-0x48 79 Edge comm_adr_err
    504: 0 0 tps6594-0-0x48 82 Edge en_drv_readback
    505: 0 0 tps6594-0-0x48 83 Edge nrstout_soc_readback
    506: 0 0 tps6594-0-0x48 84 Edge esm_soc_pin
    507: 0 0 tps6594-0-0x48 85 Edge esm_soc_fail
    508: 0 0 tps6594-0-0x48 86 Edge esm_soc_rst
    510: 0 0 tps6594-0-0x48 88 Edge alarm
    512: 0 0 9-0021 15 Edge 9-0020
    513: 6 0 INTR 436 Level mbox-mcu-r5fss0-core0, mbox-mcu-r5fss0-core1
    514: 6 0 INTR 432 Level mbox-main-r5fss0-core0, mbox-main-r5fss0-core1
    569: 0 0 MSI-INTA 13893764 Edge 31150000.dma-controller chan0
    593: 0 0 9-0020 15 Edge 3-0020
    594: 10143 0 GICv3 36 Level mmc1
    596: 0 0 GICv3 892 Level TI-am335x-adc.20.auto
    599: 0 0 3-0020 15 Edge fsc_interrupt_int_n
    IPI0: 1840 265465 Rescheduling interrupts
    IPI1: 4033 196887 Function call interrupts
    IPI2: 0 0 CPU stop interrupts
    IPI3: 0 0 CPU stop (for crash dump) interrupts
    IPI4: 0 0 Timer broadcast interrupts
    IPI5: 1010 1930 IRQ work interrupts
    IPI6: 0 0 CPU wake-up interrupts
    Err: 0
    root@j7200-iwg52m:~#

    Thanks and Regards,
    Subashini

  • Hi Subashini,

    Good find. Although, strange the PMIC is acting up. Does the PMIC interrupt only come when the TPM is tested? Or does the interrupt trigger regardless of whether TPM is initialized or not?

    And is it possible to experimentally take out the PMIC interrupts to see if that interrupt is the cause of the issue?

    Regards,

    Takuma

  • Hi Takuma,

    Yes, the PMIC interrupt is occurring only when the TPM is tested. Before TPM initialization, we did not observe any crash. The crash happens only after the TPM driver initialization.

    While checking further, I found that the PMIC controller was configured as:

    interrupt-parent = <&wkup_gpio0>;

    However, it should be configured to use main_gpio. Also, the interrupt pinmux configuration needs to be updated as shown below since the interrupt is connected to EXTINTn.GPIO0_0:

    J721E_IOPAD(0x0, PIN_INPUT, 7) /* (U6) EXTINTn.GPIO0_0 */

    After updating these configurations, the crash is no longer observed.

    Thank you for your support throughout this case. You may proceed to close this case.

    Thanks and Regards,

    Subashini

  • Hi Subashini,

    Awesome! Glad we were able to figure it out.

    Regards,

    Takuma