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.

AM6548: Kernel stop output messages in console

Part Number: AM6548
Other Parts Discussed in Thread: PCA9554,

Our customized board: what we had done were only changing the size of memory from 4GB to 1GB, this image was based on tisdk-default-image-am65xx-evm.tar.xz in SDK _07_03_00_07.  kernel stopped output messages in console,  the output messages list in the attached file:

U-Boot SPL 2020.01-00001-gd5c1218822-dirty (Sep 13 2021 - 13:00:42 +0800)
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
Reading on-board EEPROM at 0x50 failed 1
i2c_write: error waiting for data ACK (status=0x116)
SPL initial stack usage: 1452 bytes
Trying to boot from MMC2
i2c_write: error waiting for data ACK (status=0x116)
Starting ATF on ARM64 core...

NOTICE:  BL31: v2.4(release):2021.00.003-dirty
NOTICE:  BL31: Built : 17:45:38, May 21 2021

U-Boot SPL 2020.01-00001-gd5c1218822-dirty (Sep 13 2021 - 13:00:22 +0800)
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19
Reading on-board EEPROM at 0x50 failed 1
i2c_write: error waiting for data ACK (status=0x116)
Error reading output register
Trying to boot from MMC2


U-Boot 2020.01-00001-gd5c1218822-dirty (Sep 13 2021 - 13:00:22 +0800)

SoC:   AM65X SR2.0
Model: Texas Instruments AM654 Base Board
pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19
Reading on-board EEPROM at 0x50 failed 1
Board: AM6-COMPROCEVM rev E3
DRAM:  1 GiB
MMC:   sdhci@4f80000: 0, sdhci@4fa0000: 1
Loading Environment from MMC... sdhci_send_command: Timeout for status update!
mmc_init: -110, time 1010
*** Warning - No block device, using default environment

In:    serial
Out:   serial
Err:   serial
Reading on-board EEPROM at 0x50 failed 1
i2c_write: error waiting for data ACK (status=0x116)
Error reading output register
Net:   K3 CPSW: nuss_ver: 0x6BA00102 cpsw_ver: 0x6BA80102 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000

Warning: ethernet@46000000 using MAC address from ROM
eth0: ethernet@46000000Could not get PHY for pruss2_eth: addr 0
phy_connect() failed
phy_init failed

Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
1011 bytes read in 5 ms (197.3 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc1 ...
Running uenvcmd ...
17213952 bytes read in 793 ms (20.7 MiB/s)
64557 bytes read in 11 ms (5.6 MiB/s)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 000000008feed000, end 000000008fffffff ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.4.106-g023faefa70 (kenn@Precision-5530) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #3 SMP PREEMPT Wed Sep 15 16:38:07 CST 2021
[    0.000000] Machine model: Texas Instruments AM654 Base Board
[    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
[    0.000000] printk: bootconsole [ns16550a0] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    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] cma: Failed to reserve 512 MiB
[    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.0
[    0.000000] percpu: Embedded 2 pages/cpu s48920 r8192 d73960 u131072
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] Built 1 zonelists, mobility grouping off.  Total pages: 144
[    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),128k(ospi.env),128k(ospi.env.backup),1m(ospi.sysfw),57216k@8m(ospi.rootfs),128k(ospi.phypattern) root=PARTUUID=d739b0ca-02 rw rootfstype=ext4 rootwait
[    0.000000] Dentry cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 969152K/10240K available (9852K kernel code, 874K rwdata, 3968K rodata, 1728K init, 673K bss, 18446744073708592704K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, 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=4.
[    0.000000]  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=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 960 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
[    0.000000] ITS [mem 0x01820000-0x0182ffff]
[    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
[    0.000000] ITS@0x0000000001820000: allocated 1048576 Devices @a2800000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000000bfc30000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000bfc40000
[    0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x424 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
[    0.000005] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
[    0.008652] Console: colour dummy device 80x25
[    0.013265] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.023982] pid_max: default: 32768 minimum: 301
[    0.028838] LSM: Security Framework initializing
[    0.033659] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
[    0.041267] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
[    0.051686] ASID allocator initialised with 32768 entries
[    0.057417] rcu: Hierarchical SRCU implementation.
[    0.062726] Platform MSI: gic-its@1820000 domain created
[    0.068499] PCI/MSI: /bus@100000/interrupt-controller@1800000/gic-its@1820000 domain created
[    0.077286] EFI services will not be available.
[    0.082401] smp: Bringing up secondary CPUs ...
[    0.088296] Detected VIPT I-cache on CPU1
[    0.088334] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
[    0.088348] GICv3: CPU1: using allocated LPI pending table @0x00000000bfc50000
[    0.088401] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.089822] Detected VIPT I-cache on CPU2
[    0.089863] GICv3: CPU2: found redistributor 100 region 0:0x00000000018c0000
[    0.089877] GICv3: CPU2: using allocated LPI pending table @0x00000000bfc60000
[    0.089933] CPU2: Booted secondary processor 0x0000000100 [0x410fd034]
[    0.091273] Detected VIPT I-cache on CPU3
[    0.091308] GICv3: CPU3: found redistributor 101 region 0:0x00000000018e0000
[    0.091321] GICv3: CPU3: using allocated LPI pending table @0x00000000bfc70000
[    0.091363] CPU3: Booted secondary processor 0x0000000101 [0x410fd034]
[    0.091521] smp: Brought up 1 node, 4 CPUs
[    0.171909] SMP: Total of 4 processors activated.
[    0.176747] CPU features: detected: 32-bit EL0 Support
[    0.182042] CPU features: detected: CRC32 instructions
[    0.199073] CPU: All CPU(s) started at EL2
[    0.203336] alternatives: patching kernel code
[    0.209571] devtmpfs: initialized
[    0.223409] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.233441] futex hash table entries: 1024 (order: 0, 65536 bytes, linear)
[    0.240819] pinctrl core: initialized pinctrl subsystem
[    0.246703] DMI not present or invalid.
[    0.251064] NET: Registered protocol family 16
[    0.256209] DMA: preallocated 256 KiB pool for atomic allocations
[    0.263271] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.293630] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages
[    0.300546] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
[    0.307339] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.316496] cryptd: max_cpu_qlen set to 1000
[    0.326843] iommu: Default domain type: Translated
[    0.332265] SCSI subsystem initialized
[    0.336762] mc: Linux media interface: v0.10
[    0.341184] videodev: Linux video capture interface: v2.00
[    0.346895] pps_core: LinuxPPS API ver. 1 registered
[    0.351995] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.361382] PTP clock support registered
[    0.365432] EDAC MC: Ver: 3.0.0
[    0.369891] FPGA manager framework
[    0.373546] Advanced Linux Sound Architecture Driver Initialized.
[    0.380865] clocksource: Switched to clocksource arch_sys_counter
[    0.387349] VFS: Disk quotas dquot_6.6.0
[    0.391484] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
[    0.406007] thermal_sys: Registered thermal governor 'step_wise'
[    0.406012] thermal_sys: Registered thermal governor 'power_allocator'
[    0.412773] NET: Registered protocol family 2
[    0.424656] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
[    0.433549] TCP established hash table entries: 8192 (order: 0, 65536 bytes, linear)
[    0.441606] TCP bind hash table entries: 8192 (order: 1, 131072 bytes, linear)
[    0.449170] TCP: Hash tables configured (established 8192 bind 8192)
[    0.455838] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)
[    0.462835] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
[    0.470452] NET: Registered protocol family 1
[    0.475784] RPC: Registered named UNIX socket transport module.
[    0.481884] RPC: Registered udp transport module.
[    0.486715] RPC: Registered tcp transport module.
[    0.491543] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.498163] PCI: CLS 0 bytes, default 64
[    0.503406] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.517823] Initialise system trusted keyrings
[    0.522655] workingset: timestamp_bits=46 max_order=14 bucket_order=0
[    0.536008] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.542802] NFS: Registering the id_resolver key type
[    0.548042] Key type id_resolver registered
[    0.552347] Key type id_legacy registered
[    0.556474] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.563569] 9p: Installing v9fs 9p2000 file system support
[    0.588920] Key type asymmetric registered
[    0.593137] Asymmetric key parser 'x509' registered
[    0.598183] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    0.605777] io scheduler mq-deadline registered
[    0.610427] io scheduler kyber registered
[    0.617217] pinctrl-single 4301c000.pinmux: 70 pins, size 280
[    0.623685] pinctrl-single 11c000.pinmux: 185 pins, size 740
[    0.629644] pinctrl-single 11c2e8.pinmux: 9 pins, size 36
[    0.641361] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
[    0.647729] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
[    0.658482] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    0.683017] brd: module loaded
[    0.695900] loop: module loaded
[    0.699949] megasas: 07.710.50.00-rc1
[    0.706972] libphy: Fixed MDIO Bus: probed
[    0.712134] tun: Universal TUN/TAP device driver, 1.6
[    0.718178] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    0.726233] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    0.732358] sky2: driver version 1.30
[    0.737404] VFIO - User Level meta-driver version: 0.3
[    0.743679] i2c /dev entries driver
[    0.748627] sdhci: Secure Digital Host Controller Interface driver
[    0.754983] sdhci: Copyright(c) Pierre Ossman
[    0.760058] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.767122] ledtrig-cpu: registered to indicate activity on CPUs
[    0.773398] ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: invalid resource
[    0.782222] optee: probing for conduit method from DT.
[    0.787540] optee: revision 3.11 (c4def2a8)
[    0.788357] optee: initialized driver
[    0.798324] NET: Registered protocol family 17
[    0.803137] 9pnet: Installing 9P2000 support
[    0.807587] Key type dns_resolver registered
[    0.812367] Loading compiled-in X.509 certificates
[    0.827088] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
[    0.833631] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
[    0.845724] ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: invalid resource
[    0.853375] ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
[    0.913951] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
[    0.920549] omap_i2c 40b00000.i2c: bus 1 rev0.12 at 100 kHz
[    0.927230] pca953x 2-0021: 2-0021 supply vcc not found, using dummy regulator
[    0.934739] pca953x 2-0021: using no AI
[    1.976940] omap_i2c 2000000.i2c: controller timed out
[    1.982303] pca953x 2-0021: failed writing register
[    1.987460] pca953x: probe of 2-0021 failed with error -110
[    1.993333] omap_i2c 2000000.i2c: bus 2 rev0.12 at 400 kHz
[    2.000016] omap_i2c 2010000.i2c: bus 3 rev0.12 at 400 kHz
[    2.005964] random: fast init done
[    2.010029] omap_i2c 2020000.i2c: bus 4 rev0.12 at 400 kHz
[    2.016412] omap_i2c 2030000.i2c: bus 5 rev0.12 at 100 kHz
[    2.023118] ti-sci-intr bus@100000:bus@28380000:bus@42040000:interrupt-controller2: Interrupt Router 156 domain created
[    2.034413] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 100 domain created
[    2.043364] ti-sci-intr bus@100000:navss@30800000:interrupt-controller1: Interrupt Router 182 domain created
[    2.053797] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain -1 created
[    2.070857] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,160] sci-dev-id:195
[    2.080886] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
[    2.087684] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66348100, num_proxies:64
[    2.109042] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:818, gp-rings[304,464] sci-dev-id:187
[    2.119154] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
[    2.125953] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66348100, num_proxies:64
[    2.134561] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 8, base_baud = 6000000) is a 8250
[    2.144531] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 17, base_baud = 3000000) is a 8250
[    2.153351] printk: console [ttyS2] enabled
[    2.153351] printk: console [ttyS2] enabled
[    2.161820] printk: bootconsole [ns16550a0] disabled
[    2.161820] printk: bootconsole [ns16550a0] disabled
[    2.172785] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 18, base_baud = 3000000) is a 8250
[    2.182169] 2820000.serial: ttyS4 at MMIO 0x2820000 (irq = 19, base_baud = 3000000) is a 8250
[    2.240887] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    2.248563] libphy: 46000f00.mdio: probed
[    2.253755] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver unknown
[    2.261821] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00102, cpsw version 0x6BA80102 Ports: 2 quirks:00000000
[    2.274628] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517
[    2.284625] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0

It stopped at:

[ 2.261821] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00102, cpsw version 0x6BA80102 Ports: 2 quirks:00000000
[ 2.274628] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517
[ 2.284625] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0

what's wrong with it?  any suggestion?

Thanks

Kenn

  • Hi Kenn,

    Have you already followed the FAQ: e2e.ti.com/.../984296

    Also try to knock of reserved-memory node under: "arch/arm64/boot/dts/ti/k3-am654-base-board.dts"

    - Keerthy

  • Yes, I followed that FAQ you provided:https://e2e.ti.com/support/processors/f/791/t/984296

    That's the modification about bootloader, I also changed the memory setting in  "arch/arm64/boot/dts/ti/k3-am654-base-board.dts"(kernel) :

    - /* 4G RAM */
    - reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
    - <0x00000008 0x80000000 0x00000000 0x80000000>;
    + /* 1G RAM */
    + reg = <0x00000000 0x80000000 0x00000000 0x40000000>;

    do u mean that I should modify the part about reserved-memory in  "arch/arm64/boot/dts/ti/k3-am654-base-board.dts"( kernel)?  do you have more comments on this reserved-memory?

    Thanks

    Kenn

  • Kenn,

    Yes the reserved memory will reduce 1GB space by the amount of memory reserved. So I recommend to disable that region in DT or entirely delete
    those nodes & see if it helps you boot with 1GB DDR.

    - Keerthy

  • Keerthy,

    I disabled the whole part of reserved memory in DTS, but the result is the same, it also stopped output messages at that point:

    [ 2.261821] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00102, cpsw version 0x6BA80102 Ports: 2 quirks:00000000
    [ 2.274628] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517
    [ 2.284625] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0

    But this modification's benefit is : now system can have 512MB cma, it changed from"cma: Failed to reserve 512 MiB" to "cma: Reserved 512MiB at 0x00000000a0000000".

    I had compared the startup messages between our customized board and  IDK, the only different abnormal place is here:

    [ 0.927230] pca953x 2-0021: 2-0021 supply vcc not found, using dummy regulator
    [ 0.934739] pca953x 2-0021: using no AI
    [ 1.976940] omap_i2c 2000000.i2c: controller timed out
    [ 1.982303] pca953x 2-0021: failed writing register
    [ 1.987460] pca953x: probe of 2-0021 failed with error -110

    is this difference so important ? any other suggestion about this kernel halt?

    Thanks

    Kenn

  • Hi, Keerthy:

    we used the DDR type is :MT40A256M16LY-062E: 512MB*2, its related datasheet listed here:

    40020050_MT40A256M16LY-062E IT_F.pdf

    I post its related ddr setting excel file here: 

    GHMI Plus_EMIF_Tool_2.02 for 666MHz.xlsm

    can you help us to confirm these ddr settings ?  thanks a lot!

    Thanks

    Kenn

  • Hi, Keerthy:

    Today I found it stop at initcall of sdhci_am654.c, when it execute " reqmap_update_bits(sdhci_am654->base,PHY_CTRL4,mask,0x0)",

    it will stop when system run function _regmap_read() in regmap.c.

    deferred_probe_init()==>sdhci_am654_init()==>regmap_update_bits()==>_regmap_read()==>map->reg_read(context,reg,val)==>?

    I also found that console printed error messages constantly like this:

    [  509.911925] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
    [  509.918030] rcu:     0-...0: (1 ticks this GP) idle=9ca/1/0x4000000000000000 softirq=122/122 fqs=2626
    [  509.927060]  (detected by 2, t=5254 jiffies, g=-915, q=2)
    [  509.932446] Task dump for CPU 0:
    [  509.935666] kworker/0:1     R  running task        0    74      2 0x0000002a
    [  509.942723] Workqueue: events deferred_probe_work_func
    [  509.947850] Call trace:
    [  509.950297]  __switch_to+0x13c/0x1a0
    [  509.953870]  str_spec.69573+0x1a7dd0/0x1fa600

    .......

    [  825.011918] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
    [  825.018005] rcu:     0-...0: (1 ticks this GP) idle=9ca/1/0x4000000000000000 softirq=122/122 fqs=42006
    [  825.027119]  (detected by 2, t=84029 jiffies, g=-915, q=2)
    [  825.032591] Task dump for CPU 0:
    [  825.035808] kworker/0:1     R  running task        0    74      2 0x0000002a
    [  825.042848] Workqueue: events deferred_probe_work_func
    [  825.047973] Call trace:
    [  825.050414]  __switch_to+0x13c/0x1a0
    [  825.053982]  str_spec.69573+0x1a7dd0/0x1fa600

    could you tell us how to go deep after run "map->reg_read(context,reg,val)==>?"

    what did error messages mean in console?

     

    Thanks

    Kenn

  • Hi, Keerthy

    I had done further research about this kernel halt:

    deferred_probe_init()==>sdhci_am654_init()==>regmap_update_bits()==>_regmap_read()==>map->reg_read(context,reg,val)==>regmap_mmio_read() ==> ctx->reg_read(ctx,reg) ==> regmap_mmio_read32le() ==> readl(ctx->regs + reg)

    it stopped at readl() when it read the value directly from memory, so I guess it may be related with memory's design, what's your opinion?

    Thanks

    Kenn

  • Hi, Keerthy

    Any updates about this issue?

    Thanks

    Kenn

  • Hi, Keerthy

    Our customized board didn't have PCA9554 and PCA953x which are the chip of I2C to I/O expander to collect current and temperature value, will it affect the behaver of the whole system? In the other words, will it cause this kernel to halt?

    Thanks

    Kenn

  • Hello Kenn,

    Can you tell the exact physical address that is used in the readl command?  That maybe looks like an access to an internal peripheral not external memory?

    Thanks,

    Kyle

  • Hello Kenn,

    Another question: Can you halt the program/application execution after EMIF/DDR is initialized and run memtester against the DDR address space?

    Thanks,

    Kyle

  • Hello Kyle

    Yes, it wants to read the value of PHY_CTRL4 register on mmc1,  it's from "readl(ctx->regs+reg)", but this ctx is a struct of regmap_mmio_context, the address of (ctx->regs+reg) is not the exact physical address of PHY_CTRL4, it's a mapped address.

    Thanks

    Kenn

  • Hello Kyle,

    Now the board can't enter the phase of filesystem, we can't execute memtester to test DDR .

    Thanks

    Kenn

  • Hello Kenn,

    Can you please confirm u-boot is indeed working correctly?  Since the u-boot stage (and a few others things such as RBL, MLO, and U-boot itself) need to happen prior to loading the Linux kernel and root filesystem - that could be an indication why you cannot enter the filesystem phase and therefore run memtester to test the DDR.

    In addition, if you have the ability to debug each of these Boot steps in order [via Command-Line, JTAG, printf(), etc] that would be helpful in knowing where/why it cannot enter the filesystem phase (if applicable):

    -RBL

    -MLO/UBL/SBL

    -U-boot

    -Linux Kernel

    -Filesystem

    Lastly, if all of this checks out properly, regarding the _regmap_read() function, if enabled, it is invoked by the regmap subsystem when a register needs to be written. Before writing to the register, these functions are automatically called to check whether the value is written to the register. It would therefore be helpful to know again, if you can step debug during that step, where/why it hangs on the regmap_read() specifically?

    Kyle may have additional comments also.

    TY,

    Chris

  • Hello, Chris

    Thanks for your suggestion!

    Because our customized board didn't have I2C to I/O expander, there were some I2C write/read errors in u-boot phase, and it also had errors about reading on-board EEPROM , can these failed processes in u-boot phase lead to kernel halting?

    can you give us the reference documents (or link) about its on-board EEPROM definition? we can't find it in sdk documents.

    As to _regmap_read(), it triggered by _regmap_update_bits(), it's form sdchi_am654_init():

    sdchi_am654_init()-->_regmap_update_bits(): there was a conditional judgement in this function(_regmap_update_bits()):

    if(regmap_valatile(map,reg) && map->reg_update_bits)

    { .....}

    else

    {

    ret = _regmap_read(map,reg,&orig);  //hangs on here

    .....

    }

    Thanks

    Kenn

  • Hi Kenn,

    You're very welcome!  Hopefully we can work through this between our team and yours.

    So I do believe some of the I2C write/read errors u-boot / EEPROM read errors could contribute to a failed/halted kernel boot.

    Please find this companion e2e thread for information on the AM6548 EEPROM definition please:

    AM6548: How to configure EEPROM? - Processors forum - Processors - TI E2E support forums

    Please review and check in your implementation to see if it is configured properly.

    Lastly, the _regmap_read() may in fact be a side-effect of the write/read errors in u-boot so perhaps we should focus more on the early u-boot errors and kernel halt rather than the later regmap_read() function which may not be as suspicious.

    As a side comment, do you or did you experiment/test with a TI EVM originally prior to moving to your custom board design?  It would be curious to know if your build exhibited the same behavior on a TI EVM as your board.  I suspect it may not due to the write/read errors @ u-boot.

    Again, Kyle and Keerthy may have additional comments to extend also .... 

    Sincerely,

    Chris

  • Hello, Chris

    Thanks a lot for your help!

    Based on the current hardware status( we didn't have on-board EEPROM and boot EEPROM), how can we avoid these limitations in kernel phase?In the other words, which parameter value in these EEPROMs is the key or very important to this kernel halt? we can set it with the right value manually in kernel phase.

    The behaver on IDK was all right with our built image.

    Thanks

    Kenn

  • Hi Kenn,

    Thank you for providing this information for clarity.

    While it isn't standard practice to bypass the EEPROM for a custom board boot, since the EEPROM is purposely pre-programmed with the board info/etc - there is an existing thread on this topic found here:

    (+) PROCESSOR-SDK-AM64X: Bypassing EEPROM for custom board - Processors forum - Processors - TI E2E support forums

    However, it may not provide a simple solution for you.  (Please do review it though)

    Regardless, I've looped in "Hong" from the above e2e thread for reference, in addition to the others already monitoring this post.

    Stay tuned while we prepare further responses for your review - but if you can also review the aforementioned posts, that would be very helpful.  Comments welcomed.

    Regards,

    Chris

  • Thank Chris for your help!

    Per  Tony's suggestion, I posted the kernel dts here for reference:

    // SPDX-License-Identifier: GPL-2.0
    /*
     * Copyright (C) 2016-2018 Texas Instruments Incorporated - http://www.ti.com/
     */
    
    /dts-v1/;
    
    #include "k3-am654.dtsi"
    #include <dt-bindings/input/input.h>
    #include <dt-bindings/net/ti-dp83867.h>
    
    / {
    	compatible =  "ti,am654-evm", "ti,am654";
    	model = "Texas Instruments AM654 Base Board";
    
    	aliases {
    		ethernet1 = &pruss2_emac0;
    		ethernet2 = &pruss2_emac1;
    	};
    
    	chosen {
    		stdout-path = "serial2:115200n8";
    		bootargs = "earlycon=ns16550a,mmio32,0x02800000";
    	};
    
    	memory@80000000 {
    		device_type = "memory";
    		/* 1G RAM */
    		reg = <0x00000000 0x80000000 0x00000000 0x40000000>;
    	};
    	/*
    	reserved_memory: reserved-memory {
    		#address-cells = <2>;
    		#size-cells = <2>;
    		ranges;
    
    		secure_ddr: secure_ddr@9e800000 {
    			reg = <0 0x9e800000 0 0x01800000>;  for OP-TEE  
    			alignment = <0x1000>;
    			no-map;
    		};
    		
    		mcu_r5fss0_core0_dma_memory_region: r5f-dma-memory@a0000000 {
    			compatible = "shared-dma-pool";
    			reg = <0 0xa0000000 0 0x100000>;
    			no-map;
    		};
    
    		mcu_r5fss0_core0_memory_region: r5f-memory@a0100000 {
    			compatible = "shared-dma-pool";
    			reg = <0 0xa0100000 0 0xf00000>;
    			no-map;
    		};
    
    		mcu_r5fss0_core1_dma_memory_region: r5f-dma-memory@a1000000 {
    			compatible = "shared-dma-pool";
    			reg = <0 0xa1000000 0 0x100000>;
    			no-map;
    		};
    
    		mcu_r5fss0_core1_memory_region: r5f-memory@a1100000 {
    			compatible = "shared-dma-pool";
    			reg = <0 0xa1100000 0 0xf00000>;
    			no-map;
    		};
    
    		rtos_ipc_memory_region: ipc-memories@a2000000 {
    			reg = <0x00 0xa2000000 0x00 0x00200000>;
    			alignment = <0x1000>;
    			no-map;
    		};
    	};*/
    	
    	gpio-keys {
    		compatible = "gpio-keys";
    		autorepeat;
    		pinctrl-names = "default";
    		pinctrl-0 = <&push_button_pins_default>;
    
    		sw5 {
    			label = "GPIO Key USER1";
    			linux,code = <BTN_0>;
    			gpios = <&wkup_gpio0 24 GPIO_ACTIVE_LOW>;
    		};
    
    		sw6 {
    			label = "GPIO Key USER2";
    			linux,code = <BTN_1>;
    			gpios = <&wkup_gpio0 27 GPIO_ACTIVE_LOW>;
    		};
    	};
    
    	clk_ov5640_fixed: fixed-clock-ov5640 {
    		compatible = "fixed-clock";
    		#clock-cells = <0>;
    		clock-frequency = <24000000>;
    	};
    
    	/* Dual Ethernet application node on PRU-ICSSG2 */
    	pruss2_eth: pruss2_eth {
    		compatible = "ti,am654-icssg-prueth";
    		pinctrl-names = "default";
    		pinctrl-0 = <&icssg2_rgmii_pins_default>;
    		sram = <&msmc_ram>;
    		prus = <&pru2_0>, <&rtu2_0>, <&tx_pru2_0>,
    			<&pru2_1>, <&rtu2_1>, <&tx_pru2_1>;
    		firmware-name = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf",
    				"ti-pruss/am65x-sr2-rtu0-prueth-fw.elf",
    				"ti-pruss/am65x-sr2-txpru0-prueth-fw.elf",
    				"ti-pruss/am65x-sr2-pru1-prueth-fw.elf",
    				"ti-pruss/am65x-sr2-rtu1-prueth-fw.elf",
    				"ti-pruss/am65x-sr2-txpru1-prueth-fw.elf";
    
    		ti,pruss-gp-mux-sel = <2>,      /* MII mode */
    				      <2>,
    				      <2>,
    				      <2>,	/* MII mode */
    				      <2>,
    				      <2>;
    		mii-g-rt = <&icssg2_mii_g_rt>;
    		mii-rt = <&icssg2_mii_rt>;
    		dma-coherent;
    		dmas = <&main_udmap 0xc300>, /* egress slice 0 */
    		       <&main_udmap 0xc301>, /* egress slice 0 */
    		       <&main_udmap 0xc302>, /* egress slice 0 */
    		       <&main_udmap 0xc303>, /* egress slice 0 */
    		       <&main_udmap 0xc304>, /* egress slice 1 */
    		       <&main_udmap 0xc305>, /* egress slice 1 */
    		       <&main_udmap 0xc306>, /* egress slice 1 */
    		       <&main_udmap 0xc307>, /* egress slice 1 */
    
    		       <&main_udmap 0x4300>, /* ingress slice 0 */
    		       <&main_udmap 0x4301>, /* ingress slice 1 */
    		       <&main_udmap 0x4302>, /* mgmnt rsp slice 0 */
    		       <&main_udmap 0x4303>; /* mgmnt rsp slice 1 */
    		dma-names = "tx0-0", "tx0-1", "tx0-2", "tx0-3",
    			    "tx1-0", "tx1-1", "tx1-2", "tx1-3",
    			    "rx0", "rx1",
    			    "rxmgm0", "rxmgm1";
    
    		pruss2_emac0: ethernet-mii0 {
    			phy-handle = <&pruss2_eth0_phy>;
    			phy-mode = "rgmii-rxid";
    			interrupts-extended = <&icssg2_intc 24>;
    			syscon-rgmii-delay = <&scm_conf 0x4120>;
    			iep = <&icssg2_iep0>;
    			/* Filled in by bootloader */
    			local-mac-address = [00 00 00 00 00 00];
    		};
    
    		pruss2_emac1: ethernet-mii1 {
    			phy-handle = <&pruss2_eth1_phy>;
    			phy-mode = "rgmii-rxid";
    			interrupts-extended = <&icssg2_intc 25>;
    			syscon-rgmii-delay = <&scm_conf 0x4124>;
    			/* Filled in by bootloader */
    			local-mac-address = [00 00 00 00 00 00];
    		};
    	};
    
    	vdd_mmc1_sd: fixedregulator-sd {
    		compatible = "regulator-fixed";
    		regulator-name = "vdd_mmc1_sd";
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    		regulator-boot-on;
    		enable-active-high;
    		gpios = <&pca9554 4 GPIO_ACTIVE_HIGH>;
    	};
    
    };
    
    &wkup_pmx0 {
    	wkup_i2c0_pins_default: wkup-i2c0-pins-default {
    		pinctrl-single,pins = <
    			AM65X_WKUP_IOPAD(0x00e0, PIN_INPUT, 0) /* (AC7) WKUP_I2C0_SCL */
    			AM65X_WKUP_IOPAD(0x00e4, PIN_INPUT, 0) /* (AD6) WKUP_I2C0_SDA */
    		>;
    	};
    
    	push_button_pins_default: push_button__pins_default {
    		pinctrl-single,pins = <
    			AM65X_WKUP_IOPAD(0x0030, PIN_INPUT, 7) /* (R5) WKUP_GPIO0_24 */
    			AM65X_WKUP_IOPAD(0x003c, PIN_INPUT, 7) /* (P2) WKUP_GPIO0_27 */
    		>;
    	};
    
    	mcu_cpsw_pins_default: mcu_cpsw_pins_default {
    		pinctrl-single,pins = <
    			AM65X_WKUP_IOPAD(0x0058, PIN_OUTPUT, 0) /* (N4) MCU_RGMII1_TX_CTL */
    			AM65X_WKUP_IOPAD(0x005c, PIN_INPUT, 0) /* (N5) MCU_RGMII1_RX_CTL */
    			AM65X_WKUP_IOPAD(0x0060, PIN_OUTPUT, 0) /* (M2) MCU_RGMII1_TD3 */
    			AM65X_WKUP_IOPAD(0x0064, PIN_OUTPUT, 0) /* (M3) MCU_RGMII1_TD2 */
    			AM65X_WKUP_IOPAD(0x0068, PIN_OUTPUT, 0) /* (M4) MCU_RGMII1_TD1 */
    			AM65X_WKUP_IOPAD(0x006c, PIN_OUTPUT, 0) /* (M5) MCU_RGMII1_TD0 */
    			AM65X_WKUP_IOPAD(0x0078, PIN_INPUT, 0) /* (L2) MCU_RGMII1_RD3 */
    			AM65X_WKUP_IOPAD(0x007c, PIN_INPUT, 0) /* (L5) MCU_RGMII1_RD2 */
    			AM65X_WKUP_IOPAD(0x0080, PIN_INPUT, 0) /* (M6) MCU_RGMII1_RD1 */
    			AM65X_WKUP_IOPAD(0x0084, PIN_INPUT, 0) /* (L6) MCU_RGMII1_RD0 */
    			AM65X_WKUP_IOPAD(0x0070, PIN_INPUT, 0) /* (N1) MCU_RGMII1_TXC */
    			AM65X_WKUP_IOPAD(0x0074, PIN_INPUT, 0) /* (M1) MCU_RGMII1_RXC */
    		>;
    	};
    
    	mcu_cpsw1_pins_default: mcu_cpsw1_pins_default {
    		pinctrl-single,pins = <
    			AM65X_WKUP_IOPAD(0x0058, PIN_OUTPUT, 0) /* (N4) MCU_RGMII1_TX_CTL */
    			AM65X_WKUP_IOPAD(0x005c, PIN_INPUT, 0) /* (N5) MCU_RGMII1_RX_CTL */
    			AM65X_WKUP_IOPAD(0x0068, PIN_OUTPUT, 0) /* (M4) MCU_RGMII1_TD1 */
    			AM65X_WKUP_IOPAD(0x006c, PIN_OUTPUT, 0) /* (M5) MCU_RGMII1_TD0 */
    			AM65X_WKUP_IOPAD(0x0080, PIN_INPUT, 0) /* (M6) MCU_RGMII1_RD1 */
    			AM65X_WKUP_IOPAD(0x0084, PIN_INPUT, 0) /* (L6) MCU_RGMII1_RD0 */
    			AM65X_WKUP_IOPAD(0x0070, PIN_INPUT, 0) /* (N1) MCU_RGMII1_TXC */
    			AM65X_WKUP_IOPAD(0x0074, PIN_INPUT, 0) /* (M1) MCU_RGMII1_RXC */
    		>;
    	};
    
    	mcu_mdio_pins_default: mcu_mdio1_pins_default {
    		pinctrl-single,pins = <
    			AM65X_WKUP_IOPAD(0x008c, PIN_OUTPUT, 0) /* (L1) MCU_MDIO0_MDC */
    			AM65X_WKUP_IOPAD(0x0088, PIN_INPUT, 0) /* (L4) MCU_MDIO0_MDIO */
    		>;
    	};
    
    	mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-pins_default {
    		pinctrl-single,pins = <
    			AM65X_WKUP_IOPAD(0x0000, PIN_OUTPUT, 0) /* (V1) MCU_OSPI0_CLK */
    			AM65X_WKUP_IOPAD(0x0008, PIN_INPUT, 0)	 /* (U2) MCU_OSPI0_DQS */
    			AM65X_WKUP_IOPAD(0x000c, PIN_INPUT, 0)  /* (U4) MCU_OSPI0_D0 */
    			AM65X_WKUP_IOPAD(0x0010, PIN_INPUT, 0)  /* (U5) MCU_OSPI0_D1 */
    			AM65X_WKUP_IOPAD(0x0014, PIN_INPUT, 0)  /* (T2) MCU_OSPI0_D2 */
    			AM65X_WKUP_IOPAD(0x0018, PIN_INPUT, 0)  /* (T3) MCU_OSPI0_D3 */
    			AM65X_WKUP_IOPAD(0x001c, PIN_INPUT, 0)  /* (T4) MCU_OSPI0_D4 */
    			AM65X_WKUP_IOPAD(0x0020, PIN_INPUT, 0)  /* (T5) MCU_OSPI0_D5 */
    			AM65X_WKUP_IOPAD(0x0024, PIN_INPUT, 0)  /* (R2) MCU_OSPI0_D6 */
    			AM65X_WKUP_IOPAD(0x0028, PIN_INPUT, 0)  /* (R3) MCU_OSPI0_D7 */
    			AM65X_WKUP_IOPAD(0x002c, PIN_OUTPUT, 0) /* (R4) MCU_OSPI0_CSn0 */
    		>;
    	};
    
    	wkup_pca554_default: wkup_pca554_default {
    		pinctrl-single,pins = <
    			AM65X_WKUP_IOPAD(0x0034, PIN_INPUT, 7) /* (T1) MCU_OSPI1_CLK.WKUP_GPIO0_25 */
    
    		>;
    	};
    };
    
    &main_pmx0 {
    	main_uart0_pins_default: main-uart0-pins-default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x01e4, PIN_INPUT, 0)	/* (AF11) UART0_RXD */
    			AM65X_IOPAD(0x01e8, PIN_OUTPUT, 0)	/* (AE11) UART0_TXD */
    			AM65X_IOPAD(0x01ec, PIN_INPUT, 0)	/* (AG11) UART0_CTSn */
    			AM65X_IOPAD(0x01f0, PIN_OUTPUT, 0)	/* (AD11) UART0_RTSn */
    		>;
    	};
    
    	main_i2c2_pins_default: main-i2c2-pins-default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x0074, PIN_INPUT, 5) /* (T27) GPMC0_CSn3.I2C2_SCL */
    			AM65X_IOPAD(0x0070, PIN_INPUT, 5) /* (R25) GPMC0_CSn2.I2C2_SDA */
    		>;
    	};
    
    	main_spi0_pins_default: main-spi0-pins-default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x01c4, PIN_INPUT, 0) /* (AH13) SPI0_CLK */
    			AM65X_IOPAD(0x01c8, PIN_INPUT, 0) /* (AE13) SPI0_D0 */
    			AM65X_IOPAD(0x01cc, PIN_INPUT, 0) /* (AD13) SPI0_D1 */
    			AM65X_IOPAD(0x01bc, PIN_OUTPUT, 0) /* (AG13) SPI0_CS0 */
    		>;
    	};
    
    	main_mmc0_pins_default: main-mmc0-pins-default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x01a8, PIN_INPUT_PULLDOWN, 0) /* (B25) MMC0_CLK */
    			AM65X_IOPAD(0x01ac, PIN_INPUT_PULLUP, 0) /* (B27) MMC0_CMD */
    			AM65X_IOPAD(0x01a4, PIN_INPUT_PULLUP, 0) /* (A26) MMC0_DAT0 */
    			AM65X_IOPAD(0x01a0, PIN_INPUT_PULLUP, 0) /* (E25) MMC0_DAT1 */
    			AM65X_IOPAD(0x019c, PIN_INPUT_PULLUP, 0) /* (C26) MMC0_DAT2 */
    			AM65X_IOPAD(0x0198, PIN_INPUT_PULLUP, 0) /* (A25) MMC0_DAT3 */
    			AM65X_IOPAD(0x0194, PIN_INPUT_PULLUP, 0) /* (E24) MMC0_DAT4 */
    			AM65X_IOPAD(0x0190, PIN_INPUT_PULLUP, 0) /* (A24) MMC0_DAT5 */
    			AM65X_IOPAD(0x018c, PIN_INPUT_PULLUP, 0) /* (B26) MMC0_DAT6 */
    			AM65X_IOPAD(0x0188, PIN_INPUT_PULLUP, 0) /* (D25) MMC0_DAT7 */
    			AM65X_IOPAD(0x01b4, PIN_INPUT_PULLUP, 0) /* (A23) MMC0_SDCD */
    			AM65X_IOPAD(0x01b0, PIN_INPUT, 0) /* (C25) MMC0_DS */
    		>;
    	};
    
    	main_mmc1_pins_default: main_mmc1_pins_default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x02d4, PIN_INPUT_PULLUP, 0) /* (C27) MMC1_CLK */
    			AM65X_IOPAD(0x02d8, PIN_INPUT_PULLUP, 0) /* (C28) MMC1_CMD */
    			AM65X_IOPAD(0x02d0, PIN_INPUT_PULLUP, 0) /* (D28) MMC1_DAT0 */
    			AM65X_IOPAD(0x02cc, PIN_INPUT_PULLUP, 0) /* (E27) MMC1_DAT1 */
    			AM65X_IOPAD(0x02c8, PIN_INPUT_PULLUP, 0) /* (D26) MMC1_DAT2 */
    			AM65X_IOPAD(0x02c4, PIN_INPUT_PULLUP, 0) /* (D27) MMC1_DAT3 */
    			AM65X_IOPAD(0x02dc, PIN_INPUT_PULLUP, 0) /* (B24) MMC1_SDCD */
    			AM65X_IOPAD(0x02e0, PIN_INPUT, 0) /* (C24) MMC1_SDWP */
    		>;
    	};
    
    	usb1_pins_default: usb1_pins_default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x02c0, PIN_OUTPUT, 0) /* (AC8) USB1_DRVVBUS */
    		>;
    	};
    
    	icssg2_mdio_pins_default: icssg2_mdio_pins_default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x0094, PIN_INPUT, 2) /* (AC19) PRG2_PRU0_GPO7.PRG2_MDIO0_MDIO */
    			AM65X_IOPAD(0x00c8, PIN_OUTPUT, 2) /* (AE15) PRG2_PRU1_GPO7.PRG2_MDIO0_MDC */
    		>;
    	};
    
    	icssg2_rgmii_pins_default: icssg2_rgmii_pins_default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x00ac, PIN_INPUT, 2) /* (AH15) PRG2_PRU1_GPO0.PRG2_RGMII2_RD0 */
    			AM65X_IOPAD(0x00b0, PIN_INPUT, 2) /* (AC16) PRG2_PRU1_GPO1.PRG2_RGMII2_RD1 */
    			AM65X_IOPAD(0x00b4, PIN_INPUT, 2) /* (AD17) PRG2_PRU1_GPO2.PRG2_RGMII2_RD2 */
    			AM65X_IOPAD(0x00b8, PIN_INPUT, 2) /* (AH14) PRG2_PRU1_GPO3.PRG2_RGMII2_RD3 */
    			AM65X_IOPAD(0x00cc, PIN_OUTPUT, 2) /* (AD15) PRG2_PRU1_GPO8.PRG2_RGMII2_TD0 */
    			AM65X_IOPAD(0x00d0, PIN_OUTPUT, 2) /* (AF14) PRG2_PRU1_GPO9.PRG2_RGMII2_TD1 */
    			AM65X_IOPAD(0x00d4, PIN_OUTPUT, 2) /* (AC15) PRG2_PRU1_GPO10.PRG2_RGMII2_TD2 */
    			AM65X_IOPAD(0x00d8, PIN_OUTPUT, 2) /* (AD14) PRG2_PRU1_GPO11.PRG2_RGMII2_TD3 */
    			AM65X_IOPAD(0x00dc, PIN_INPUT, 2) /* (AE14) PRG2_PRU1_GPO16.PRG2_RGMII2_TXC */
    			AM65X_IOPAD(0x00c4, PIN_OUTPUT, 2) /* (AC17) PRG2_PRU1_GPO6.PRG2_RGMII2_TX_CTL */
    			AM65X_IOPAD(0x00c0, PIN_INPUT, 2) /* (AG15) PRG2_PRU1_GPO5.PRG2_RGMII2_RXC */
    			AM65X_IOPAD(0x00bc, PIN_INPUT, 2) /* (AG14) PRG2_PRU1_GPO4.PRG2_RGMII2_RX_CTL */
    
    			AM65X_IOPAD(0x0078, PIN_INPUT, 2) /* (AF18) PRG2_PRU0_GPO0.PRG2_RGMII1_RD0 */
    			AM65X_IOPAD(0x007c, PIN_INPUT, 2) /* (AE18) PRG2_PRU0_GPO1.PRG2_RGMII1_RD1 */
    			AM65X_IOPAD(0x0080, PIN_INPUT, 2) /* (AH17) PRG2_PRU0_GPO2.PRG2_RGMII1_RD2 */
    			AM65X_IOPAD(0x0084, PIN_INPUT, 2) /* (AG18) PRG2_PRU0_GPO3.PRG2_RGMII1_RD3 */
    			AM65X_IOPAD(0x0098, PIN_OUTPUT, 2) /* (AH16) PRG2_PRU0_GPO8.PRG2_RGMII1_TD0 */
    			AM65X_IOPAD(0x009c, PIN_OUTPUT, 2) /* (AG16) PRG2_PRU0_GPO9.PRG2_RGMII1_TD1 */
    			AM65X_IOPAD(0x00a0, PIN_OUTPUT, 2) /* (AF16) PRG2_PRU0_GPO10.PRG2_RGMII1_TD2 */
    			AM65X_IOPAD(0x00a4, PIN_OUTPUT, 2) /* (AE16) PRG2_PRU0_GPO11.PRG2_RGMII1_TD3 */
    			AM65X_IOPAD(0x00a8, PIN_INPUT, 2) /* (AD16) PRG2_PRU0_GPO16.PRG2_RGMII1_TXC */
    			AM65X_IOPAD(0x0090, PIN_OUTPUT, 2) /* (AE17) PRG2_PRU0_GPO6.PRG2_RGMII1_TX_CTL */
    			AM65X_IOPAD(0x008c, PIN_INPUT, 2) /* (AF17) PRG2_PRU0_GPO5.PRG2_RGMII1_RXC */
    			AM65X_IOPAD(0x0088, PIN_INPUT, 2) /* (AG17) PRG2_PRU0_GPO4.PRG2_RGMII1_RX_CTL */
    		>;
    	};
    };
    
    &main_pmx1 {
    	main_i2c0_pins_default: main-i2c0-pins-default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x0000, PIN_INPUT, 0) /* (D20) I2C0_SCL */
    			AM65X_IOPAD(0x0004, PIN_INPUT, 0) /* (C21) I2C0_SDA */
    		>;
    	};
    
    	main_i2c1_pins_default: main-i2c1-pins-default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x0008, PIN_INPUT, 0) /* (B21) I2C1_SCL */
    			AM65X_IOPAD(0x000c, PIN_INPUT, 0) /* (E21) I2C1_SDA */
    		>;
    	};
    
    	ecap0_pins_default: ecap0-pins-default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x0010, PIN_INPUT, 0) /* (D21) ECAP0_IN_APWM_OUT */
    		>;
    	};
    };
    
    &wkup_uart0 {
    	/* Wakeup UART is used by System firmware */
    	status = "disabled";
    };
    
    &main_uart0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_uart0_pins_default>;
    	power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
    };
    
    &wkup_i2c0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&wkup_i2c0_pins_default>;
    	clock-frequency = <400000>;
    
    	pca9554: gpio@39 {
    		compatible = "nxp,pca9554";
    		reg = <0x39>;
    		gpio-controller;
    		#gpio-cells = <2>;
    		pinctrl-names = "default";
    		pinctrl-0 = <&wkup_pca554_default>;
    		interrupt-parent = <&wkup_gpio0>;
    		interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
    		interrupt-controller;
    		#interrupt-cells = <2>;
    	};
    };
    
    &main_i2c0 {
    	status = "disabled";
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_i2c0_pins_default>;
    	clock-frequency = <400000>;
    
    	pca9555: gpio@21 {
    		compatible = "nxp,pca9555";
    		reg = <0x21>;
    		gpio-controller;
    		#gpio-cells = <2>;
    	};
    };
    
    &main_i2c1 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_i2c1_pins_default>;
    	clock-frequency = <400000>;
    
    	ov5640@3c {
    		compatible = "ovti,ov5640";
    		reg = <0x3c>;
    
    		clocks = <&clk_ov5640_fixed>;
    		clock-names = "xclk";
    
    		port {
    			csi2_cam0: endpoint {
    				remote-endpoint = <&csi2_phy0>;
    				clock-lanes = <0>;
    				data-lanes = <1 2>;
    			};
    		};
    	};
    
    };
    
    &main_i2c2 {
    	status = "disabled";
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_i2c2_pins_default>;
    	clock-frequency = <400000>;
    };
    
    &ecap0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&ecap0_pins_default>;
    };
    
    &main_spi0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_spi0_pins_default>;
    	#address-cells = <1>;
    	#size-cells= <0>;
    	ti,pindir-d0-out-d1-in = <1>;
    
    	flash@0{
    		compatible = "jedec,spi-nor";
    		reg = <0x0>;
    		spi-tx-bus-width = <1>;
    		spi-rx-bus-width = <1>;
    		spi-max-frequency = <48000000>;
    		#address-cells = <1>;
    		#size-cells= <1>;
    	};
    };
    
    &sdhci0 {
    	status = "disabled";
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_mmc0_pins_default>;
    	bus-width = <8>;
    	non-removable;
    	ti,driver-strength-ohm = <50>;
    	disable-wp;
    };
    
    &sdhci1 {
    	/*vmmc-supply = <&vdd_mmc1_sd>;*/
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_mmc1_pins_default>;
    	ti,driver-strength-ohm = <50>;
    	disable-wp;
    };
    
    &dwc3_1 {
    	status = "okay";
    };
    
    &usb1_phy {
    	status = "okay";
    };
    
    &usb1 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&usb1_pins_default>;
    	dr_mode = "otg";
    };
    
    &dwc3_0 {
    	status = "disabled";
    };
    
    &usb0_phy {
    	status = "disabled";
    };
    
    &tscadc0 {
    	adc {
    		ti,adc-channels = <0 1 2 3 4 5 6 7>;
    	};
    };
    
    &tscadc1 {
    	adc {
    		ti,adc-channels = <0 1 2 3 4 5 6 7>;
    	};
    };
    
    &serdes0 {
    	status = "disabled";
    };
    
    &serdes1 {
    	status = "disabled";
    };
    
    &pcie0_rc {
    	status = "disabled";
    };
    
    &pcie0_ep {
    	status = "disabled";
    };
    
    &pcie1_rc {
    	status = "disabled";
    };
    
    &pcie1_ep {
    	status = "disabled";
    };
    
    &mailbox0_cluster0 {
    	interrupts = <436>;
    
    	mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 {
    		ti,mbox-tx = <1 0 0>;
    		ti,mbox-rx = <0 0 0>;
    	};
    };
    
    &mailbox0_cluster1 {
    	interrupts = <432>;
    
    	mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 {
    		ti,mbox-tx = <1 0 0>;
    		ti,mbox-rx = <0 0 0>;
    	};
    };
    
    &mailbox0_cluster2 {
    	status = "disabled";
    };
    
    &mailbox0_cluster3 {
    	status = "disabled";
    };
    
    &mailbox0_cluster4 {
    	status = "disabled";
    };
    
    &mailbox0_cluster5 {
    	status = "disabled";
    };
    
    &mailbox0_cluster6 {
    	status = "disabled";
    };
    
    &mailbox0_cluster7 {
    	status = "disabled";
    };
    
    &mailbox0_cluster8 {
    	status = "disabled";
    };
    
    &mailbox0_cluster9 {
    	status = "disabled";
    };
    
    &mailbox0_cluster10 {
    	status = "disabled";
    };
    
    &mailbox0_cluster11 {
    	status = "disabled";
    };
    /*
    &mcu_r5fss0_core0 {
    	memory-region = <&mcu_r5fss0_core0_dma_memory_region>,
    			<&mcu_r5fss0_core0_memory_region>;
    	mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>;
    };
    
    &mcu_r5fss0_core1 {
    	memory-region = <&mcu_r5fss0_core1_dma_memory_region>,
    			<&mcu_r5fss0_core1_memory_region>;
    	mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>;
    };*/
    
    &csi2_0 {
    	csi2_phy0: endpoint {
    		remote-endpoint = <&csi2_cam0>;
    		clock-lanes = <0>;
    		data-lanes = <1 2>;
    	};
    };
    
    &mcu_cpsw {
    	pinctrl-names = "default";
    	pinctrl-0 = <&mcu_cpsw1_pins_default &mcu_mdio_pins_default>;
    };
    
    /*&cpts {
    	status = "disabled";
    };*/
    
    &davinci_mdio {
    	phy0: ethernet-phy@0 {
    		reg = <0>;
    		/* TODO: phy reset: TCA9555RTWR(i2c:0x21)[p04].GPIO_MCU_RGMII_RSTN */
    		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
    		ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
    		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
    	};
    };
    
    &cpsw_port1 {
    	phy-mode = "rmii";
    	phy-handle = <&phy0>;
    };
    
    &ospi0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;
    
    	flash@0{
    		compatible = "jedec,spi-nor";
    		reg = <0x0>;
    		spi-tx-bus-width = <8>;
    		spi-rx-bus-width = <8>;
    		spi-max-frequency = <25000000>;
    		cdns,tshsl-ns = <60>;
    		cdns,tsd2d-ns = <60>;
    		cdns,tchsh-ns = <60>;
    		cdns,tslch-ns = <60>;
    		cdns,read-delay = <0>;
    		cdns,phy-mode;
    		#address-cells = <1>;
    		#size-cells = <1>;
    		partition@3fe0000 {
    			label = "ospi.phypattern";
    			reg = <0x3fe0000 0x20000>;
    		};
    	};
    };
    
    &icssg2_mdio {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&icssg2_mdio_pins_default>;
    
    	pruss2_eth0_phy: ethernet-phy@0 {
    		reg = <0>;
    		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
    		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
    	};
    
    	pruss2_eth1_phy: ethernet-phy@3 {
    		reg = <3>;
    		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
    		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
    	};
    };
    

    Thanks

    Kenn

  • Hi Kenn,

    I looked at the newer details that you have provided. My suspicion is on the sdhci1 i.e SD-MMC failing.

    File: arch/arm64/boot/dts/ti/k3-am654-base-board.dts

    &sdhci1 {
            vmmc-supply = <&vdd_mmc1_sd>;
            pinctrl-names = "default";
            pinctrl-0 = <&main_mmc1_pins_default>;
            ti,driver-strength-ohm = <50>;
            disable-wp;
    };
    

    the vmmc-supply --> &vdd_mmc1_sd

    Now if trace back to that node:

            vdd_mmc1_sd: fixedregulator-sd {
                    compatible = "regulator-fixed";
                    regulator-name = "vdd_mmc1_sd";
                    regulator-min-microvolt = <3300000>;
                    regulator-max-microvolt = <3300000>;
                    regulator-boot-on;
                    enable-active-high;
                    gpios = <&pca9554 4 GPIO_ACTIVE_HIGH>;
            };
    
    

    It is a pca9554 GPIO.

    In your DTS I see that you have commented out:

    /*vmmc-supply = <&vdd_mmc1_sd>;*/

    What is supplying the MMC1 on your board? Can you add that regulator node?

    Let me know if that helps?

    Best Regards,
    Keerthy


  • Kenn,

    I tried commenting the supply myself on my AM654x-EVM & it seems like it will not cause the crash.

    Bootlog: 

    ÿÿ
    U-Boot SPL 2020.01-g2781231a33 (May 21 2021 - 18:24:47 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    SPL initial stack usage: 1452 bytes
    Trying to boot from MMC2
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.4(release):2021.00.003-dirty
    NOTICE:  BL31: Built : 17:45:38, May 21 2021
    
    U-Boot SPL 2020.01-g2781231a33 (May 21 2021 - 17:50:57 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19
    Detected: AM6-IDKAPPEVM rev A
    Detected: SER-PCIE2LEVM rev A
    Trying to boot from MMC2
    
    
    U-Boot 2020.01-g2781231a33 (May 21 2021 - 17:50:57 +0000)
    
    SoC:   AM65X SR2.0
    Model: Texas Instruments AM654 Base Board
    Board: AM6-COMPROCEVM rev A
    DRAM:  4 GiB
    MMC:   sdhci@4f80000: 0, sdhci@4fa0000: 1
    Loading Environment from MMC... OK
    In:    serial
    Out:   serial
    Err:   serial
    Detected: AM6-IDKAPPEVM rev A
    Detected: SER-PCIE2LEVM rev A
    Net:   eth3: pruss1_eth, eth2: pruss0_ethK3 CPSW: nuss_ver: 0x6BA00102 cpsw_ver: 0x6BA80102 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
    
    Warning: ethernet@46000000 using MAC address from ROM
    , eth0: ethernet@46000000, eth1: pruss2_eth
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    1011 bytes read in 6 ms (164.1 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    Running uenvcmd ...
    Using board_name = am65x
    16799752 bytes read in 700 ms (22.9 MiB/s)
    64310 bytes read in 8 ms (7.7 MiB/s)
    11429 bytes read in 7 ms (1.6 MiB/s)
    2333 bytes read in 6 ms (378.9 KiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 000000008feed000, end 000000008fffffff ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 5.4.106-g023faefa70 (oe-user@oe-host) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 SMP PREEMPT Fri May 21 17:47:14 UTC 2021
    [    0.000000] Machine model: Texas Instruments AM654 Base Board
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    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] cma: Reserved 512 MiB at 0x00000000e0000000
    [    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.0
    [    0.000000] percpu: Embedded 2 pages/cpu s48472 r8192 d74408 u131072
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 49263
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),128k(ospi.env),128k(ospi.env.backup),1m(ospi.sysfw),57216k@8m(ospi.rootfs),128k(ospi.phypattern) root=PARTUUID=a1bdb2b9-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 5, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: mapped [mem 0xbbff0000-0xbfff0000] (64MB)
    [    0.000000] Memory: 3515584K/3155968K available (9662K kernel code, 790K rwdata, 3904K rodata, 1664K init, 681K bss, 18446744073708667712K reserved, 524288K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000]  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=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    0.000000] GICv3: no VLPI support, no direct LPI support
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: allocated 1048576 Devices @8c0800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008c00d0000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008c00e0000
    [    0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x42c with crng_init=0
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000006] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008659] Console: colour dummy device 80x25
    [    0.013269] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023984] pid_max: default: 32768 minimum: 301
    [    0.028835] LSM: Security Framework initializing
    [    0.033650] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.041260] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.051706] ASID allocator initialised with 32768 entries
    [    0.057429] rcu: Hierarchical SRCU implementation.
    [    0.062736] Platform MSI: gic-its@1820000 domain created
    [    0.068538] PCI/MSI: /bus@100000/interrupt-controller@1800000/gic-its@1820000 domain created
    [    0.077780] smp: Bringing up secondary CPUs ...
    [    0.083642] Detected VIPT I-cache on CPU1
    [    0.083679] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.083694] GICv3: CPU1: using allocated LPI pending table @0x00000008c00f0000
    [    0.083746] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.085138] Detected VIPT I-cache on CPU2
    [    0.085177] GICv3: CPU2: found redistributor 100 region 0:0x00000000018c0000
    [    0.085193] GICv3: CPU2: using allocated LPI pending table @0x00000008c0100000
    [    0.085244] CPU2: Booted secondary processor 0x0000000100 [0x410fd034]
    [    0.086561] Detected VIPT I-cache on CPU3
    [    0.086593] GICv3: CPU3: found redistributor 101 region 0:0x00000000018e0000
    [    0.086607] GICv3: CPU3: using allocated LPI pending table @0x00000008c0110000
    [    0.086644] CPU3: Booted secondary processor 0x0000000101 [0x410fd034]
    [    0.086808] smp: Brought up 1 node, 4 CPUs
    [    0.167199] SMP: Total of 4 processors activated.
    [    0.172039] CPU features: detected: 32-bit EL0 Support
    [    0.177333] CPU features: detected: CRC32 instructions
    [    0.194161] CPU: All CPU(s) started at EL2
    [    0.198424] alternatives: patching kernel code
    [    0.204652] devtmpfs: initialized
    [    0.219450] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.229482] futex hash table entries: 1024 (order: 0, 65536 bytes, linear)
    [    0.238037] pinctrl core: initialized pinctrl subsystem
    [    0.244480] NET: Registered protocol family 16
    [    0.256402] DMA: preallocated 256 KiB pool for atomic allocations
    [    0.263562] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.294789] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages
    [    0.301689] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
    [    0.308498] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.318415] cryptd: max_cpu_qlen set to 1000
    [    0.329656] iommu: Default domain type: Translated
    [    0.335131] SCSI subsystem initialized
    [    0.339652] mc: Linux media interface: v0.10
    [    0.344077] videodev: Linux video capture interface: v2.00
    [    0.349736] pps_core: LinuxPPS API ver. 1 registered
    [    0.354834] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.364221] PTP clock support registered
    [    0.368271] EDAC MC: Ver: 3.0.0
    [    0.372807] FPGA manager framework
    [    0.376446] Advanced Linux Sound Architecture Driver Initialized.
    [    0.383743] clocksource: Switched to clocksource arch_sys_counter
    [    0.390222] VFS: Disk quotas dquot_6.6.0
    [    0.394352] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
    [    0.408800] thermal_sys: Registered thermal governor 'step_wise'
    [    0.408805] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.415541] NET: Registered protocol family 2
    [    0.427499] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
    [    0.436396] TCP established hash table entries: 32768 (order: 2, 262144 bytes, linear)
    [    0.444844] TCP bind hash table entries: 32768 (order: 3, 524288 bytes, linear)
    [    0.453024] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.459926] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.466929] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.474566] NET: Registered protocol family 1
    [    0.479882] RPC: Registered named UNIX socket transport module.
    [    0.485979] RPC: Registered udp transport module.
    [    0.490814] RPC: Registered tcp transport module.
    [    0.495644] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.502265] PCI: CLS 0 bytes, default 64
    [    0.507487] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
    [    0.521111] Initialise system trusted keyrings
    [    0.525869] workingset: timestamp_bits=46 max_order=16 bucket_order=0
    [    0.539211] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.545920] NFS: Registering the id_resolver key type
    [    0.551147] Key type id_resolver registered
    [    0.555448] Key type id_legacy registered
    [    0.559574] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.566653] 9p: Installing v9fs 9p2000 file system support
    [    0.591335] Key type asymmetric registered
    [    0.595555] Asymmetric key parser 'x509' registered
    [    0.600603] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.608200] io scheduler mq-deadline registered
    [    0.612853] io scheduler kyber registered
    [    0.619910] pinctrl-single 4301c000.pinmux: 70 pins, size 280
    [    0.626403] pinctrl-single 11c000.pinmux: 185 pins, size 740
    [    0.632367] pinctrl-single 11c2e8.pinmux: 9 pins, size 36
    [    0.644872] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.651252] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.662125] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.686971] brd: module loaded
    [    0.699034] loop: module loaded
    [    0.706815] libphy: Fixed MDIO Bus: probed
    [    0.711667] tun: Universal TUN/TAP device driver, 1.6
    [    0.717757] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
    [    0.725816] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.731947] sky2: driver version 1.30
    [    0.737106] VFIO - User Level meta-driver version: 0.3
    [    0.743330] i2c /dev entries driver
    [    0.748417] sdhci: Secure Digital Host Controller Interface driver
    [    0.754772] sdhci: Copyright(c) Pierre Ossman
    [    0.759985] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.767236] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.773537] ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: invalid resource
    [    0.782475] optee: probing for conduit method from DT.
    [    0.787793] optee: revision 3.11 (c4def2a8)
    [    0.788593] optee: initialized driver
    [    0.798593] NET: Registered protocol family 17
    [    0.803356] 9pnet: Installing 9P2000 support
    [    0.807814] Key type dns_resolver registered
    [    0.812604] registered taskstats version 1
    [    0.816828] Loading compiled-in X.509 certificates
    [    0.832127] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.838660] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.850711] ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: invalid resource
    [    0.858351] ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    [    0.914580] random: fast init done
    [    0.934872] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.941412] omap_i2c 40b00000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.948082] pca953x 2-0041: 2-0041 supply vcc not found, using dummy regulator
    [    0.955586] pca953x 2-0041: using no AI
    [    0.980453] pca953x 2-0021: 2-0021 supply vcc not found, using dummy regulator
    [    0.987937] pca953x 2-0021: using no AI
    [    0.992620] omap_i2c 2000000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.999248] omap_i2c 2010000.i2c: bus 3 rev0.12 at 400 kHz
    [    1.005702] omap_i2c 2020000.i2c: bus 4 rev0.12 at 400 kHz
    [    1.012135] omap_i2c 2030000.i2c: bus 5 rev0.12 at 100 kHz
    [    1.018827] ti-sci-intr bus@100000:bus@28380000:bus@42040000:interrupt-controller2: Interrupt Router 156 domain created
    [    1.030112] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 100 domain created
    [    1.039060] ti-sci-intr bus@100000:navss@30800000:interrupt-controller1: Interrupt Router 182 domain created
    [    1.049467] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain -1 created
    [    1.069764] keystone-pcie 5500000.pcie: host bridge /bus@100000/pcie@5500000 ranges:
    [    1.077759] keystone-pcie 5500000.pcie:    IO 0x10020000..0x1002ffff -> 0x00000000
    [    1.085555] keystone-pcie 5500000.pcie:   MEM 0x10030000..0x17ffffff -> 0x10030000
    [    2.093796] keystone-pcie 5500000.pcie: Phy link never came up
    [    2.100014] keystone-pcie 5500000.pcie: PCI host bridge to bus 0000:00
    [    2.106732] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    2.112370] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    2.118720] pci_bus 0000:00: root bus resource [mem 0x10030000-0x17ffffff]
    [    2.125809] pci 0000:00:00.0: [104c:b00c] type 01 class 0x060400
    [    2.132015] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
    [    2.138969] pci 0000:00:00.0: supports D1
    [    2.143090] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    2.156911] pci 0000:00:00.0: BAR 6: assigned [mem 0x10030000-0x1003ffff pref]
    [    2.164341] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
    [    2.170111] pcieport 0000:00:00.0: PME: Signaling with IRQ 43
    [    2.176410] pcieport 0000:00:00.0: AER: enabled with IRQ 43
    [    2.188085] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,160] sci-dev-id:195
    [    2.198108] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    2.204903] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66348100, num_proxies:64
    [    2.226213] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:818, gp-rings[304,464] sci-dev-id:187
    [    2.236360] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    2.243158] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66348100, num_proxies:64
    [    2.251775] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 8, base_baud = 6000000) is a 8250
    [    2.261713] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 21, base_baud = 3000000) is a 8250
    [    2.270524] printk: console [ttyS2] enabled
    [    2.270524] printk: console [ttyS2] enabled
    [    2.278989] printk: bootconsole [ns16550a0] disabled
    [    2.278989] printk: bootconsole [ns16550a0] disabled
    [    2.289987] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 22, base_baud = 3000000) is a 8250
    [    2.299398] 2820000.serial: ttyS4 at MMIO 0x2820000 (irq = 23, base_baud = 3000000) is a 8250
    [    2.359781] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    2.367457] libphy: 46000f00.mdio: probed
    [    2.372888] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    2.381199] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00102, cpsw version 0x6BA80102 Ports: 2 quirks:00000000
    [    2.394002] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517
    [    2.404012] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
    [    2.413783] mmc0: CQHCI version 5.10
    [    2.458387] mmc0: SDHCI controller on 4f80000.sdhci [4f80000.sdhci] using ADMA 64-bit
    [    2.467152] mmc1: CQHCI version 5.10
    [    2.554956] mmc0: Command Queue Engine enabled
    [    2.559426] mmc0: new HS200 MMC card at address 0001
    [    2.565024] mmcblk0: mmc0:0001 S0J56X 14.8 GiB
    [    2.569859] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB
    [    2.576107] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB
    [    2.582290] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (240:0)
    [    2.592563]  mmcblk0: p1
    [    3.478454] mmc1: SDHCI controller on 4fa0000.sdhci [4fa0000.sdhci] using ADMA 64-bit
    [    3.498333] pca953x 0-0039: 0-0039 supply vcc not found, using dummy regulator
    [    3.505698] pca953x 0-0039: using no AI
    [    3.533275] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
    [    3.540347] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
    [    3.550696] ti-udma 285c0000.dma-controller: Channels: 96 (tchan: 48, rchan: 48, gp-rflow: 48)
    [    3.571322] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
    [    3.581608] ti-udma 31150000.dma-controller: Channels: 267 (tchan: 119, rchan: 148, gp-rflow: 150)
    [    3.591075] mmcblk1: mmc1:aaaa SA08G 7.40 GiB
    [    3.615303]  mmcblk1: p1 p2
    [    3.623664] spi-nor spi7.0: mt35xu512aba (65536 Kbytes)
    [    3.628926] 8 cmdlinepart partitions found on MTD device 47040000.spi.0
    [    3.635542] Creating 8 MTD partitions on "47040000.spi.0":
    [    3.641034] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    3.647982] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    3.654633] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    3.661396] 0x000000680000-0x0000006a0000 : "ospi.env"
    [    3.667913] 0x0000006a0000-0x0000006c0000 : "ospi.env.backup"
    [    3.674958] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw"
    [    3.681572] 0x000000800000-0x000003fe0000 : "ospi.rootfs"
    [    3.688419] 0x000003fe0000-0x000004000000 : "ospi.phypattern"
    [    3.703458] spi-nor spi9.0: n25q128a13 (16384 Kbytes)
    [    3.747785] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    3.755463] libphy: 46000f00.mdio: probed
    [    3.761017] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    3.769333] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00102, cpsw version 0x6BA80102 Ports: 2 quirks:00000000
    [    3.783254] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    3.790431] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    3.797672] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    3.804674] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
    [    3.816618] debugfs: Directory 'pd:121' with parent 'pm_genpd' already present!
    [    3.823994] debugfs: Directory 'pd:120' with parent 'pm_genpd' already present!
    [    3.833789] input: gpio-keys as /devices/platform/gpio-keys/input/input0
    [    3.840838] hctosys: unable to open rtc device (rtc0)
    [    3.865502] ALSA device list:
    [    3.868492]   No soundcards found.
    [    6.073601] EXT4-fs (mmcblk1p2): recovery complete
    [    6.080199] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    6.088370] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    6.096782] devtmpfs: mounted
    [    6.100551] Freeing unused kernel memory: 1664K
    [    6.105171] Run /sbin/init as init process
    [    6.220763] systemd[1]: System time before build time, advancing clock.
    [    6.280121] NET: Registered protocol family 10
    [    6.285611] Segment Routing with IPv6
    [    6.316768] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [    6.339016] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2020.09!
    
    [    6.397812] systemd[1]: Set hostname to <am65xx-evm>.
    [    6.763046] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock ? /run/docker.sock; please update the unit file accordingly.
    [    6.910526] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.917488] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [    6.929848] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    [    6.942506] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    6.959949] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.968411] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    6.987922] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.996120] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    7.012174] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password …ts to Console Directory Watch.
    [    7.036063] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R…uests to Wall Directory Watch.
    [    7.060031] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [    7.075896] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    7.095862] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [    7.111897] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    7.130557] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    7.147967] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    7.175161] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    7.192171] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    7.222613] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
    [    7.231477] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    7.248454] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    7.264623] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    7.288343] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    7.308165] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    7.330549] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    7.354294] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    7.382133] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    7.410794] systemd[1]: Mounting Temporary Directory (/tmp)...
             Mounting Temporary Directory (/tmp)...
    [    7.438674] systemd[1]: Starting Create list of static device nodes for the current kernel...
             Starting Create list of st…odes for the current kernel...
    [    7.470243] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [    7.496994] systemd[1]: Started Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [    7.522975] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    7.540262] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
    [    7.557220] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    7.582154] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    7.609728] cryptodev: loading out-of-tree module taints kernel.
    [    7.610888] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems cryptodev: driver 1.10 loaded.
    [0m...
    [    7.655287] systemd[1]: Starting udev Coldplug all Devices...
             Starting udev Coldplug all Devices...
    [    7.667724] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
    [    7.684421] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [    7.707251] systemd[1]: Mounted Huge Pages File System.
    [  OK  ] Mounted Huge Pages File System.
    [    7.731324] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Create list of sta… nodes for the current kernel.
    [FAILED] Failed to start Start psplash boot splash screen.
    See 'systemctl status psplash-start.service' for details.
    [DEPEND] Dependency failed for Star…progress communication helper.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
             Starting Apply Kernel Variables...
    [    7.978097] systemd-journald[177]: Received client request to flush runtime journal.
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting Docker Socket for the API.
    [  OK  ] Listening on dropbear.socket.
             Starting Reboot and dump vmcore via kexec...
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Periodic Command Scheduler.
    [  OK  ] Started D-Bus System Message Bus.
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
    [  OK  ] Started irqbalance daemon.
             Starting Telephony service...
             Starting rc.pvr.service...
             Starting Login Service...
    [  OK  ] Started Reboot and dump vmcore via kexec.
    [  OK  ] Started IPv6 Packet Filtering Framework.
    [  OK  ] Started IPv4 Packet Filtering Framework.
    [FAILED] Failed to start Telephony service.
    See 'systemctl status ofono.service' for details.
    [  OK  ] Reached target Network (Pre).
             Starting Network Service...
    [    9.217201] [drm] Initialized pvr 1.17.4948957 20110701 for 7000000.gpu on minor 0
    [    9.279961] PVR_K: UM DDK-(4948957) and KM DDK-(4948957) match. [ OK ]
    [  OK  ] Started rc.pvr.service.
             Starting weston.service...
    [  OK  ] Started weston.service.
             Starting telnetd.service...
    [  OK  ] Started Network Service.
             Starting Wait for Network to be Configured...
             Starting Network Name Resolution...
    [  OK  ] Started Login Service.
    [  OK  ] Started telnetd.service.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Enable and configure wl18xx bluetooth stack...
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Simple Network Ma…ent Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Getty on tty4.
    [  OK  ] Started Serial Getty on ttyS1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
    [   10.407844] random: crng init done
    [   10.411277] random: 7 urandom warning(s) missed due to ratelimiting
             Starting Synchronize System and HW clocks...
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Started Load/Save Random Seed.
    [   10.603943] ov5640 3-003c: 3-003c supply DOVDD not found, using dummy regulator
    [   10.633962] davinci_mdio b032400.mdio: davinci mdio revision 1.7, bus freq 1000000
    [   10.715841] libphy: b032400.mdio: probed
    [   10.722466] ov5640 3-003c: 3-003c supply AVDD not found, using dummy regulator
    [   10.838167] CAN device driver interface
    [   10.847994] ov5640 3-003c: 3-003c supply DVDD not found, using dummy regulator
    [   10.878856] davinci_mdio b032400.mdio: phy[0]: device b032400.mdio:00, driver TI DP83867
    [   10.915930] davinci_mdio b032400.mdio: phy[3]: device b032400.mdio:03, driver TI DP83867
    [   10.955217] m_can_platform 40528000.mcan: m_can device registered (irq=15, version=32)
    [   11.003994] ov5640 3-003c: ov5640_read_reg: error: reg=300a
    [   11.023873] ov5640 3-003c: ov5640_check_chip_id: failed to read chip identifier
    [   11.048652] ov5640: probe of 3-003c failed with error -121
    [   11.079881] m_can_platform 40568000.mcan: m_can device registered (irq=17, version=32)
    [   11.163873] davinci_mdio b132400.mdio: davinci mdio revision 1.7, bus freq 1000000
    [   11.183781] libphy: b132400.mdio: probed
    [   11.348530] davinci_mdio b132400.mdio: phy[0]: device b132400.mdio:00, driver TI DP83867
    [   11.390081] davinci_mdio b132400.mdio: phy[3]: device b132400.mdio:03, driver TI DP83867
    [   11.483847] davinci_mdio b232400.mdio: davinci mdio revision 1.7, bus freq 1000000
    [   11.499767] libphy: b232400.mdio: probed
    [   11.624915] davinci_mdio b232400.mdio: phy[0]: device b232400.mdio:00, driver TI DP83867
    [   11.633985] platform 41000000.r5f: configured R5F for remoteproc mode
    [   11.653393] davinci_mdio b232400.mdio: phy[3]: device b232400.mdio:03, driver TI DP83867
    [   11.712124] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [   11.751976] remoteproc remoteproc0: 41000000.r5f is available
    [   11.976912] remoteproc remoteproc0: powering up 41000000.r5f
    [   11.983004] remoteproc remoteproc0: Booting fw image am65x-mcu-r5f0_0-fw, size 85292
    [   11.996601] platform 41000000.r5f: booting R5F core using boot addr = 0x0
    [   12.008006]  remoteproc0#vdev0buffer: assigned reserved memory node r5f-dma-memory@a0000000
    [   12.017263] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   12.022912] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [   12.027890]  remoteproc0#vdev0buffer: registered virtio0 (type 7)
    [   12.030757] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [   12.036552] remoteproc remoteproc0: remote processor 41000000.r5f is now up
    
    [   12.407830] TI DP83867 46000f00.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=46000f00.mdio:00, irq=POLL)
    [   12.429697] am65-cpsw-nuss 46000000.ethernet eth0: Link is Down
    [   13.266377] input: gpio-decoder as /devices/platform/gpio-decoder/input/input1
    [   13.336479] remoteproc remoteproc1: b034000.pru is available
    [   13.352533] pru-rproc b034000.pru: PRU rproc node /bus@100000/icssg@b000000/pru@34000 probed successfully
    [   13.416555] remoteproc remoteproc2: b004000.rtu is available
    [   13.435981] pru-rproc b004000.rtu: PRU rproc node /bus@100000/icssg@b000000/rtu@4000 probed successfully
    [   13.492231] pru-rproc b00a000.txpru: IRQ vring not found
    [   13.522599] pru-rproc b00a000.txpru: IRQ kick not found
    [   13.561870] remoteproc remoteproc3: b00a000.txpru is available
    [   13.641309] pru-rproc b00a000.txpru: PRU rproc node /bus@100000/icssg@b000000/txpru@a000 probed successfully
    [   13.692350] remoteproc remoteproc4: b038000.pru is available
    [   13.711846] pru-rproc b038000.pru: PRU rproc node /bus@100000/icssg@b000000/pru@38000 probed successfully
    [   13.732201] remoteproc remoteproc5: b006000.rtu is available
    [   13.737968] pru-rproc b006000.rtu: PRU rproc node /bus@100000/icssg@b000000/rtu@6000 probed successfully
    [   13.759950] pru-rproc b00c000.txpru: IRQ vring not found
    [   13.816288] pru-rproc b00c000.txpru: IRQ kick not found
    [   13.922612] remoteproc remoteproc6: b00c000.txpru is available
    [   13.944612] pru-rproc b00c000.txpru: PRU rproc node /bus@100000/icssg@b000000/txpru@c000 probed successfully
    [   13.972389] remoteproc remoteproc7: b134000.pru is available
    [   13.991934] pru-rproc b134000.pru: PRU rproc node /bus@100000/icssg@b100000/pru@34000 probed successfully
    [   14.016255] remoteproc remoteproc8: b104000.rtu is available
    [   14.031825] pru-rproc b104000.rtu: PRU rproc node /bus@100000/icssg@b100000/rtu@4000 probed successfully
    [   14.055994] pru-rproc b10a000.txpru: IRQ vring not found
    [   14.071867] pru-rproc b10a000.txpru: IRQ kick not found
    [   14.130524] remoteproc remoteproc9: b10a000.txpru is available
    [   14.157554] pru-rproc b10a000.txpru: PRU rproc node /bus@100000/icssg@b100000/txpru@a000 probed successfully
    [   14.194141] remoteproc remoteproc10: b138000.pru is available
    [   14.226381] pru-rproc b138000.pru: PRU rproc node /bus@100000/icssg@b100000/pru@38000 probed successfully
    [   14.248587] remoteproc remoteproc11: b106000.rtu is available
    [   14.275854] pru-rproc b106000.rtu: PRU rproc node /bus@100000/icssg@b100000/rtu@6000 probed successfully
    [   14.296190] pru-rproc b10c000.txpru: IRQ vring not found
    [   14.307822] pru-rproc b10c000.txpru: IRQ kick not found
    [   14.321302] remoteproc remoteproc12: b10c000.txpru is available
    [   14.335842] pru-rproc b10c000.txpru: PRU rproc node /bus@100000/icssg@b100000/txpru@c000 probed successfully
    [   14.425497] remoteproc remoteproc13: b234000.pru is available
    [   14.451178] pru-rproc b234000.pru: PRU rproc node /bus@100000/icssg@b200000/pru@34000 probed successfully
    [   14.518460] remoteproc remoteproc14: b204000.rtu is available
    [  OK  ] Started Simple Network Man…ement Protocol (SNMP) Daemon..
    [   14.579077] pru-rproc b204000.rtu: PRU rproc node /bus@100000/icssg@b200000/rtu@4000 probed successfully
    [   14.672278] pru-rproc b20a000.txpru: IRQ vring not found
    [   14.726131] pru-rproc b20a000.txpru: IRQ kick not found
    [   14.736873] remoteproc remoteproc15: b20a000.txpru is available
    [   14.848630] pru-rproc b20a000.txpru: PRU rproc node /bus@100000/icssg@b200000/txpru@a000 probed successfully
    [   14.921552] remoteproc remoteproc16: b238000.pru is available
    [   14.999029] pru-rproc b238000.pru: PRU rproc node /bus@100000/icssg@b200000/pru@38000 probed successfully
    [   15.136520] remoteproc remoteproc17: b206000.rtu is available
    [   15.188473] pru-rproc b206000.rtu: PRU rproc node /bus@100000/icssg@b200000/rtu@6000 probed successfully
    [   15.270256] pru-rproc b20c000.txpru: IRQ vring not found
    [   15.361967] pru-rproc b20c000.txpru: IRQ kick not found
    [   15.429735] remoteproc remoteproc18: b20c000.txpru is available
    [   15.519946] pru-rproc b20c000.txpru: PRU rproc node /bus@100000/icssg@b200000/txpru@c000 probed successfully
    [   15.544073] dwc3 4010000.usb: Failed to get clk 'ref': -2
    [   15.630672] dwc3 4030000.usb: Failed to get clk 'ref': -2
    [   15.808396] OF: graph: no port node found in /bus@100000/phy@4110000
    [   15.840286] icssg-prueth pruss1_eth: TI PRU ethernet driver initialized: dual EMAC mode
    [   16.107661] icssg-prueth pruss0_eth: TI PRU ethernet driver initialized: dual EMAC mode
    [   16.370399] icssg-prueth pruss2_eth: TI PRU ethernet driver initialized: dual EMAC mode
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org am65xx-evm ttyS2
    
    Arago 2020.09 am65xx-evm ttyS2
    
    am65xx-evm login: ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            bash-dev
            bash
            bc
            binutils
            cifs-utils
            co[   17.494854] usbcore: registered new interface driver usbfs
    reutils-stdbuf
            coreutils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbserver
            gettext
            glmark2
            gstreamer1.0-libav-dev
            gstreamer1.0-libav
            gzip
            less
            libasm1
            libbfd
            libdw1
            libelf1
            libgdbm-compat4
            libgdbm-dev
            libgdbm6
            libgettextlib
            libgettextsrc
            libgmp-dev
            libgmp10
            libgmpxx4
            libidn2-0
            libidn2-dev
            libmpc3
            libmpfr6
            libreadline-dev
            libreadline8
            libunistring-dev
            libunistring2
            m4-dev
            m4
            make
    [   17.544131] usbcore: registered new interface driver hub
            nettle-dev
            nettle
            parted
            pdm-anomaly-detection
            python3-rfc3987
            python3-strict-rfc3339
            tar
            which
            zeromq
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove[   17.597070] usbcore: registered new device driver usb
     the dependent packages as well
    ***************************************************************
    ***************************************************************
    [   17.698463] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
    [   17.737355] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [   17.769513] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
    [   17.833411] xhci-hcd xhci-hcd.2.auto: hcc params 0x0298fe6d hci version 0x110 quirks 0x0000000000010010
    [   17.857729] xhci-hcd xhci-hcd.2.auto: irq 1294, io mem 0x04010000
    [   17.882368] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
    [   17.907817] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   17.936080] remoteproc remoteproc10: powering up b138000.pru
    [   17.941495] usb usb1: Product: xHCI Host Controller
    [   17.944953] remoteproc remoteproc10: Booting fw image ti-pruss/am65x-sr2-pru1-prueth-fw.elf, size 35840
    [   17.964040] pru-rproc b138000.pru: configured system_events[159-0] = 00000000,00000000,00000000,00000000,02000000
    [   17.965628] usb usb1: Manufacturer: Linux 5.4.106-g023faefa70 xhci-hcd
    [   17.979852] pru-rproc b138000.pru: configured intr_channels = 0x00000002 host_intr = 0x00000008
    [   17.993457] remoteproc remoteproc10: remote processor b138000.pru is now up
    [   18.007897] remoteproc remoteproc11: powering up b106000.rtu
    [   18.015732] remoteproc remoteproc11: Booting fw image ti-pruss/am65x-sr2-rtu1-prueth-fw.elf, size 28316
    [   18.018558] usb usb1: SerialNumber: xhci-hcd.2.auto
    [   18.030357] remoteproc remoteproc11: remote processor b106000.rtu is now up
    [   18.038473] remoteproc remoteproc12: powering up b10c000.txpru
    [   18.049729] remoteproc remoteproc12: Booting fw image ti-pruss/am65x-sr2-txpru1-prueth-fw.elf, size 31160
    [   18.067908] remoteproc remoteproc12: remote processor b10c000.txpru is now up
    [   18.072794] hub 1-0:1.0: USB hub found
    [   18.081043] TI DP83867 b132400.mdio:03: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b132400.mdio:03, irq=POLL)
    [   18.096328] net eth2: started
    [   18.096544] hub 1-0:1.0: 1 port detected
    [   18.121787] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [   18.144438] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
    [   18.155275] remoteproc remoteproc1: powering up b034000.pru
    [   18.165908] remoteproc remoteproc1: Booting fw image ti-pruss/am65x-sr2-pru0-prueth-fw.elf, size 35544
    [   18.168816] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
    [   18.176223] pru-rproc b034000.pru: configured system_events[159-0] = 00000000,00000000,00000000,00000000,01000000
    [   18.199825] pru-rproc b034000.pru: configured intr_channels = 0x00000001 host_intr = 0x00000004
    [   18.204875] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   18.211827] remoteproc remoteproc1: remote processor b034000.pru is now up
    [   18.227931] remoteproc remoteproc2: powering up b004000.rtu
    [   18.235847] remoteproc remoteproc2: Booting fw image ti-pruss/am65x-sr2-rtu0-prueth-fw.elf, size 29080
    [   18.245316] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
    [   18.247432] remoteproc remoteproc2: remote processor b004000.rtu is now up
    [   18.259813] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   18.263644] remoteproc remoteproc3: powering up b00a000.txpru
    [   18.275806] usb usb2: Product: xHCI Host Controller
    [   18.278178] remoteproc remoteproc3: Booting fw image ti-pruss/am65x-sr2-txpru0-prueth-fw.elf, size 32536
    [   18.281894] usb usb2: Manufacturer: Linux 5.4.106-g023faefa70 xhci-hcd
    [   18.292554] remoteproc remoteproc3: remote processor b00a000.txpru is now up
    [   18.303768] usb usb2: SerialNumber: xhci-hcd.2.auto
    [   18.313897] hub 2-0:1.0: USB hub found
    [   18.313919] TI DP83867 b032400.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b032400.mdio:00, irq=POLL)
    [   18.323693] hub 2-0:1.0: 1 port detected
    [   18.330962] net eth3: started
    [   18.351496] remoteproc remoteproc4: powering up b038000.pru
    [   18.357457] remoteproc remoteproc4: Booting fw image ti-pruss/am65x-sr2-pru1-prueth-fw.elf, size 35840
    [   18.367007] pru-rproc b038000.pru: configured system_events[159-0] = 00000000,00000000,00000000,00000000,02000000
    [   18.383759] pru-rproc b038000.pru: configured intr_channels = 0x00000002 host_intr = 0x00000008
    [   18.395805] remoteproc remoteproc4: remote processor b038000.pru is now up
    [   18.402846] remoteproc remoteproc5: powering up b006000.rtu
    [   18.408692] remoteproc remoteproc5: Booting fw image ti-pruss/am65x-sr2-rtu1-prueth-fw.elf, size 28316
    [   18.421264] remoteproc remoteproc5: remote processor b006000.rtu is now up
    [   18.428254] remoteproc remoteproc6: powering up b00c000.txpru
    [   18.434235] remoteproc remoteproc6: Booting fw image ti-pruss/am65x-sr2-txpru1-prueth-fw.elf, size 31160
    [   18.449704] remoteproc remoteproc6: remote processor b00c000.txpru is now up
    [   18.465512] TI DP83867 b032400.mdio:03: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b032400.mdio:03, irq=POLL)
    [   18.481540] net eth4: started
    [   18.497542] remoteproc remoteproc7: powering up b134000.pru
    [   18.503385] remoteproc remoteproc7: Booting fw image ti-pruss/am65x-sr2-pru0-prueth-fw.elf, size 35544
    [   18.516095] pru-rproc b134000.pru: configured system_events[159-0] = 00000000,00000000,00000000,00000000,01000000
    [   18.527954] pru-rproc b134000.pru: configured intr_channels = 0x00000001 host_intr = 0x00000004
    [   18.539797] remoteproc remoteproc7: remote processor b134000.pru is now up
    [   18.548102] remoteproc remoteproc8: powering up b104000.rtu
    [   18.554627] remoteproc remoteproc8: Booting fw image ti-pruss/am65x-sr2-rtu0-prueth-fw.elf, size 29080
    [   18.567779] remoteproc remoteproc8: remote processor b104000.rtu is now up
    [   18.579821] remoteproc remoteproc9: powering up b10a000.txpru
    [   18.585740] remoteproc remoteproc9: Booting fw image ti-pruss/am65x-sr2-txpru0-prueth-fw.elf, size 32536
    [   18.599788] remoteproc remoteproc9: remote processor b10a000.txpru is now up
    [   18.613298] TI DP83867 b132400.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b132400.mdio:00, irq=POLL)
    [   18.627991] net eth1: started
    [   18.646266] remoteproc remoteproc13: powering up b234000.pru
    [   18.652185] remoteproc remoteproc13: Booting fw image ti-pruss/am65x-sr2-pru0-prueth-fw.elf, size 35544
    [   18.663994] pru-rproc b234000.pru: configured system_events[159-0] = 00000000,00000000,00000000,00000000,01000000
    [   18.679771] pru-rproc b234000.pru: configured intr_channels = 0x00000001 host_intr = 0x00000004
    [   18.688511] remoteproc remoteproc13: remote processor b234000.pru is now up
    [   18.695517] remoteproc remoteproc14: powering up b204000.rtu
    [   18.707989] remoteproc remoteproc14: Booting fw image ti-pruss/am65x-sr2-rtu0-prueth-fw.elf, size 29080
    [   18.717439] remoteproc remoteproc14: remote processor b204000.rtu is now up
    [   18.727769] remoteproc remoteproc15: powering up b20a000.txpru
    [   18.733728] remoteproc remoteproc15: Booting fw image ti-pruss/am65x-sr2-txpru0-prueth-fw.elf, size 32536
    [   18.747767] remoteproc remoteproc15: remote processor b20a000.txpru is now up
    [   18.761282] TI DP83867 b232400.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b232400.mdio:00, irq=POLL)
    [   18.775777] net eth5: started
    [   18.829225] remoteproc remoteproc16: powering up b238000.pru
    [   18.835068] remoteproc remoteproc16: Booting fw image ti-pruss/am65x-sr2-pru1-prueth-fw.elf, size 35840
    [   18.847941] pru-rproc b238000.pru: configured system_events[159-0] = 00000000,00000000,00000000,00000000,02000000
    [   18.858285] pru-rproc b238000.pru: configured intr_channels = 0x00000002 host_intr = 0x00000008
    [   18.871831] remoteproc remoteproc16: remote processor b238000.pru is now up
    [   18.878831] remoteproc remoteproc17: powering up b206000.rtu
    [   18.884656] remoteproc remoteproc17: Booting fw image ti-pruss/am65x-sr2-rtu1-prueth-fw.elf, size 28316
    [   18.899766] remoteproc remoteproc17: remote processor b206000.rtu is now up
    [   18.906756] remoteproc remoteproc18: powering up b20c000.txpru
    [   18.912727] remoteproc remoteproc18: Booting fw image ti-pruss/am65x-sr2-txpru1-prueth-fw.elf, size 31160
    [   18.927764] remoteproc remoteproc18: remote processor b20c000.txpru is now up
    [   18.941348] TI DP83867 b232400.mdio:03: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b232400.mdio:03, irq=POLL)
    [   18.955770] net eth6: started
    
    

    Important ones:

    [ 2.367457] libphy: 46000f00.mdio: probed
    [ 2.372888] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [ 2.381199] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00102, cpsw version 0x6BA80102 Ports: 2 quirks:00000000
    [ 2.394002] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517
    [ 2.404012] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
    [ 2.413783] mmc0: CQHCI version 5.10
    [ 2.458387] mmc0: SDHCI controller on 4f80000.sdhci [4f80000.sdhci] using ADMA 64-bit
    [ 2.467152] mmc1: CQHCI version 5.10
    [ 2.554956] mmc0: Command Queue Engine enabled
    [ 2.559426] mmc0: new HS200 MMC card at address 0001
    [ 2.565024] mmcblk0: mmc0:0001 S0J56X 14.8 GiB
    [ 2.569859] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB
    [ 2.576107] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB
    [ 2.582290] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (240:0)
    [ 2.592563] mmcblk0: p1
    [ 3.478454] mmc1: SDHCI controller on 4fa0000.sdhci [4fa0000.sdhci] using ADMA 64-bit
    [ 3.498333] pca953x 0-0039: 0-0039 supply vcc not found, using dummy regulator
    [ 3.505698] pca953x 0-0039: using no AI
    [ 3.533275] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
    [ 3.540347] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
    [ 3.550696] ti-udma 285c0000.dma-controller: Channels: 96 (tchan: 48, rchan: 48, gp-rflow: 48)
    [ 3.571322] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
    [ 3.581608] ti-udma 31150000.dma-controller: Channels: 267 (tchan: 119, rchan: 148, gp-rflow: 150)
    [ 3.591075] mmcblk1: mmc1:aaaa SA08G 7.40 GiB
    [ 3.615303] mmcblk1: p1 p2

    So that definitely is not causing the issue.

    One thing is that you have sdhci0 being probed after:

    [ 2.274628] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517
    [ 2.284625] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0

    Are you having SDHCI0 node in your dts?

    What is the eMMC part you are using? Is it the same as TI?

    Can you disable that DT node & try?

    &sdhci0{
            status = "disabled";
    };


    Best Regards,
    Keerthy

  • Hi, Keerthy

    Thank you for your help!

    The power connection of SD slot in our customize board was different from TI EVM board, we connected it with 3.3v directly, so I comment this GPIO signal. and I also had a try for uncommenting it, it didn't affect this kernel halt.

    Our customized board didn't have EMMC chip(sdhci0) at all, and I already disabled it in dts :

    &sdhci0 {
    status = "disabled";
    pinctrl-names = "default";
    pinctrl-0 = <&main_mmc0_pins_default>;
    bus-width = <8>;
    non-removable;
    ti,driver-strength-ohm = <50>;
    disable-wp;
    };

    Thanks

    Kenn

  • Our customized board didn't have EMMC chip(sdhci0) at all, and I already disabled it in dts :

    What is the effect after disabling eMMC (SDHCI0) node? Does the halt happen at the same place?

    - Keerthy

  • Hi all,

    Today I debug my board, we found an issue on both our board and TI IDK:

    it will not boot up normally when we disabled the sdchi0(EMMC part) in uboot's dts: k3-am654-base-board.dts

    EVM will display the information as follow:

    U-Boot SPL 2021.01-dirty (Oct 21 2021 - 18:43:42 -0700)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
    SPL initial stack usage: 1416 bytes
    Trying to boot from MMC2
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.5(release):08.00.00.004-dirty
    NOTICE:  BL31: Built : 04:09:04, Aug  7 2021
    
    U-Boot SPL 2021.01-dirty (Oct 21 2021 - 18:44:27 -0700)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
    Detected: Silicon SR2.0
    i2c_omap i2c@42120000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19
    Detected: AM6-IDKAPPEVM rev A
    Detected: SER-PCIE2LEVM rev A
    Trying to boot from MMC2
    spl: could not initialize mmc. error: -19
    SPL: failed to boot from all boot devices
    ### ERROR ### Please RESET the board ###
    

    It's unreasonable, right?  we guess maybe it's a bug of sdk.

    Because our customized board didn't have EMMC part (sdchi0), we have to face this issue, so it's unavoidable.

    Thanks

    Kenn

  • Yes, it's the same, halt happened at the same place.

    What is the effect after disabling eMMC (SDHCI0) node? Does the halt happen at the same place?

    BR

    Kenn

  • it will not boot up normally when we disabled the sdchi0(EMMC part) in uboot's dts: k3-am654-base-board.dts

    You need to add alias & it will boot. Basically in U-Boot you need to convey that sdhci1 will be the mmc1:

    diff --git a/arch/arm/dts/k3-am65.dtsi b/arch/arm/dts/k3-am65.dtsi
    index 4d6d196b2a..49fef7315b 100644
    --- a/arch/arm/dts/k3-am65.dtsi
    +++ b/arch/arm/dts/k3-am65.dtsi
    @@ -32,6 +32,7 @@
                    i2c5 = &main_i2c3;
                    spi0 = &ospi0;
                    spi1 = &ospi1;
    +               mmc1 = &sdhci1;
            };
     

    With the above change you should be able to boot with sdhci0 disabled. Let me know.

    Best Regards,
    Keerthy

  • Hi Kenn,

    I have prepared a minimal DT patch for AM654 linux boot with just UART, I2C, SDHCI nodes. All others are removed that are not must for boor.

    Please try to use this patch and check if your board can boot.

    From 58b9cb210f5d9a8ae3bfb9fd1a982ba705032c6f Mon Sep 17 00:00:00 2001
    From: Keerthy <j-keerthy@ti.com>
    Date: Fri, 22 Oct 2021 14:36:30 +0530
    Subject: [PATCH] arm64: am654: minimal DT for Linux kernel
    
    Signed-off-by: Keerthy <j-keerthy@ti.com>
    ---
     arch/arm64/boot/dts/ti/k3-am65-main.dtsi      | 1248 +----------------
     arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi       |  297 ----
     arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi    |   96 +-
     arch/arm64/boot/dts/ti/k3-am65.dtsi           |   13 -
     .../boot/dts/ti/k3-am654-base-board-sr1.dts   |   41 -
     .../arm64/boot/dts/ti/k3-am654-base-board.dts |  362 +----
     6 files changed, 80 insertions(+), 1977 deletions(-)
    
    diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
    index d3cf64474..8c7dbff9f 100644
    --- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
    +++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
    @@ -51,34 +51,49 @@
     		};
     	};
     
    -	serdes0: serdes@900000 {
    -		compatible = "ti,phy-am654-serdes";
    -		reg = <0x0 0x900000 0x0 0x2000>;
    -		reg-names = "serdes";
    -		#phy-cells = <2>;
    -		power-domains = <&k3_pds 153 TI_SCI_PD_EXCLUSIVE>;
    -		clocks = <&k3_clks 153 4>, <&k3_clks 153 1>, <&serdes1 AM654_SERDES_LO_REFCLK>;
    -		clock-output-names = "serdes0_cmu_refclk", "serdes0_lo_refclk", "serdes0_ro_refclk";
    -		assigned-clocks = <&k3_clks 153 4>, <&serdes0 AM654_SERDES_CMU_REFCLK>;
    -		assigned-clock-parents = <&k3_clks 153 8>, <&k3_clks 153 4>;
    -		ti,serdes-clk = <&serdes0_clk>;
    -		#clock-cells = <1>;
    -		mux-controls = <&serdes_mux 0>;
    -	};
    +	cbass_main_navss: navss@30800000 {
    +		compatible = "simple-mfd";
    +		#address-cells = <2>;
    +		#size-cells = <2>;
    +		ranges;
    +		dma-coherent;
    +		dma-ranges;
    +
    +		ti,sci-dev-id = <118>;
    +
    +		intr_main_navss: interrupt-controller1 {
    +			compatible = "ti,sci-intr";
    +			ti,intr-trigger-type = <4>;
    +			interrupt-controller;
    +			interrupt-parent = <&gic500>;
    +			#interrupt-cells = <1>;
    +			ti,sci = <&dmsc>;
    +			ti,sci-dev-id = <182>;
    +			ti,interrupt-ranges = <0 64 64>,
    +					      <64 448 64>;
    +		};
    +
    +		inta_main_udmass: interrupt-controller@33d00000 {
    +			compatible = "ti,sci-inta";
    +			reg = <0x0 0x33d00000 0x0 0x100000>;
    +			interrupt-controller;
    +			interrupt-parent = <&intr_main_navss>;
    +			msi-controller;
    +			ti,sci = <&dmsc>;
    +			ti,sci-dev-id = <179>;
    +			ti,interrupt-ranges = <0 0 256>;
    +		};
     
    -	serdes1: serdes@910000 {
    -		compatible = "ti,phy-am654-serdes";
    -		reg = <0x0 0x910000 0x0 0x2000>;
    -		reg-names = "serdes";
    -		#phy-cells = <2>;
    -		power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>;
    -		clocks = <&serdes0 AM654_SERDES_RO_REFCLK>, <&k3_clks 154 1>, <&k3_clks 154 5>;
    -		clock-output-names = "serdes1_cmu_refclk", "serdes1_lo_refclk", "serdes1_ro_refclk";
    -		assigned-clocks = <&k3_clks 154 5>, <&serdes1 AM654_SERDES_CMU_REFCLK>;
    -		assigned-clock-parents = <&k3_clks 154 9>, <&k3_clks 154 5>;
    -		ti,serdes-clk = <&serdes1_clk>;
    -		#clock-cells = <1>;
    -		mux-controls = <&serdes_mux 1>;
    +		secure_proxy_main: mailbox@32c00000 {
    +			compatible = "ti,am654-secure-proxy";
    +			#mbox-cells = <1>;
    +			reg-names = "target_data", "rt", "scfg";
    +			reg = <0x00 0x32c00000 0x00 0x100000>,
    +			      <0x00 0x32400000 0x00 0x100000>,
    +			      <0x00 0x32800000 0x00 0x100000>;
    +			interrupt-names = "rx_011";
    +			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
    +		};
     	};
     
     	main_uart0: serial@2800000 {
    @@ -91,51 +106,6 @@
     		current-speed = <115200>;
     		power-domains = <&k3_pds 146 TI_SCI_PD_EXCLUSIVE>;
     	};
    -
    -	main_uart1: serial@2810000 {
    -		compatible = "ti,am654-uart";
    -		reg = <0x00 0x02810000 0x00 0x100>;
    -		reg-shift = <2>;
    -		reg-io-width = <4>;
    -		interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
    -		clock-frequency = <48000000>;
    -		power-domains = <&k3_pds 147 TI_SCI_PD_EXCLUSIVE>;
    -	};
    -
    -	main_uart2: serial@2820000 {
    -		compatible = "ti,am654-uart";
    -		reg = <0x00 0x02820000 0x00 0x100>;
    -		reg-shift = <2>;
    -		reg-io-width = <4>;
    -		interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>;
    -		clock-frequency = <48000000>;
    -		power-domains = <&k3_pds 148 TI_SCI_PD_EXCLUSIVE>;
    -	};
    -
    -	crypto: crypto@4e00000 {
    -		compatible = "ti,sa2ul-crypto";
    -		label = "crypto-aes-gbe";
    -		reg = <0x0 0x4e00000 0x0 0x1200>;
    -		power-domains = <&k3_pds 136 TI_SCI_PD_EXCLUSIVE>;
    -		clocks = <&k3_clks 136 0>, <&k3_clks 136 1>, <&k3_clks 136 2>;
    -		clock-names = "x2_clk", "pka_in_clk", "x1_clk";
    -		#address-cells = <2>;
    -		#size-cells = <2>;
    -		ranges = <0x0 0x04e00000 0x00 0x04e00000 0x0 0x30000>;
    -		status = "okay";
    -
    -		dmas = <&main_udmap 0xc000>, <&main_udmap 0x4000>,
    -				<&main_udmap 0x4001>;
    -		dma-names = "tx", "rx1", "rx2";
    -
    -		eip76d_trng: trng@4e10000 {
    -			compatible = "inside-secure,safexcel-eip76";
    -			reg = <0x0 0x4e10000 0x0 0x7d>;
    -			interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
    -			clocks = <&k3_clks 136 1>;
    -		};
    -	};
    -
     	main_pmx0: pinmux@11c000 {
     		compatible = "pinctrl-single";
     		reg = <0x0 0x11c000 0x0 0x2e4>;
    @@ -174,90 +144,6 @@
     		power-domains = <&k3_pds 111 TI_SCI_PD_EXCLUSIVE>;
     	};
     
    -	main_i2c2: i2c@2020000 {
    -		compatible = "ti,am654-i2c", "ti,omap4-i2c";
    -		reg = <0x0 0x2020000 0x0 0x100>;
    -		interrupts = <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>;
    -		#address-cells = <1>;
    -		#size-cells = <0>;
    -		clock-names = "fck";
    -		clocks = <&k3_clks 112 1>;
    -		power-domains = <&k3_pds 112 TI_SCI_PD_EXCLUSIVE>;
    -	};
    -
    -	main_i2c3: i2c@2030000 {
    -		compatible = "ti,am654-i2c", "ti,omap4-i2c";
    -		reg = <0x0 0x2030000 0x0 0x100>;
    -		interrupts = <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>;
    -		#address-cells = <1>;
    -		#size-cells = <0>;
    -		clock-names = "fck";
    -		clocks = <&k3_clks 113 1>;
    -		power-domains = <&k3_pds 113 TI_SCI_PD_EXCLUSIVE>;
    -	};
    -
    -	ecap0: pwm@3100000 {
    -		compatible = "ti,am654-ecap", "ti,am3352-ecap";
    -		#pwm-cells = <3>;
    -		reg = <0x0 0x03100000 0x0 0x60>;
    -		power-domains = <&k3_pds 39 TI_SCI_PD_EXCLUSIVE>;
    -		clocks = <&k3_clks 39 0>;
    -		clock-names = "fck";
    -	};
    -
    -	main_spi0: spi@2100000 {
    -		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
    -		reg = <0x0 0x2100000 0x0 0x400>;
    -		interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
    -		clocks = <&k3_clks 137 1>;
    -		power-domains = <&k3_pds 137 TI_SCI_PD_EXCLUSIVE>;
    -		#address-cells = <1>;
    -		#size-cells = <0>;
    -		dmas = <&main_udmap 0xc500>, <&main_udmap 0x4500>;
    -		dma-names = "tx0", "rx0";
    -	};
    -
    -	main_spi1: spi@2110000 {
    -		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
    -		reg = <0x0 0x2110000 0x0 0x400>;
    -		interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>;
    -		clocks = <&k3_clks 138 1>;
    -		power-domains = <&k3_pds 138 TI_SCI_PD_EXCLUSIVE>;
    -		#address-cells = <1>;
    -		#size-cells = <0>;
    -		assigned-clocks = <&k3_clks 137 1>;
    -		assigned-clock-rates = <48000000>;
    -	};
    -
    -	main_spi2: spi@2120000 {
    -		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
    -		reg = <0x0 0x2120000 0x0 0x400>;
    -		interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
    -		clocks = <&k3_clks 139 1>;
    -		power-domains = <&k3_pds 139 TI_SCI_PD_EXCLUSIVE>;
    -		#address-cells = <1>;
    -		#size-cells = <0>;
    -	};
    -
    -	main_spi3: spi@2130000 {
    -		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
    -		reg = <0x0 0x2130000 0x0 0x400>;
    -		interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
    -		clocks = <&k3_clks 140 1>;
    -		power-domains = <&k3_pds 140 TI_SCI_PD_EXCLUSIVE>;
    -		#address-cells = <1>;
    -		#size-cells = <0>;
    -	};
    -
    -	main_spi4: spi@2140000 {
    -		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
    -		reg = <0x0 0x2140000 0x0 0x400>;
    -		interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
    -		clocks = <&k3_clks 141 1>;
    -		power-domains = <&k3_pds 141 TI_SCI_PD_EXCLUSIVE>;
    -		#address-cells = <1>;
    -		#size-cells = <0>;
    -	};
     
     	sdhci0: sdhci@4f80000 {
     		compatible = "ti,am654-sdhci-5.1";
    @@ -355,89 +241,6 @@
     		};
     	};
     
    -	ehrpwm_tbclk: clk0 {
    -		compatible = "ti,am654-ehrpwm-tbclk";
    -		#clock-cells = <1>;
    -		ti,tbclk-syscon = <&tbclk_ctrl>;
    -	};
    -
    -	dwc3_0: dwc3@4000000 {
    -		compatible = "ti,am654-dwc3";
    -		reg = <0x0 0x4000000 0x0 0x4000>;
    -		#address-cells = <1>;
    -		#size-cells = <1>;
    -		ranges = <0x0 0x0 0x4000000 0x20000>;
    -		interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
    -		dma-coherent;
    -		power-domains = <&k3_pds 151 TI_SCI_PD_EXCLUSIVE>;
    -		clocks = <&k3_clks 151 2>, <&k3_clks 151 7>;
    -		assigned-clocks = <&k3_clks 151 2>, <&k3_clks 151 7>;
    -		assigned-clock-parents = <&k3_clks 151 4>,	/* set REF_CLK to 20MHz i.e. PER0_PLL/48 */
    -					 <&k3_clks 151 9>;	/* set PIPE3_TXB_CLK to CLK_12M_RC/256 (for HS only) */
    -
    -		usb0: usb@10000 {
    -			compatible = "snps,dwc3";
    -			reg = <0x10000 0x10000>;
    -			interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
    -				     <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
    -				     <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
    -			interrupt-names = "peripheral",
    -					  "host",
    -					  "otg";
    -			maximum-speed = "high-speed";
    -			dr_mode = "otg";
    -			phys = <&usb0_phy>;
    -			phy-names = "usb2-phy";
    -			snps,dis_u3_susphy_quirk;
    -		};
    -	};
    -
    -	usb0_phy: phy@4100000 {
    -		compatible = "ti,am654-usb2", "ti,omap-usb2";
    -		reg = <0x0 0x4100000 0x0 0x54>;
    -		syscon-phy-power = <&scm_conf 0x4000>;
    -		clocks = <&k3_clks 151 0>, <&k3_clks 151 1>;
    -		clock-names = "wkupclk", "refclk";
    -		#phy-cells = <0>;
    -	};
    -
    -	dwc3_1: dwc3@4020000 {
    -		compatible = "ti,am654-dwc3";
    -		reg = <0x0 0x4020000 0x0 0x4000>;
    -		#address-cells = <1>;
    -		#size-cells = <1>;
    -		ranges = <0x0 0x0 0x4020000 0x20000>;
    -		interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
    -		dma-coherent;
    -		power-domains = <&k3_pds 152 TI_SCI_PD_EXCLUSIVE>;
    -		clocks = <&k3_clks 152 2>;
    -		assigned-clocks = <&k3_clks 152 2>;
    -		assigned-clock-parents = <&k3_clks 152 4>;	/* set REF_CLK to 20MHz i.e. PER0_PLL/48 */
    -
    -		usb1: usb@10000 {
    -			compatible = "snps,dwc3";
    -			reg = <0x10000 0x10000>;
    -			interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
    -				     <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
    -				     <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
    -			interrupt-names = "peripheral",
    -					  "host",
    -					  "otg";
    -			maximum-speed = "high-speed";
    -			dr_mode = "otg";
    -			phys = <&usb1_phy>;
    -			phy-names = "usb2-phy";
    -		};
    -	};
    -
    -	usb1_phy: phy@4110000 {
    -		compatible = "ti,am654-usb2", "ti,omap-usb2";
    -		reg = <0x0 0x4110000 0x0 0x54>;
    -		syscon-phy-power = <&scm_conf 0x4020>;
    -		clocks = <&k3_clks 152 0>, <&k3_clks 152 1>;
    -		clock-names = "wkupclk", "refclk";
    -		#phy-cells = <0>;
    -	};
     
     	intr_main_gpio: interrupt-controller0 {
     		compatible = "ti,sci-intr";
    @@ -450,220 +253,6 @@
     		ti,interrupt-ranges = <0 392 32>;
     	};
     
    -	cbass_main_navss: navss@30800000 {
    -		compatible = "simple-mfd";
    -		#address-cells = <2>;
    -		#size-cells = <2>;
    -		ranges;
    -		dma-coherent;
    -		dma-ranges;
    -
    -		ti,sci-dev-id = <118>;
    -
    -		intr_main_navss: interrupt-controller1 {
    -			compatible = "ti,sci-intr";
    -			ti,intr-trigger-type = <4>;
    -			interrupt-controller;
    -			interrupt-parent = <&gic500>;
    -			#interrupt-cells = <1>;
    -			ti,sci = <&dmsc>;
    -			ti,sci-dev-id = <182>;
    -			ti,interrupt-ranges = <0 64 64>,
    -					      <64 448 64>;
    -		};
    -
    -		inta_main_udmass: interrupt-controller@33d00000 {
    -			compatible = "ti,sci-inta";
    -			reg = <0x0 0x33d00000 0x0 0x100000>;
    -			interrupt-controller;
    -			interrupt-parent = <&intr_main_navss>;
    -			msi-controller;
    -			ti,sci = <&dmsc>;
    -			ti,sci-dev-id = <179>;
    -			ti,interrupt-ranges = <0 0 256>;
    -		};
    -
    -		secure_proxy_main: mailbox@32c00000 {
    -			compatible = "ti,am654-secure-proxy";
    -			#mbox-cells = <1>;
    -			reg-names = "target_data", "rt", "scfg";
    -			reg = <0x00 0x32c00000 0x00 0x100000>,
    -			      <0x00 0x32400000 0x00 0x100000>,
    -			      <0x00 0x32800000 0x00 0x100000>;
    -			interrupt-names = "rx_011";
    -			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
    -		};
    -
    -		hwspinlock: spinlock@30e00000 {
    -			compatible = "ti,am654-hwspinlock";
    -			reg = <0x00 0x30e00000 0x00 0x1000>;
    -			#hwlock-cells = <1>;
    -		};
    -
    -		mailbox0_cluster0: mailbox@31f80000 {
    -			compatible = "ti,am654-mailbox";
    -			reg = <0x00 0x31f80000 0x00 0x200>;
    -			#mbox-cells = <1>;
    -			ti,mbox-num-users = <4>;
    -			ti,mbox-num-fifos = <16>;
    -			interrupt-parent = <&intr_main_navss>;
    -		};
    -
    -		mailbox0_cluster1: mailbox@31f81000 {
    -			compatible = "ti,am654-mailbox";
    -			reg = <0x00 0x31f81000 0x00 0x200>;
    -			#mbox-cells = <1>;
    -			ti,mbox-num-users = <4>;
    -			ti,mbox-num-fifos = <16>;
    -			interrupt-parent = <&intr_main_navss>;
    -		};
    -
    -		mailbox0_cluster2: mailbox@31f82000 {
    -			compatible = "ti,am654-mailbox";
    -			reg = <0x00 0x31f82000 0x00 0x200>;
    -			#mbox-cells = <1>;
    -			ti,mbox-num-users = <4>;
    -			ti,mbox-num-fifos = <16>;
    -			interrupt-parent = <&intr_main_navss>;
    -		};
    -
    -		mailbox0_cluster3: mailbox@31f83000 {
    -			compatible = "ti,am654-mailbox";
    -			reg = <0x00 0x31f83000 0x00 0x200>;
    -			#mbox-cells = <1>;
    -			ti,mbox-num-users = <4>;
    -			ti,mbox-num-fifos = <16>;
    -			interrupt-parent = <&intr_main_navss>;
    -		};
    -
    -		mailbox0_cluster4: mailbox@31f84000 {
    -			compatible = "ti,am654-mailbox";
    -			reg = <0x00 0x31f84000 0x00 0x200>;
    -			#mbox-cells = <1>;
    -			ti,mbox-num-users = <4>;
    -			ti,mbox-num-fifos = <16>;
    -			interrupt-parent = <&intr_main_navss>;
    -		};
    -
    -		mailbox0_cluster5: mailbox@31f85000 {
    -			compatible = "ti,am654-mailbox";
    -			reg = <0x00 0x31f85000 0x00 0x200>;
    -			#mbox-cells = <1>;
    -			ti,mbox-num-users = <4>;
    -			ti,mbox-num-fifos = <16>;
    -			interrupt-parent = <&intr_main_navss>;
    -		};
    -
    -		mailbox0_cluster6: mailbox@31f86000 {
    -			compatible = "ti,am654-mailbox";
    -			reg = <0x00 0x31f86000 0x00 0x200>;
    -			#mbox-cells = <1>;
    -			ti,mbox-num-users = <4>;
    -			ti,mbox-num-fifos = <16>;
    -			interrupt-parent = <&intr_main_navss>;
    -		};
    -
    -		mailbox0_cluster7: mailbox@31f87000 {
    -			compatible = "ti,am654-mailbox";
    -			reg = <0x00 0x31f87000 0x00 0x200>;
    -			#mbox-cells = <1>;
    -			ti,mbox-num-users = <4>;
    -			ti,mbox-num-fifos = <16>;
    -			interrupt-parent = <&intr_main_navss>;
    -		};
    -
    -		mailbox0_cluster8: mailbox@31f88000 {
    -			compatible = "ti,am654-mailbox";
    -			reg = <0x00 0x31f88000 0x00 0x200>;
    -			#mbox-cells = <1>;
    -			ti,mbox-num-users = <4>;
    -			ti,mbox-num-fifos = <16>;
    -			interrupt-parent = <&intr_main_navss>;
    -		};
    -
    -		mailbox0_cluster9: mailbox@31f89000 {
    -			compatible = "ti,am654-mailbox";
    -			reg = <0x00 0x31f89000 0x00 0x200>;
    -			#mbox-cells = <1>;
    -			ti,mbox-num-users = <4>;
    -			ti,mbox-num-fifos = <16>;
    -			interrupt-parent = <&intr_main_navss>;
    -		};
    -
    -		mailbox0_cluster10: mailbox@31f8a000 {
    -			compatible = "ti,am654-mailbox";
    -			reg = <0x00 0x31f8a000 0x00 0x200>;
    -			#mbox-cells = <1>;
    -			ti,mbox-num-users = <4>;
    -			ti,mbox-num-fifos = <16>;
    -			interrupt-parent = <&intr_main_navss>;
    -		};
    -
    -		mailbox0_cluster11: mailbox@31f8b000 {
    -			compatible = "ti,am654-mailbox";
    -			reg = <0x00 0x31f8b000 0x00 0x200>;
    -			#mbox-cells = <1>;
    -			ti,mbox-num-users = <4>;
    -			ti,mbox-num-fifos = <16>;
    -			interrupt-parent = <&intr_main_navss>;
    -		};
    -
    -		ringacc: ringacc@3c000000 {
    -			compatible = "ti,am654-navss-ringacc";
    -			reg =	<0x0 0x3c000000 0x0 0x400000>,
    -				<0x0 0x38000000 0x0 0x400000>,
    -				<0x0 0x31120000 0x0 0x100>,
    -				<0x0 0x33000000 0x0 0x40000>;
    -			reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target";
    -			ti,num-rings = <818>;
    -			ti,sci-rm-range-gp-rings = <0x1>; /* GP ring range */
    -			ti,sci = <&dmsc>;
    -			ti,sci-dev-id = <187>;
    -			msi-parent = <&inta_main_udmass>;
    -		};
    -
    -		main_udmap: dma-controller@31150000 {
    -			compatible = "ti,am654-navss-main-udmap";
    -			reg =	<0x0 0x31150000 0x0 0x100>,
    -				<0x0 0x34000000 0x0 0x100000>,
    -				<0x0 0x35000000 0x0 0x100000>;
    -			reg-names = "gcfg", "rchanrt", "tchanrt";
    -			msi-parent = <&inta_main_udmass>;
    -			#dma-cells = <1>;
    -
    -			ti,sci = <&dmsc>;
    -			ti,sci-dev-id = <188>;
    -			ti,ringacc = <&ringacc>;
    -
    -			ti,sci-rm-range-tchan = <0xf>, /* TX_HCHAN */
    -						<0xd>; /* TX_CHAN */
    -			ti,sci-rm-range-rchan = <0xb>, /* RX_HCHAN */
    -						<0xa>; /* RX_CHAN */
    -			ti,sci-rm-range-rflow = <0x0>; /* GP RFLOW */
    -		};
    -
    -		cpts@310d0000 {
    -			compatible = "ti,am65-cpts";
    -			reg = <0x0 0x310d0000 0x0 0x400>;
    -			reg-names = "cpts";
    -			clocks = <&main_cpts_mux>;
    -			clock-names = "cpts";
    -			interrupts-extended = <&intr_main_navss 391>;
    -			interrupt-names = "cpts";
    -			ti,cpts-periodic-outputs = <6>;
    -			ti,cpts-ext-ts-inputs = <8>;
    -
    -			main_cpts_mux: refclk-mux {
    -				#clock-cells = <0>;
    -				clocks = <&k3_clks 118 5>, <&k3_clks 118 11>,
    -					<&k3_clks 157 91>, <&k3_clks 157 77>,
    -					<&k3_clks 157 102>, <&k3_clks 157 80>,
    -					<&k3_clks 120 3>, <&k3_clks 121 3>;
    -				assigned-clocks = <&main_cpts_mux>;
    -				assigned-clock-parents = <&k3_clks 118 5>;
    -			};
    -		};
    -	};
     
     	main_gpio0:  main_gpio0@600000 {
     		compatible = "ti,am654-gpio", "ti,keystone-gpio";
    @@ -694,757 +283,4 @@
     		clocks = <&k3_clks 58 0>;
     		clock-names = "gpio";
     	};
    -
    -	pcie0_rc: pcie@5500000 {
    -		compatible = "ti,am654-pcie-rc";
    -		reg =  <0x0 0x5500000 0x0 0x1000>, <0x0 0x5501000 0x0 0x1000>, <0x0 0x10000000 0x0 0x2000>, <0x0 0x5506000 0x0 0x1000>;
    -		reg-names = "app", "dbics", "config", "atu";
    -		power-domains = <&k3_pds 120 TI_SCI_PD_EXCLUSIVE>;
    -		#address-cells = <3>;
    -		#size-cells = <2>;
    -		ranges = <0x81000000 0 0          0x0 0x10020000 0 0x00010000
    -			  0x82000000 0 0x10030000 0x0 0x10030000 0 0x07FD0000>;
    -		ti,syscon-pcie-id = <&pcie_devid>;
    -		ti,syscon-pcie-mode = <&pcie0_mode>;
    -		bus-range = <0x0 0xff>;
    -		num-viewport = <16>;
    -		max-link-speed = <2>;
    -		dma-coherent;
    -		interrupts = <GIC_SPI 340 IRQ_TYPE_EDGE_RISING>;
    -		msi-map = <0x0 &gic_its 0x0 0x10000>;
    -		#interrupt-cells = <1>;
    -		interrupt-map-mask = <0 0 0 7>;
    -		interrupt-map = <0 0 0 1 &pcie0_intc 0>, /* INT A */
    -				<0 0 0 2 &pcie0_intc 0>, /* INT B */
    -				<0 0 0 3 &pcie0_intc 0>, /* INT C */
    -				<0 0 0 4 &pcie0_intc 0>; /* INT D */
    -
    -		pcie0_intc: legacy-interrupt-controller@1 {
    -			interrupt-controller;
    -			#interrupt-cells = <1>;
    -			interrupt-parent = <&gic500>;
    -			interrupts = <GIC_SPI 328 IRQ_TYPE_EDGE_RISING>;
    -		};
    -	};
    -
    -	pcie0_ep: pcie-ep@5500000 {
    -		compatible = "ti,am654-pcie-ep";
    -		reg =  <0x0 0x5500000 0x0 0x1000>, <0x0 0x5501000 0x0 0x1000>, <0x0 0x10000000 0x0 0x8000000>, <0x0 0x5506000 0x0 0x1000>;
    -		reg-names = "app", "dbics", "addr_space", "atu";
    -		power-domains = <&k3_pds 120 TI_SCI_PD_EXCLUSIVE>;
    -		ti,syscon-pcie-mode = <&pcie0_mode>;
    -		num-ib-windows = <16>;
    -		num-ob-windows = <16>;
    -		max-link-speed = <2>;
    -		dma-coherent;
    -		interrupts = <GIC_SPI 340 IRQ_TYPE_EDGE_RISING>;
    -	};
    -
    -	pcie1_rc: pcie@5600000 {
    -		compatible = "ti,am654-pcie-rc";
    -		reg =  <0x0 0x5600000 0x0 0x1000>, <0x0 0x5601000 0x0 0x1000>, <0x0 0x18000000 0x0 0x2000>, <0x0 0x5606000 0x0 0x1000>;
    -		reg-names = "app", "dbics", "config", "atu";
    -		power-domains = <&k3_pds 121 TI_SCI_PD_EXCLUSIVE>;
    -		#address-cells = <3>;
    -		#size-cells = <2>;
    -		ranges = <0x81000000 0 0          0x0   0x18020000 0 0x00010000
    -			  0x82000000 0 0x18030000 0x0   0x18030000 0 0x07FD0000>;
    -		ti,syscon-pcie-id = <&pcie_devid>;
    -		ti,syscon-pcie-mode = <&pcie1_mode>;
    -		bus-range = <0x0 0xff>;
    -		num-viewport = <16>;
    -		max-link-speed = <2>;
    -		dma-coherent;
    -		interrupts = <GIC_SPI 355 IRQ_TYPE_EDGE_RISING>;
    -		msi-map = <0x0 &gic_its 0x10000 0x10000>;
    -		#interrupt-cells = <1>;
    -		interrupt-map-mask = <0 0 0 7>;
    -		interrupt-map = <0 0 0 1 &pcie1_intc 0>, /* INT A */
    -				<0 0 0 2 &pcie1_intc 0>, /* INT B */
    -				<0 0 0 3 &pcie1_intc 0>, /* INT C */
    -				<0 0 0 4 &pcie1_intc 0>; /* INT D */
    -
    -		pcie1_intc: legacy-interrupt-controller@1 {
    -			interrupt-controller;
    -			#interrupt-cells = <1>;
    -			interrupt-parent = <&gic500>;
    -			interrupts = <GIC_SPI 343 IRQ_TYPE_EDGE_RISING>;
    -		};
    -	};
    -
    -	pcie1_ep: pcie-ep@5600000 {
    -		compatible = "ti,am654-pcie-ep";
    -		reg =  <0x0 0x5600000 0x0 0x1000>, <0x0 0x5601000 0x0 0x1000>, <0x0 0x18000000 0x0 0x4000000>, <0x0 0x5606000 0x0 0x1000>;
    -		reg-names = "app", "dbics", "addr_space", "atu";
    -		power-domains = <&k3_pds 121 TI_SCI_PD_EXCLUSIVE>;
    -		ti,syscon-pcie-mode = <&pcie1_mode>;
    -		num-ib-windows = <16>;
    -		num-ob-windows = <16>;
    -		max-link-speed = <2>;
    -		dma-coherent;
    -		interrupts = <GIC_SPI 355 IRQ_TYPE_EDGE_RISING>;
    -	};
    -
    -	cal: cal@6f03000 {
    -		compatible = "ti,am654-cal";
    -		reg = <0x0 0x06f03000 0x0 0x400>,
    -		      <0x0 0x06f03800 0x0 0x40>;
    -		reg-names = "cal_top",
    -			    "cal_rx_core0";
    -		interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
    -		ti,camerrx-control = <&scm_conf 0x40c0>;
    -		clock-names = "fck";
    -		clocks = <&k3_clks 2 0>;
    -		power-domains = <&k3_pds 2 TI_SCI_PD_EXCLUSIVE>;
    -
    -		ports {
    -			#address-cells = <1>;
    -			#size-cells = <0>;
    -
    -			csi2_0: port@0 {
    -				reg = <0>;
    -			};
    -		};
    -	};
    -
    -	mcasp0: mcasp@02B00000 {
    -		compatible = "ti,am33xx-mcasp-audio";
    -		reg = <0x0 0x02B00000 0x0 0x2000>,
    -			<0x0 0x02B08000 0x0 0x1000>;
    -		reg-names = "mpu","dat";
    -		interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>,
    -				<GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
    -		interrupt-names = "tx", "rx";
    -
    -		dmas = <&main_udmap 0xc400>, <&main_udmap 0x4400>;
    -		dma-names = "tx", "rx";
    -
    -		clocks = <&k3_clks 104 0>;
    -		clock-names = "fck";
    -		power-domains = <&k3_pds 104 TI_SCI_PD_EXCLUSIVE>;
    -
    -		status = "disabled";
    -	};
    -
    -	mcasp1: mcasp@02B10000 {
    -		compatible = "ti,am33xx-mcasp-audio";
    -		reg = <0x0 0x02B10000 0x0 0x2000>,
    -			<0x0 0x02B18000 0x0 0x1000>;
    -		reg-names = "mpu","dat";
    -		interrupts = <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
    -				<GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>;
    -		interrupt-names = "tx", "rx";
    -
    -		dmas = <&main_udmap 0xc401>, <&main_udmap 0x4401>;
    -		dma-names = "tx", "rx";
    -
    -		clocks = <&k3_clks 105 0>;
    -		clock-names = "fck";
    -		power-domains = <&k3_pds 105 TI_SCI_PD_EXCLUSIVE>;
    -
    -		status = "disabled";
    -	};
    -
    -	mcasp2: mcasp@02B20000 {
    -		compatible = "ti,am33xx-mcasp-audio";
    -		reg = <0x0 0x02B20000 0x0 0x2000>,
    -			<0x0 0x02B28000 0x0 0x1000>;
    -		reg-names = "mpu","dat";
    -		interrupts = <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>,
    -				<GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>;
    -		interrupt-names = "tx", "rx";
    -
    -		dmas = <&main_udmap 0xc402>, <&main_udmap 0x4402>;
    -		dma-names = "tx", "rx";
    -
    -		clocks = <&k3_clks 106 0>;
    -		clock-names = "fck";
    -		power-domains = <&k3_pds 106 TI_SCI_PD_EXCLUSIVE>;
    -
    -		status = "disabled";
    -	};
    -
    -	dss: dss@04a00000 {
    -		compatible = "ti,am65x-dss";
    -		reg =	<0x0 0x04a00000 0x0 0x1000>, /* common */
    -			<0x0 0x04a02000 0x0 0x1000>, /* vidl1 */
    -			<0x0 0x04a06000 0x0 0x1000>, /* vid */
    -			<0x0 0x04a07000 0x0 0x1000>, /* ovr1 */
    -			<0x0 0x04a08000 0x0 0x1000>, /* ovr2 */
    -			<0x0 0x04a0a000 0x0 0x1000>, /* vp1 */
    -			<0x0 0x04a0b000 0x0 0x1000>; /* vp2 */
    -		reg-names = "common", "vidl1", "vid",
    -			"ovr1", "ovr2", "vp1", "vp2";
    -
    -		ti,am65x-oldi-io-ctrl = <&dss_oldi_io_ctrl>;
    -
    -		power-domains = <&k3_pds 67 TI_SCI_PD_EXCLUSIVE>;
    -
    -		clocks =	<&k3_clks 67 1>,
    -				<&k3_clks 216 1>,
    -				<&k3_clks 67 2>;
    -		clock-names = "fck", "vp1", "vp2";
    -
    -		/*
    -		 * Set vp2 clk (DPI_1_IN_CLK) mux to PLL4 via
    -		 * DIV1. See "Figure 12-3365. DSS Integration"
    -		 * in AM65x TRM for details.
    -		 */
    -		assigned-clocks = <&k3_clks 67 2>;
    -		assigned-clock-parents = <&k3_clks 67 5>;
    -
    -		interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
    -
    -		status = "disabled";
    -
    -		dma-coherent;
    -
    -		dss_ports: ports {
    -			#address-cells = <1>;
    -			#size-cells = <0>;
    -		};
    -	};
    -
    -	gpu: gpu@7000000 {
    -		compatible = "ti,am654-sgx544", "img,sgx544";
    -		reg = <0x0 0x7000000 0x0 0x10000>;
    -		interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
    -		power-domains = <&k3_pds 65 TI_SCI_PD_EXCLUSIVE>;
    -		clocks = <&k3_clks 65 0>,
    -			 <&k3_clks 65 1>,
    -			 <&k3_clks 65 2>,
    -			 <&k3_clks 65 3>;
    -		clock-names = "mem_clk",
    -			      "hyd_clk",
    -			      "sgx_clk",
    -			      "sys_clk";
    -	};
    -
    -	icssg0: icssg@b000000 {
    -		compatible = "ti,am654-icssg";
    -		reg = <0x00 0xb000000 0x00 0x80000>;
    -		power-domains = <&k3_pds 62 TI_SCI_PD_EXCLUSIVE>;
    -		#address-cells = <1>;
    -		#size-cells = <1>;
    -		ranges = <0x0 0x00 0xb000000 0x80000>;
    -		dma-ranges;
    -
    -		icssg0_mem: memories@0 {
    -			reg = <0x0 0x2000>,
    -			      <0x2000 0x2000>,
    -			      <0x10000 0x10000>;
    -			reg-names = "dram0", "dram1",
    -				    "shrdram2";
    -		};
    -
    -		icssg0_cfg: cfg@26000 {
    -			compatible = "syscon";
    -			reg = <0x26000 0x200>;
    -		};
    -
    -		icssg0_coreclk_mux: coreclk-mux {
    -			#clock-cells = <0>;
    -			clocks = <&k3_clks 62 19>, /* icssg0_core_clk */
    -				 <&k3_clks 62 3>;  /* icssg0_iclk */
    -			assigned-clocks = <&icssg0_coreclk_mux>;
    -			assigned-clock-parents = <&k3_clks 62 3>;
    -		};
    -
    -		icssg0_iepclk_mux: iepclk-mux {
    -			#clock-cells = <0>;
    -			clocks = <&k3_clks 62 10>,	/* icssg0_iep_clk */
    -				 <&icssg0_coreclk_mux>;	/* core_clk */
    -			assigned-clocks = <&icssg0_iepclk_mux>;
    -			assigned-clock-parents = <&icssg0_coreclk_mux>;
    -		};
    -
    -		icssg0_iep0: iep@2e000 {
    -			compatible = "ti,am654-icss-iep";
    -			reg = <0x2e000 0x1000>;
    -			clocks = <&icssg0_iepclk_mux>;
    -		};
    -
    -		icssg0_iep1: iep@2f000 {
    -			compatible = "ti,am654-icss-iep";
    -			reg = <0x2f000 0x1000>;
    -			clocks = <&icssg0_iepclk_mux>;
    -		};
    -
    -		icssg0_mii_rt: mii-rt@32000 {
    -			compatible = "syscon";
    -			reg = <0x32000 0x100>;
    -		};
    -
    -		icssg0_mii_g_rt: mii-g-rt@33000 {
    -			compatible = "syscon";
    -			reg = <0x33000 0x1000>;
    -		};
    -
    -		icssg0_intc: interrupt-controller@20000 {
    -			compatible = "ti,icssg-intc";
    -			reg = <0x20000 0x2000>;
    -			interrupt-controller;
    -			#interrupt-cells = <1>;
    -			interrupts = <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
    -				     <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>,
    -				     <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
    -				     <GIC_SPI 257 IRQ_TYPE_LEVEL_HIGH>,
    -				     <GIC_SPI 258 IRQ_TYPE_LEVEL_HIGH>,
    -				     <GIC_SPI 259 IRQ_TYPE_LEVEL_HIGH>,
    -				     <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>,
    -				     <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>;
    -			interrupt-names = "host_intr0", "host_intr1",
    -					  "host_intr2", "host_intr3",
    -					  "host_intr4", "host_intr5",
    -					  "host_intr6", "host_intr7";
    -			ti,irqs-shared = /bits/ 8 <5 6 7>;
    -		};
    -
    -		pru0_0: pru@34000 {
    -			compatible = "ti,am654-pru";
    -			reg = <0x34000 0x4000>,
    -			      <0x22000 0x100>,
    -			      <0x22400 0x100>;
    -			reg-names = "iram", "control", "debug";
    -			firmware-name = "am65x-pru0_0-fw";
    -			interrupt-parent = <&icssg0_intc>;
    -			interrupts = <16>, <17>;
    -			interrupt-names = "vring", "kick";
    -		};
    -
    -		rtu0_0: rtu@4000 {
    -			compatible = "ti,am654-rtu";
    -			reg = <0x4000 0x2000>,
    -			      <0x23000 0x100>,
    -			      <0x23400 0x100>;
    -			reg-names = "iram", "control", "debug";
    -			firmware-name = "am65x-rtu0_0-fw";
    -			interrupt-parent = <&icssg0_intc>;
    -			interrupts = <20>, <21>;
    -			interrupt-names = "vring", "kick";
    -		};
    -
    -		tx_pru0_0: txpru@a000 {
    -			compatible = "ti,am654-tx-pru";
    -			reg = <0xa000 0x1800>,
    -			      <0x25000 0x100>,
    -			      <0x25400 0x100>;
    -			reg-names = "iram", "control", "debug";
    -			firmware-name = "am65x-txpru0_0-fw";
    -		};
    -
    -		pru0_1: pru@38000 {
    -			compatible = "ti,am654-pru";
    -			reg = <0x38000 0x4000>,
    -			      <0x24000 0x100>,
    -			      <0x24400 0x100>;
    -			reg-names = "iram", "control", "debug";
    -			firmware-name = "am65x-pru0_1-fw";
    -			interrupt-parent = <&icssg0_intc>;
    -			interrupts = <18>, <19>;
    -			interrupt-names = "vring", "kick";
    -		};
    -
    -		rtu0_1: rtu@6000 {
    -			compatible = "ti,am654-rtu";
    -			reg = <0x6000 0x2000>,
    -			      <0x23800 0x100>,
    -			      <0x23c00 0x100>;
    -			reg-names = "iram", "control", "debug";
    -			firmware-name = "am65x-rtu0_1-fw";
    -			interrupt-parent = <&icssg0_intc>;
    -			interrupts = <22>, <23>;
    -			interrupt-names = "vring", "kick";
    -		};
    -
    -		tx_pru0_1: txpru@c000 {
    -			compatible = "ti,am654-tx-pru";
    -			reg = <0xc000 0x1800>,
    -			      <0x25800 0x100>,
    -			      <0x25c00 0x100>;
    -			reg-names = "iram", "control", "debug";
    -			firmware-name = "am65x-txpru0_1-fw";
    -		};
    -
    -		icssg0_mdio: mdio@32400 {
    -			compatible = "ti,davinci_mdio";
    -			reg = <0x32400 0x100>;
    -			clocks = <&k3_clks 62 3>;
    -			clock-names = "fck";
    -			#address-cells = <1>;
    -			#size-cells = <0>;
    -			bus_freq = <1000000>;
    -			status = "disabled";
    -		};
    -	};
    -
    -	icssg1: icssg@b100000 {
    -		compatible = "ti,am654-icssg";
    -		reg = <0x00 0xb100000 0x00 0x80000>;
    -		power-domains = <&k3_pds 63 TI_SCI_PD_EXCLUSIVE>;
    -		#address-cells = <1>;
    -		#size-cells = <1>;
    -		ranges = <0x0 0x00 0xb100000 0x80000>;
    -		dma-ranges;
    -
    -		icssg1_mem: memories@0 {
    -			reg = <0x0 0x2000>,
    -			      <0x2000 0x2000>,
    -			      <0x10000 0x10000>;
    -			reg-names = "dram0", "dram1",
    -				    "shrdram2";
    -		};
    -
    -		icssg1_cfg: cfg@26000 {
    -			compatible = "syscon";
    -			reg = <0x26000 0x200>;
    -		};
    -
    -		icssg1_coreclk_mux: coreclk-mux {
    -			#clock-cells = <0>;
    -			clocks = <&k3_clks 63 19>, /* icssg1_core_clk */
    -				 <&k3_clks 63 3>;  /* icssg1_iclk */
    -			assigned-clocks = <&icssg1_coreclk_mux>;
    -			assigned-clock-parents = <&k3_clks 63 3>;
    -		};
    -
    -		icssg1_iepclk_mux: iepclk-mux {
    -			#clock-cells = <0>;
    -			clocks = <&k3_clks 63 10>,	/* icssg1_iep_clk */
    -				 <&icssg1_coreclk_mux>;	/* core_clk */
    -			assigned-clocks = <&icssg1_iepclk_mux>;
    -			assigned-clock-parents = <&icssg1_coreclk_mux>;
    -		};
    -
    -		icssg1_iep0: iep@2e000 {
    -			compatible = "ti,am654-icss-iep";
    -			reg = <0x2e000 0x1000>;
    -			clocks = <&icssg1_iepclk_mux>;
    -		};
    -
    -		icssg1_iep1: iep@2f000 {
    -			compatible = "ti,am654-icss-iep";
    -			reg = <0x2f000 0x1000>;
    -			clocks = <&icssg1_iepclk_mux>;
    -		};
    -
    -		icssg1_mii_rt: mii-rt@32000 {
    -			compatible = "syscon";
    -			reg = <0x32000 0x100>;
    -		};
    -
    -		icssg1_mii_g_rt: mii-g-rt@33000 {
    -			compatible = "syscon";
    -			reg = <0x33000 0x1000>;
    -		};
    -
    -		icssg1_intc: interrupt-controller@20000 {
    -			compatible = "ti,icssg-intc";
    -			reg = <0x20000 0x2000>;
    -			interrupt-controller;
    -			#interrupt-cells = <1>;
    -			interrupts = <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>,
    -				     <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>,
    -				     <GIC_SPI 264 IRQ_TYPE_LEVEL_HIGH>,
    -				     <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>,
    -				     <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>,
    -				     <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>,
    -				     <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
    -				     <GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH>;
    -			interrupt-names = "host_intr0", "host_intr1",
    -					  "host_intr2", "host_intr3",
    -					  "host_intr4", "host_intr5",
    -					  "host_intr6", "host_intr7";
    -			ti,irqs-shared = /bits/ 8 <5 6 7>;
    -		};
    -
    -		pru1_0: pru@34000 {
    -			compatible = "ti,am654-pru";
    -			reg = <0x34000 0x4000>,
    -			      <0x22000 0x100>,
    -			      <0x22400 0x100>;
    -			reg-names = "iram", "control", "debug";
    -			firmware-name = "am65x-pru1_0-fw";
    -			interrupt-parent = <&icssg1_intc>;
    -			interrupts = <16>, <17>;
    -			interrupt-names = "vring", "kick";
    -		};
    -
    -		rtu1_0: rtu@4000 {
    -			compatible = "ti,am654-rtu";
    -			reg = <0x4000 0x2000>,
    -			      <0x23000 0x100>,
    -			      <0x23400 0x100>;
    -			reg-names = "iram", "control", "debug";
    -			firmware-name = "am65x-rtu1_0-fw";
    -			interrupt-parent = <&icssg1_intc>;
    -			interrupts = <20>, <21>;
    -			interrupt-names = "vring", "kick";
    -		};
    -
    -		tx_pru1_0: txpru@a000 {
    -			compatible = "ti,am654-tx-pru";
    -			reg = <0xa000 0x1800>,
    -			      <0x25000 0x100>,
    -			      <0x25400 0x100>;
    -			reg-names = "iram", "control", "debug";
    -			firmware-name = "am65x-txpru1_0-fw";
    -		};
    -
    -		pru1_1: pru@38000 {
    -			compatible = "ti,am654-pru";
    -			reg = <0x38000 0x4000>,
    -			      <0x24000 0x100>,
    -			      <0x24400 0x100>;
    -			reg-names = "iram", "control", "debug";
    -			firmware-name = "am65x-pru1_1-fw";
    -			interrupt-parent = <&icssg1_intc>;
    -			interrupts = <18>, <19>;
    -			interrupt-names = "vring", "kick";
    -		};
    -
    -		rtu1_1: rtu@6000 {
    -			compatible = "ti,am654-rtu";
    -			reg = <0x6000 0x2000>,
    -			      <0x23800 0x100>,
    -			      <0x23c00 0x100>;
    -			reg-names = "iram", "control", "debug";
    -			firmware-name = "am65x-rtu1_1-fw";
    -			interrupt-parent = <&icssg1_intc>;
    -			interrupts = <22>, <23>;
    -			interrupt-names = "vring", "kick";
    -		};
    -
    -		tx_pru1_1: txpru@c000 {
    -			compatible = "ti,am654-tx-pru";
    -			reg = <0xc000 0x1800>,
    -			      <0x25800 0x100>,
    -			      <0x25c00 0x100>;
    -			reg-names = "iram", "control", "debug";
    -			firmware-name = "am65x-txpru1_1-fw";
    -		};
    -
    -		icssg1_mdio: mdio@32400 {
    -			compatible = "ti,davinci_mdio";
    -			reg = <0x32400 0x100>;
    -			clocks = <&k3_clks 63 3>;
    -			clock-names = "fck";
    -			#address-cells = <1>;
    -			#size-cells = <0>;
    -			bus_freq = <1000000>;
    -			status = "disabled";
    -		};
    -	};
    -
    -	icssg2: icssg@b200000 {
    -		compatible = "ti,am654-icssg";
    -		reg = <0x00 0xb200000 0x00 0x80000>;
    -		power-domains = <&k3_pds 64 TI_SCI_PD_EXCLUSIVE>;
    -		#address-cells = <1>;
    -		#size-cells = <1>;
    -		ranges = <0x0 0x00 0xb200000 0x80000>;
    -		dma-ranges;
    -
    -		icssg2_mem: memories@0 {
    -			reg = <0x0 0x2000>,
    -			      <0x2000 0x2000>,
    -			      <0x10000 0x10000>;
    -			reg-names = "dram0", "dram1",
    -				    "shrdram2";
    -		};
    -
    -		icssg2_cfg: cfg@26000 {
    -			compatible = "syscon";
    -			reg = <0x26000 0x200>;
    -		};
    -
    -		icssg2_coreclk_mux: coreclk-mux {
    -			#clock-cells = <0>;
    -			clocks = <&k3_clks 64 19>, /* icssg1_core_clk */
    -				 <&k3_clks 64 3>;  /* icssg1_iclk */
    -			assigned-clocks = <&icssg2_coreclk_mux>;
    -			assigned-clock-parents = <&k3_clks 64 3>;
    -		};
    -
    -		icssg2_iepclk_mux: iepclk-mux {
    -			#clock-cells = <0>;
    -			clocks = <&k3_clks 64 10>,	/* icssg1_iep_clk */
    -				 <&icssg2_coreclk_mux>;	/* core_clk */
    -			assigned-clocks = <&icssg2_iepclk_mux>;
    -			assigned-clock-parents = <&icssg2_coreclk_mux>;
    -		};
    -
    -		icssg2_iep0: iep@2e000 {
    -			compatible = "ti,am654-icss-iep";
    -			reg = <0x2e000 0x1000>;
    -			clocks = <&icssg2_iepclk_mux>;
    -		};
    -
    -		icssg2_iep1: iep@2f000 {
    -			compatible = "ti,am654-icss-iep";
    -			reg = <0x2f000 0x1000>;
    -			clocks = <&icssg2_iepclk_mux>;
    -		};
    -
    -		icssg2_mii_rt: mii-rt@32000 {
    -			compatible = "syscon";
    -			reg = <0x32000 0x100>;
    -		};
    -
    -		icssg2_mii_g_rt: mii-g-rt@33000 {
    -			compatible = "syscon";
    -			reg = <0x33000 0x1000>;
    -		};
    -
    -		icssg2_intc: interrupt-controller@20000 {
    -			compatible = "ti,icssg-intc";
    -			reg = <0x20000 0x2000>;
    -			interrupt-controller;
    -			#interrupt-cells = <1>;
    -			interrupts = <GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH>,
    -				     <GIC_SPI 271 IRQ_TYPE_LEVEL_HIGH>,
    -				     <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>,
    -				     <GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH>,
    -				     <GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH>,
    -				     <GIC_SPI 275 IRQ_TYPE_LEVEL_HIGH>,
    -				     <GIC_SPI 276 IRQ_TYPE_LEVEL_HIGH>,
    -				     <GIC_SPI 277 IRQ_TYPE_LEVEL_HIGH>;
    -			interrupt-names = "host_intr0", "host_intr1",
    -					  "host_intr2", "host_intr3",
    -					  "host_intr4", "host_intr5",
    -					  "host_intr6", "host_intr7";
    -			ti,irqs-shared = /bits/ 8 <5 6 7>;
    -		};
    -
    -		pru2_0: pru@34000 {
    -			compatible = "ti,am654-pru";
    -			reg = <0x34000 0x4000>,
    -			      <0x22000 0x100>,
    -			      <0x22400 0x100>;
    -			reg-names = "iram", "control", "debug";
    -			firmware-name = "am65x-pru2_0-fw";
    -			interrupt-parent = <&icssg2_intc>;
    -			interrupts = <16>, <17>;
    -			interrupt-names = "vring", "kick";
    -		};
    -
    -		rtu2_0: rtu@4000 {
    -			compatible = "ti,am654-rtu";
    -			reg = <0x4000 0x2000>,
    -			      <0x23000 0x100>,
    -			      <0x23400 0x100>;
    -			reg-names = "iram", "control", "debug";
    -			firmware-name = "am65x-rtu2_0-fw";
    -			interrupt-parent = <&icssg2_intc>;
    -			interrupts = <20>, <21>;
    -			interrupt-names = "vring", "kick";
    -		};
    -
    -		tx_pru2_0: txpru@a000 {
    -			compatible = "ti,am654-tx-pru";
    -			reg = <0xa000 0x1800>,
    -			      <0x25000 0x100>,
    -			      <0x25400 0x100>;
    -			reg-names = "iram", "control", "debug";
    -			firmware-name = "am65x-txpru2_0-fw";
    -		};
    -
    -		pru2_1: pru@38000 {
    -			compatible = "ti,am654-pru";
    -			reg = <0x38000 0x4000>,
    -			      <0x24000 0x100>,
    -			      <0x24400 0x100>;
    -			reg-names = "iram", "control", "debug";
    -			firmware-name = "am65x-pru2_1-fw";
    -			interrupt-parent = <&icssg2_intc>;
    -			interrupts = <18>, <19>;
    -			interrupt-names = "vring", "kick";
    -		};
    -
    -		rtu2_1: rtu@6000 {
    -			compatible = "ti,am654-rtu";
    -			reg = <0x6000 0x2000>,
    -			      <0x23800 0x100>,
    -			      <0x23c00 0x100>;
    -			reg-names = "iram", "control", "debug";
    -			firmware-name = "am65x-rtu2_1-fw";
    -			interrupt-parent = <&icssg2_intc>;
    -			interrupts = <22>, <23>;
    -			interrupt-names = "vring", "kick";
    -		};
    -
    -		tx_pru2_1: txpru@c000 {
    -			compatible = "ti,am654-tx-pru";
    -			reg = <0xc000 0x1800>,
    -			      <0x25800 0x100>,
    -			      <0x25c00 0x100>;
    -			reg-names = "iram", "control", "debug";
    -			firmware-name = "am65x-txpru2_1-fw";
    -		};
    -
    -		icssg2_mdio: mdio@32400 {
    -			compatible = "ti,davinci_mdio";
    -			reg = <0x32400 0x100>;
    -			clocks = <&k3_clks 64 3>;
    -			clock-names = "fck";
    -			#address-cells = <1>;
    -			#size-cells = <0>;
    -			bus_freq = <1000000>;
    -			status = "disabled";
    -		};
    -	};
    -
    -	ehrpwm0: pwm@3000000 {
    -		compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
    -		#pwm-cells = <3>;
    -		reg = <0x0 0x3000000 0x0 0x100>;
    -		power-domains = <&k3_pds 40 TI_SCI_PD_EXCLUSIVE>;
    -		clocks = <&ehrpwm_tbclk 0>, <&k3_clks 40 0>;
    -		clock-names = "tbclk", "fck";
    -	};
    -
    -	ehrpwm1: pwm@3010000 {
    -		compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
    -		#pwm-cells = <3>;
    -		reg = <0x0 0x3010000 0x0 0x100>;
    -		power-domains = <&k3_pds 41 TI_SCI_PD_EXCLUSIVE>;
    -		clocks = <&ehrpwm_tbclk 1>, <&k3_clks 41 0>;
    -		clock-names = "tbclk", "fck";
    -	};
    -
    -	ehrpwm2: pwm@3020000 {
    -		compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
    -		#pwm-cells = <3>;
    -		reg = <0x0 0x3020000 0x0 0x100>;
    -		power-domains = <&k3_pds 42 TI_SCI_PD_EXCLUSIVE>;
    -		clocks = <&ehrpwm_tbclk 2>, <&k3_clks 42 0>;
    -		clock-names = "tbclk", "fck";
    -	};
    -
    -	ehrpwm3: pwm@3030000 {
    -		compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
    -		#pwm-cells = <3>;
    -		reg = <0x0 0x3030000 0x0 0x100>;
    -		power-domains = <&k3_pds 43 TI_SCI_PD_EXCLUSIVE>;
    -		clocks = <&ehrpwm_tbclk 3>, <&k3_clks 43 0>;
    -		clock-names = "tbclk", "fck";
    -	};
    -
    -	ehrpwm4: pwm@3040000 {
    -		compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
    -		#pwm-cells = <3>;
    -		reg = <0x0 0x3040000 0x0 0x100>;
    -		power-domains = <&k3_pds 44 TI_SCI_PD_EXCLUSIVE>;
    -		clocks = <&ehrpwm_tbclk 4>, <&k3_clks 44 0>;
    -		clock-names = "tbclk", "fck";
    -	};
    -
    -	ehrpwm5: pwm@3050000 {
    -		compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
    -		#pwm-cells = <3>;
    -		reg = <0x0 0x3050000 0x0 0x100>;
    -		power-domains = <&k3_pds 45 TI_SCI_PD_EXCLUSIVE>;
    -		clocks = <&ehrpwm_tbclk 5>, <&k3_clks 45 0>;
    -		clock-names = "tbclk", "fck";
    -	};
     };
    diff --git a/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi b/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi
    index 13ec1c26e..a507329b2 100644
    --- a/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi
    +++ b/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi
    @@ -42,301 +42,4 @@
     			reg = <0x0 0x40000>;
     		};
     	};
    -
    -	mcu_i2c0: i2c@40b00000 {
    -		compatible = "ti,am654-i2c", "ti,omap4-i2c";
    -		reg = <0x0 0x40b00000 0x0 0x100>;
    -		interrupts = <GIC_SPI 564 IRQ_TYPE_LEVEL_HIGH>;
    -		#address-cells = <1>;
    -		#size-cells = <0>;
    -		clock-names = "fck";
    -		clocks = <&k3_clks 114 1>;
    -		power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
    -	};
    -
    -	mcu_spi0: spi@40300000 {
    -		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
    -		reg = <0x0 0x40300000 0x0 0x400>;
    -		interrupts = <GIC_SPI 560 IRQ_TYPE_LEVEL_HIGH>;
    -		clocks = <&k3_clks 142 1>;
    -		power-domains = <&k3_pds 142 TI_SCI_PD_EXCLUSIVE>;
    -		#address-cells = <1>;
    -		#size-cells = <0>;
    -	};
    -
    -	mcu_spi1: spi@40310000 {
    -		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
    -		reg = <0x0 0x40310000 0x0 0x400>;
    -		interrupts = <GIC_SPI 561 IRQ_TYPE_LEVEL_HIGH>;
    -		clocks = <&k3_clks 143 1>;
    -		power-domains = <&k3_pds 143 TI_SCI_PD_EXCLUSIVE>;
    -		#address-cells = <1>;
    -		#size-cells = <0>;
    -	};
    -
    -	mcu_spi2: spi@40320000 {
    -		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
    -		reg = <0x0 0x40320000 0x0 0x400>;
    -		interrupts = <GIC_SPI 562 IRQ_TYPE_LEVEL_HIGH>;
    -		clocks = <&k3_clks 144 1>;
    -		power-domains = <&k3_pds 144 TI_SCI_PD_EXCLUSIVE>;
    -		#address-cells = <1>;
    -		#size-cells = <0>;
    -	};
    -
    -	tscadc0: tscadc@40200000 {
    -		compatible = "ti,am654-tscadc", "ti,am3359-tscadc";
    -		reg = <0x0 0x40200000 0x0 0x1000>;
    -		interrupts = <GIC_SPI 580 IRQ_TYPE_LEVEL_HIGH>;
    -		clocks = <&k3_clks 0 2>;
    -		assigned-clocks = <&k3_clks 0 2>;
    -		assigned-clock-rates = <60000000>;
    -		clock-names = "adc_tsc_fck";
    -
    -		adc {
    -			#io-channel-cells = <1>;
    -			compatible = "ti,am654-adc", "ti,am3359-adc";
    -		};
    -	};
    -
    -	tscadc1: tscadc@40210000 {
    -		compatible = "ti,am654-tscadc", "ti,am3359-tscadc";
    -		reg = <0x0 0x40210000 0x0 0x1000>;
    -		interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
    -		clocks = <&k3_clks 1 2>;
    -		assigned-clocks = <&k3_clks 1 2>;
    -		assigned-clock-rates = <60000000>;
    -		clock-names = "adc_tsc_fck";
    -
    -		adc {
    -			#io-channel-cells = <1>;
    -			compatible = "ti,am654-adc", "ti,am3359-adc";
    -		};
    -	};
    -
    -	cbass_mcu_navss: navss@28380000 {
    -		compatible = "simple-mfd";
    -		#address-cells = <2>;
    -		#size-cells = <2>;
    -		ranges;
    -		dma-coherent;
    -		dma-ranges;
    -
    -		ti,sci-dev-id = <119>;
    -
    -		mcu_ringacc: ringacc@2b800000 {
    -			compatible = "ti,am654-navss-ringacc";
    -			reg =	<0x0 0x2b800000 0x0 0x400000>,
    -				<0x0 0x2b000000 0x0 0x400000>,
    -				<0x0 0x28590000 0x0 0x100>,
    -				<0x0 0x2a500000 0x0 0x40000>;
    -			reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target";
    -			ti,num-rings = <286>;
    -			ti,sci-rm-range-gp-rings = <0x1>; /* GP ring range */
    -			ti,sci = <&dmsc>;
    -			ti,sci-dev-id = <195>;
    -			msi-parent = <&inta_main_udmass>;
    -		};
    -
    -		mcu_udmap: dma-controller@285c0000 {
    -			compatible = "ti,am654-navss-mcu-udmap";
    -			reg =	<0x0 0x285c0000 0x0 0x100>,
    -				<0x0 0x2a800000 0x0 0x40000>,
    -				<0x0 0x2aa00000 0x0 0x40000>;
    -			reg-names = "gcfg", "rchanrt", "tchanrt";
    -			msi-parent = <&inta_main_udmass>;
    -			#dma-cells = <1>;
    -
    -			ti,sci = <&dmsc>;
    -			ti,sci-dev-id = <194>;
    -			ti,ringacc = <&mcu_ringacc>;
    -
    -			ti,sci-rm-range-tchan = <0xf>, /* TX_HCHAN */
    -						<0xd>; /* TX_CHAN */
    -			ti,sci-rm-range-rchan = <0xb>, /* RX_HCHAN */
    -						<0xa>; /* RX_CHAN */
    -			ti,sci-rm-range-rflow = <0x0>; /* GP RFLOW */
    -		};
    -	};
    -
    -	mcu_cpsw: ethernet@46000000 {
    -		compatible = "ti,am654-cpsw-nuss";
    -		#address-cells = <2>;
    -		#size-cells = <2>;
    -		reg = <0x0 0x46000000 0x0 0x200000>;
    -		reg-names = "cpsw_nuss";
    -		ranges = <0x0 0x0 0x0 0x46000000 0x0 0x200000>;
    -		dma-coherent;
    -		clocks = <&k3_clks 5 10>;
    -		clock-names = "fck";
    -		power-domains = <&k3_pds 5 TI_SCI_PD_EXCLUSIVE>;
    -
    -		dmas = <&mcu_udmap 0xf000>,
    -		       <&mcu_udmap 0xf001>,
    -		       <&mcu_udmap 0xf002>,
    -		       <&mcu_udmap 0xf003>,
    -		       <&mcu_udmap 0xf004>,
    -		       <&mcu_udmap 0xf005>,
    -		       <&mcu_udmap 0xf006>,
    -		       <&mcu_udmap 0xf007>,
    -		       <&mcu_udmap 0x7000>;
    -		dma-names = "tx0", "tx1", "tx2", "tx3",
    -			    "tx4", "tx5", "tx6", "tx7",
    -			    "rx";
    -
    -		ethernet-ports {
    -			#address-cells = <1>;
    -			#size-cells = <0>;
    -
    -			cpsw_port1: port@1 {
    -				reg = <1>;
    -				ti,mac-only;
    -				label = "port1";
    -				ti,syscon-efuse = <&mcu_conf 0x200>;
    -				phys = <&phy_gmii_sel 1>;
    -			};
    -		};
    -
    -		davinci_mdio: mdio@f00 {
    -			compatible = "ti,cpsw-mdio","ti,davinci_mdio";
    -			reg = <0x0 0xf00 0x0 0x100>;
    -			#address-cells = <1>;
    -			#size-cells = <0>;
    -			clocks = <&k3_clks 5 10>;
    -			clock-names = "fck";
    -			bus_freq = <1000000>;
    -		};
    -
    -		cpts@3d000 {
    -			compatible = "ti,am65-cpts";
    -			reg = <0x0 0x3d000 0x0 0x400>;
    -			clocks = <&mcu_cpsw_cpts_mux>;
    -			clock-names = "cpts";
    -			interrupts-extended = <&gic500 GIC_SPI 570 IRQ_TYPE_LEVEL_HIGH>;
    -			interrupt-names = "cpts";
    -			ti,cpts-ext-ts-inputs = <4>;
    -			ti,cpts-periodic-outputs = <2>;
    -
    -			mcu_cpsw_cpts_mux: refclk-mux {
    -				#clock-cells = <0>;
    -				clocks = <&k3_clks 118 5>, <&k3_clks 118 11>,
    -					<&k3_clks 157 91>, <&k3_clks 157 77>,
    -					<&k3_clks 157 102>, <&k3_clks 157 80>,
    -					<&k3_clks 120 3>, <&k3_clks 121 3>;
    -				assigned-clocks = <&mcu_cpsw_cpts_mux>;
    -				assigned-clock-parents = <&k3_clks 118 5>;
    -			};
    -		};
    -	};
    -
    -	mcu_r5fss0: r5fss@41000000 {
    -		compatible = "ti,am654-r5fss";
    -		ti,cluster-mode = <1>;
    -		#address-cells = <1>;
    -		#size-cells = <1>;
    -		ranges = <0x41000000 0x00 0x41000000 0x20000>,
    -			 <0x41400000 0x00 0x41400000 0x20000>;
    -		power-domains = <&k3_pds 129 TI_SCI_PD_EXCLUSIVE>;
    -
    -		mcu_r5fss0_core0: r5f@41000000 {
    -			compatible = "ti,am654-r5f";
    -			reg = <0x41000000 0x00008000>,
    -			      <0x41010000 0x00008000>;
    -			reg-names = "atcm", "btcm";
    -			ti,sci = <&dmsc>;
    -			ti,sci-dev-id = <159>;
    -			ti,sci-proc-ids = <0x01 0xFF>;
    -			resets = <&k3_reset 159 1>;
    -			firmware-name = "am65x-mcu-r5f0_0-fw";
    -			ti,atcm-enable = <1>;
    -			ti,btcm-enable = <1>;
    -			ti,loczrama = <1>;
    -			sram = <&mcu_r5fss0_core0_sram>;
    -		};
    -
    -		mcu_r5fss0_core1: r5f@41400000 {
    -			compatible = "ti,am654-r5f";
    -			reg = <0x41400000 0x00008000>,
    -			      <0x41410000 0x00008000>;
    -			reg-names = "atcm", "btcm";
    -			ti,sci = <&dmsc>;
    -			ti,sci-dev-id = <245>;
    -			ti,sci-proc-ids = <0x02 0xFF>;
    -			resets = <&k3_reset 245 1>;
    -			firmware-name = "am65x-mcu-r5f0_1-fw";
    -			ti,atcm-enable = <1>;
    -			ti,btcm-enable = <1>;
    -			ti,loczrama = <1>;
    -		};
    -	};
    -
    -	m_can0: mcan@40528000 {
    -		compatible = "bosch,m_can";
    -		reg = <0x0 0x40528000 0x0 0x400>,
    -		      <0x0 0x40500000 0x0 0x4400>;
    -		reg-names = "m_can", "message_ram";
    -		power-domains = <&k3_pds 102 TI_SCI_PD_EXCLUSIVE>;
    -		clocks = <&k3_clks 102 0>, <&k3_clks 102 5>;
    -		clock-names = "cclk", "hclk";
    -		interrupt-parent = <&gic500>;
    -		interrupts = <GIC_SPI 544 IRQ_TYPE_LEVEL_HIGH>,
    -			     <GIC_SPI 545 IRQ_TYPE_LEVEL_HIGH>;
    -		interrupt-names = "int0", "int1";
    -		bosch,mram-cfg = <0x0 0 0 32 0 0 1 1>;
    -		status = "disabled";
    -	};
    -
    -	m_can1: mcan@40568000 {
    -		compatible = "bosch,m_can";
    -		reg = <0x0 0x40568000 0x0 0x400>,
    -		      <0x0 0x40540000 0x0 0x4400>;
    -		reg-names = "m_can", "message_ram";
    -		power-domains = <&k3_pds 103 TI_SCI_PD_EXCLUSIVE>;
    -		clocks = <&k3_clks 103 0>, <&k3_clks 103 5>;
    -		clock-names = "cclk", "hclk";
    -		interrupt-parent = <&gic500>;
    -		interrupts = <GIC_SPI 547 IRQ_TYPE_LEVEL_HIGH>,
    -			     <GIC_SPI 548 IRQ_TYPE_LEVEL_HIGH>;
    -		interrupt-names = "int0", "int1";
    -		bosch,mram-cfg = <0x0 0 0 32 0 0 1 1>;
    -		status = "disabled";
    -	};
    -
    -	fss: fss@47000000 {
    -		compatible = "simple-bus";
    -		#address-cells = <2>;
    -		#size-cells = <2>;
    -		ranges;
    -
    -		ospi0: spi@47040000 {
    -			compatible = "ti,am654-ospi", "cdns,qspi-nor";
    -			reg = <0x0 0x47040000 0x0 0x100>,
    -				<0x5 0x00000000 0x1 0x0000000>;
    -			interrupts = <GIC_SPI 552 IRQ_TYPE_LEVEL_HIGH>;
    -			cdns,fifo-depth = <256>;
    -			cdns,fifo-width = <4>;
    -			cdns,trigger-address = <0x0>;
    -			clocks = <&k3_clks 248 0>;
    -			assigned-clocks = <&k3_clks 248 0>;
    -			assigned-clock-parents = <&k3_clks 248 2>;
    -			assigned-clock-rates = <166666666>;
    -			power-domains = <&k3_pds 248 TI_SCI_PD_EXCLUSIVE>;
    -			#address-cells = <1>;
    -			#size-cells = <0>;
    -		};
    -
    -		ospi1: spi@47050000 {
    -			compatible = "ti,am654-ospi", "cdns,qspi-nor";
    -			reg = <0x0 0x47050000 0x0 0x100>,
    -				<0x7 0x00000000 0x1 0x00000000>;
    -			interrupts = <GIC_SPI 553 IRQ_TYPE_LEVEL_HIGH>;
    -			cdns,fifo-depth = <256>;
    -			cdns,fifo-width = <4>;
    -			cdns,trigger-address = <0x0>;
    -			clocks = <&k3_clks 249 6>;
    -			power-domains = <&k3_pds 249 TI_SCI_PD_EXCLUSIVE>;
    -			#address-cells = <1>;
    -			#size-cells = <0>;
    -		};
    -	};
     };
    diff --git a/arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi
    index 0f602ae8d..4562838fe 100644
    --- a/arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi
    +++ b/arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi
    @@ -34,6 +34,43 @@
     		};
     	};
     
    +       intr_wkup_gpio: interrupt-controller2 {
    +               compatible = "ti,sci-intr";
    +               ti,intr-trigger-type = <1>;
    +               interrupt-controller;
    +               interrupt-parent = <&gic500>;
    +               #interrupt-cells = <1>;
    +               ti,sci = <&dmsc>;
    +               ti,sci-dev-id = <156>;
    +               ti,interrupt-ranges = <0 712 16>;
    +       };
    +
    +       wkup_gpio0: wkup_gpio0@42110000 {
    +               compatible = "ti,am654-gpio", "ti,keystone-gpio";
    +               reg = <0x42110000 0x100>;
    +               gpio-controller;
    +               #gpio-cells = <2>;
    +               interrupt-parent = <&intr_wkup_gpio>;
    +               interrupts = <60>, <61>, <62>, <63>;
    +               interrupt-controller;
    +               #interrupt-cells = <2>;
    +               ti,ngpio = <56>;
    +               ti,davinci-gpio-unbanked = <0>;
    +               clocks = <&k3_clks 59 0>;
    +               clock-names = "gpio";
    +       };
    +
    +       wkup_i2c0: i2c@42120000 {
    +               compatible = "ti,am654-i2c", "ti,omap4-i2c";
    +               reg = <0x42120000 0x100>;
    +               interrupts = <GIC_SPI 696 IRQ_TYPE_LEVEL_HIGH>;
    +               #address-cells = <1>;
    +               #size-cells = <0>;
    +               clock-names = "fck";
    +               clocks = <&k3_clks 115 1>;
    +               power-domains = <&k3_pds 115 TI_SCI_PD_EXCLUSIVE>;
    +       };
    +
     	chipid@43000014 {
     		compatible = "ti,am654-chipid";
     		reg = <0x43000014 0x4>;
    @@ -46,63 +83,4 @@
     		pinctrl-single,register-width = <32>;
     		pinctrl-single,function-mask = <0xffffffff>;
     	};
    -
    -	wkup_uart0: serial@42300000 {
    -		compatible = "ti,am654-uart";
    -		reg = <0x42300000 0x100>;
    -		reg-shift = <2>;
    -		reg-io-width = <4>;
    -		interrupts = <GIC_SPI 697 IRQ_TYPE_LEVEL_HIGH>;
    -		clock-frequency = <48000000>;
    -		current-speed = <115200>;
    -		power-domains = <&k3_pds 150 TI_SCI_PD_EXCLUSIVE>;
    -	};
    -
    -	wkup_i2c0: i2c@42120000 {
    -		compatible = "ti,am654-i2c", "ti,omap4-i2c";
    -		reg = <0x42120000 0x100>;
    -		interrupts = <GIC_SPI 696 IRQ_TYPE_LEVEL_HIGH>;
    -		#address-cells = <1>;
    -		#size-cells = <0>;
    -		clock-names = "fck";
    -		clocks = <&k3_clks 115 1>;
    -		power-domains = <&k3_pds 115 TI_SCI_PD_EXCLUSIVE>;
    -	};
    -
    -	intr_wkup_gpio: interrupt-controller2 {
    -		compatible = "ti,sci-intr";
    -		ti,intr-trigger-type = <1>;
    -		interrupt-controller;
    -		interrupt-parent = <&gic500>;
    -		#interrupt-cells = <1>;
    -		ti,sci = <&dmsc>;
    -		ti,sci-dev-id = <156>;
    -		ti,interrupt-ranges = <0 712 16>;
    -	};
    -
    -	wkup_gpio0: wkup_gpio0@42110000 {
    -		compatible = "ti,am654-gpio", "ti,keystone-gpio";
    -		reg = <0x42110000 0x100>;
    -		gpio-controller;
    -		#gpio-cells = <2>;
    -		interrupt-parent = <&intr_wkup_gpio>;
    -		interrupts = <60>, <61>, <62>, <63>;
    -		interrupt-controller;
    -		#interrupt-cells = <2>;
    -		ti,ngpio = <56>;
    -		ti,davinci-gpio-unbanked = <0>;
    -		clocks = <&k3_clks 59 0>;
    -		clock-names = "gpio";
    -	};
    -
    -	wkup_vtm0: wkup_vtm0@42050000 {
    -		compatible = "ti,am654-vtm";
    -		reg = <0x42050000 0x25c>;
    -		power-domains = <&k3_pds 80 TI_SCI_PD_EXCLUSIVE>;
    -		#thermal-sensor-cells = <1>;
    -	};
    -
    -	thermal_zones: thermal-zones {
    -		#include "am654-industrial-thermal.dtsi"
    -	};
     };
    diff --git a/arch/arm64/boot/dts/ti/k3-am65.dtsi b/arch/arm64/boot/dts/ti/k3-am65.dtsi
    index 3b3b56b71..458f96c1b 100644
    --- a/arch/arm64/boot/dts/ti/k3-am65.dtsi
    +++ b/arch/arm64/boot/dts/ti/k3-am65.dtsi
    @@ -19,20 +19,7 @@
     	#size-cells = <2>;
     
     	aliases {
    -		serial0 = &wkup_uart0;
    -		serial1 = &mcu_uart0;
     		serial2 = &main_uart0;
    -		serial3 = &main_uart1;
    -		serial4 = &main_uart2;
    -		i2c0 = &wkup_i2c0;
    -		i2c1 = &mcu_i2c0;
    -		i2c2 = &main_i2c0;
    -		i2c3 = &main_i2c1;
    -		i2c4 = &main_i2c2;
    -		i2c5 = &main_i2c3;
    -		ethernet0 = &cpsw_port1;
    -		rproc0 = &mcu_r5fss0_core0;
    -		rproc1 = &mcu_r5fss0_core1;
     	};
     
     	chosen { };
    diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board-sr1.dts b/arch/arm64/boot/dts/ti/k3-am654-base-board-sr1.dts
    index e30973992..46581c7a0 100644
    --- a/arch/arm64/boot/dts/ti/k3-am654-base-board-sr1.dts
    +++ b/arch/arm64/boot/dts/ti/k3-am654-base-board-sr1.dts
    @@ -7,47 +7,6 @@
     
     #include "k3-am654-base-board.dts"
     
    -&tx_pru0_0 {
    -	status = "disabled";
    -};
    -
    -&tx_pru0_1 {
    -	status = "disabled";
    -};
    -
    -&tx_pru1_0 {
    -	status = "disabled";
    -};
    -
    -&tx_pru1_1 {
    -	status = "disabled";
    -};
    -
    -&tx_pru2_0 {
    -	status = "disabled";
    -};
    -
    -&tx_pru2_1 {
    -	status = "disabled";
    -};
    -
    -&pruss2_eth {
    -	compatible = "ti,am654-icssg-prueth-sr1";
    -	prus = <&pru2_0>, <&rtu2_0>, <&pru2_1>, <&rtu2_1>;
    -	firmware-name = "ti-pruss/am65x-pru0-prueth-fw.elf",
    -			"ti-pruss/am65x-rtu0-prueth-fw.elf",
    -			"ti-pruss/am65x-pru1-prueth-fw.elf",
    -			"ti-pruss/am65x-rtu1-prueth-fw.elf";
    -	ti,pruss-gp-mux-sel = <2>,      /* MII mode */
    -			      <2>,
    -			      <2>,      /* MII mode */
    -			      <2>;
    -};
    -
    -&pruss2_emac1 {
    -	iep = <&icssg2_iep1>;
    -};
    -
     &sdhci1 {
     	no-1-8-v;
     };
    diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
    index 885f28180..bfa3b9555 100644
    --- a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
    +++ b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
    @@ -13,11 +13,6 @@
     	compatible =  "ti,am654-evm", "ti,am654";
     	model = "Texas Instruments AM654 Base Board";
     
    -	aliases {
    -		ethernet1 = &pruss2_emac0;
    -		ethernet2 = &pruss2_emac1;
    -	};
    -
     	chosen {
     		stdout-path = "serial2:115200n8";
     		bootargs = "earlycon=ns16550a,mmio32,0x02800000";
    @@ -72,93 +67,6 @@
     		};
     	};
     
    -	gpio-keys {
    -		compatible = "gpio-keys";
    -		autorepeat;
    -		pinctrl-names = "default";
    -		pinctrl-0 = <&push_button_pins_default>;
    -
    -		sw5 {
    -			label = "GPIO Key USER1";
    -			linux,code = <BTN_0>;
    -			gpios = <&wkup_gpio0 24 GPIO_ACTIVE_LOW>;
    -		};
    -
    -		sw6 {
    -			label = "GPIO Key USER2";
    -			linux,code = <BTN_1>;
    -			gpios = <&wkup_gpio0 27 GPIO_ACTIVE_LOW>;
    -		};
    -	};
    -
    -	clk_ov5640_fixed: fixed-clock-ov5640 {
    -		compatible = "fixed-clock";
    -		#clock-cells = <0>;
    -		clock-frequency = <24000000>;
    -	};
    -
    -	/* Dual Ethernet application node on PRU-ICSSG2 */
    -	pruss2_eth: pruss2_eth {
    -		compatible = "ti,am654-icssg-prueth";
    -		pinctrl-names = "default";
    -		pinctrl-0 = <&icssg2_rgmii_pins_default>;
    -		sram = <&msmc_ram>;
    -		prus = <&pru2_0>, <&rtu2_0>, <&tx_pru2_0>,
    -			<&pru2_1>, <&rtu2_1>, <&tx_pru2_1>;
    -		firmware-name = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf",
    -				"ti-pruss/am65x-sr2-rtu0-prueth-fw.elf",
    -				"ti-pruss/am65x-sr2-txpru0-prueth-fw.elf",
    -				"ti-pruss/am65x-sr2-pru1-prueth-fw.elf",
    -				"ti-pruss/am65x-sr2-rtu1-prueth-fw.elf",
    -				"ti-pruss/am65x-sr2-txpru1-prueth-fw.elf";
    -
    -		ti,pruss-gp-mux-sel = <2>,      /* MII mode */
    -				      <2>,
    -				      <2>,
    -				      <2>,	/* MII mode */
    -				      <2>,
    -				      <2>;
    -		mii-g-rt = <&icssg2_mii_g_rt>;
    -		mii-rt = <&icssg2_mii_rt>;
    -		dma-coherent;
    -		dmas = <&main_udmap 0xc300>, /* egress slice 0 */
    -		       <&main_udmap 0xc301>, /* egress slice 0 */
    -		       <&main_udmap 0xc302>, /* egress slice 0 */
    -		       <&main_udmap 0xc303>, /* egress slice 0 */
    -		       <&main_udmap 0xc304>, /* egress slice 1 */
    -		       <&main_udmap 0xc305>, /* egress slice 1 */
    -		       <&main_udmap 0xc306>, /* egress slice 1 */
    -		       <&main_udmap 0xc307>, /* egress slice 1 */
    -
    -		       <&main_udmap 0x4300>, /* ingress slice 0 */
    -		       <&main_udmap 0x4301>, /* ingress slice 1 */
    -		       <&main_udmap 0x4302>, /* mgmnt rsp slice 0 */
    -		       <&main_udmap 0x4303>; /* mgmnt rsp slice 1 */
    -		dma-names = "tx0-0", "tx0-1", "tx0-2", "tx0-3",
    -			    "tx1-0", "tx1-1", "tx1-2", "tx1-3",
    -			    "rx0", "rx1",
    -			    "rxmgm0", "rxmgm1";
    -
    -		pruss2_emac0: ethernet-mii0 {
    -			phy-handle = <&pruss2_eth0_phy>;
    -			phy-mode = "rgmii-rxid";
    -			interrupts-extended = <&icssg2_intc 24>;
    -			syscon-rgmii-delay = <&scm_conf 0x4120>;
    -			iep = <&icssg2_iep0>;
    -			/* Filled in by bootloader */
    -			local-mac-address = [00 00 00 00 00 00];
    -		};
    -
    -		pruss2_emac1: ethernet-mii1 {
    -			phy-handle = <&pruss2_eth1_phy>;
    -			phy-mode = "rgmii-rxid";
    -			interrupts-extended = <&icssg2_intc 25>;
    -			syscon-rgmii-delay = <&scm_conf 0x4124>;
    -			/* Filled in by bootloader */
    -			local-mac-address = [00 00 00 00 00 00];
    -		};
    -	};
    -
     	vdd_mmc1_sd: fixedregulator-sd {
     		compatible = "regulator-fixed";
     		regulator-name = "vdd_mmc1_sd";
    @@ -356,11 +264,6 @@
     	};
     };
     
    -&wkup_uart0 {
    -	/* Wakeup UART is used by System firmware */
    -	status = "disabled";
    -};
    -
     &main_uart0 {
     	pinctrl-names = "default";
     	pinctrl-0 = <&main_uart0_pins_default>;
    @@ -386,72 +289,8 @@
     	};
     };
     
    -&main_i2c0 {
    -	pinctrl-names = "default";
    -	pinctrl-0 = <&main_i2c0_pins_default>;
    -	clock-frequency = <400000>;
    -
    -	pca9555: gpio@21 {
    -		compatible = "nxp,pca9555";
    -		reg = <0x21>;
    -		gpio-controller;
    -		#gpio-cells = <2>;
    -	};
    -};
    -
    -&main_i2c1 {
    -	pinctrl-names = "default";
    -	pinctrl-0 = <&main_i2c1_pins_default>;
    -	clock-frequency = <400000>;
    -
    -	ov5640@3c {
    -		compatible = "ovti,ov5640";
    -		reg = <0x3c>;
    -
    -		clocks = <&clk_ov5640_fixed>;
    -		clock-names = "xclk";
    -
    -		port {
    -			csi2_cam0: endpoint {
    -				remote-endpoint = <&csi2_phy0>;
    -				clock-lanes = <0>;
    -				data-lanes = <1 2>;
    -			};
    -		};
    -	};
    -
    -};
    -
    -&main_i2c2 {
    -	pinctrl-names = "default";
    -	pinctrl-0 = <&main_i2c2_pins_default>;
    -	clock-frequency = <400000>;
    -};
    -
    -&ecap0 {
    -	pinctrl-names = "default";
    -	pinctrl-0 = <&ecap0_pins_default>;
    -};
    -
    -&main_spi0 {
    -	pinctrl-names = "default";
    -	pinctrl-0 = <&main_spi0_pins_default>;
    -	#address-cells = <1>;
    -	#size-cells= <0>;
    -	ti,pindir-d0-out-d1-in = <1>;
    -
    -	flash@0{
    -		compatible = "jedec,spi-nor";
    -		reg = <0x0>;
    -		spi-tx-bus-width = <1>;
    -		spi-rx-bus-width = <1>;
    -		spi-max-frequency = <48000000>;
    -		#address-cells = <1>;
    -		#size-cells= <1>;
    -	};
    -};
    -
     &sdhci0 {
    +	status = "disabled";
     	pinctrl-names = "default";
     	pinctrl-0 = <&main_mmc0_pins_default>;
     	bus-width = <8>;
    @@ -467,202 +306,3 @@
     	ti,driver-strength-ohm = <50>;
     	disable-wp;
     };
    -
    -&dwc3_1 {
    -	status = "okay";
    -};
    -
    -&usb1_phy {
    -	status = "okay";
    -};
    -
    -&usb1 {
    -	pinctrl-names = "default";
    -	pinctrl-0 = <&usb1_pins_default>;
    -	dr_mode = "otg";
    -};
    -
    -&dwc3_0 {
    -	status = "disabled";
    -};
    -
    -&usb0_phy {
    -	status = "disabled";
    -};
    -
    -&tscadc0 {
    -	adc {
    -		ti,adc-channels = <0 1 2 3 4 5 6 7>;
    -	};
    -};
    -
    -&tscadc1 {
    -	adc {
    -		ti,adc-channels = <0 1 2 3 4 5 6 7>;
    -	};
    -};
    -
    -&serdes0 {
    -	status = "disabled";
    -};
    -
    -&serdes1 {
    -	status = "disabled";
    -};
    -
    -&pcie0_rc {
    -	status = "disabled";
    -};
    -
    -&pcie0_ep {
    -	status = "disabled";
    -};
    -
    -&pcie1_rc {
    -	status = "disabled";
    -};
    -
    -&pcie1_ep {
    -	status = "disabled";
    -};
    -
    -&mailbox0_cluster0 {
    -	interrupts = <436>;
    -
    -	mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 {
    -		ti,mbox-tx = <1 0 0>;
    -		ti,mbox-rx = <0 0 0>;
    -	};
    -};
    -
    -&mailbox0_cluster1 {
    -	interrupts = <432>;
    -
    -	mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 {
    -		ti,mbox-tx = <1 0 0>;
    -		ti,mbox-rx = <0 0 0>;
    -	};
    -};
    -
    -&mailbox0_cluster2 {
    -	status = "disabled";
    -};
    -
    -&mailbox0_cluster3 {
    -	status = "disabled";
    -};
    -
    -&mailbox0_cluster4 {
    -	status = "disabled";
    -};
    -
    -&mailbox0_cluster5 {
    -	status = "disabled";
    -};
    -
    -&mailbox0_cluster6 {
    -	status = "disabled";
    -};
    -
    -&mailbox0_cluster7 {
    -	status = "disabled";
    -};
    -
    -&mailbox0_cluster8 {
    -	status = "disabled";
    -};
    -
    -&mailbox0_cluster9 {
    -	status = "disabled";
    -};
    -
    -&mailbox0_cluster10 {
    -	status = "disabled";
    -};
    -
    -&mailbox0_cluster11 {
    -	status = "disabled";
    -};
    -
    -&mcu_r5fss0_core0 {
    -	memory-region = <&mcu_r5fss0_core0_dma_memory_region>,
    -			<&mcu_r5fss0_core0_memory_region>;
    -	mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>;
    -};
    -
    -&mcu_r5fss0_core1 {
    -	memory-region = <&mcu_r5fss0_core1_dma_memory_region>,
    -			<&mcu_r5fss0_core1_memory_region>;
    -	mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>;
    -};
    -
    -&csi2_0 {
    -	csi2_phy0: endpoint {
    -		remote-endpoint = <&csi2_cam0>;
    -		clock-lanes = <0>;
    -		data-lanes = <1 2>;
    -	};
    -};
    -
    -&mcu_cpsw {
    -	pinctrl-names = "default";
    -	pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>;
    -};
    -
    -&davinci_mdio {
    -	phy0: ethernet-phy@0 {
    -		reg = <0>;
    -		/* TODO: phy reset: TCA9555RTWR(i2c:0x21)[p04].GPIO_MCU_RGMII_RSTN */
    -		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
    -		ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
    -		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
    -	};
    -};
    -
    -&cpsw_port1 {
    -	phy-mode = "rgmii-rxid";
    -	phy-handle = <&phy0>;
    -};
    -
    -&ospi0 {
    -	pinctrl-names = "default";
    -	pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;
    -
    -	flash@0{
    -		compatible = "jedec,spi-nor";
    -		reg = <0x0>;
    -		spi-tx-bus-width = <8>;
    -		spi-rx-bus-width = <8>;
    -		spi-max-frequency = <25000000>;
    -		cdns,tshsl-ns = <60>;
    -		cdns,tsd2d-ns = <60>;
    -		cdns,tchsh-ns = <60>;
    -		cdns,tslch-ns = <60>;
    -		cdns,read-delay = <0>;
    -		cdns,phy-mode;
    -		#address-cells = <1>;
    -		#size-cells = <1>;
    -		partition@3fe0000 {
    -			label = "ospi.phypattern";
    -			reg = <0x3fe0000 0x20000>;
    -		};
    -	};
    -};
    -
    -&icssg2_mdio {
    -	status = "okay";
    -	pinctrl-names = "default";
    -	pinctrl-0 = <&icssg2_mdio_pins_default>;
    -
    -	pruss2_eth0_phy: ethernet-phy@0 {
    -		reg = <0>;
    -		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
    -		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
    -	};
    -
    -	pruss2_eth1_phy: ethernet-phy@3 {
    -		reg = <3>;
    -		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
    -		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
    -	};
    -};
    -- 
    2.17.1
    
    

    Note:

    Once you enter U-Boot prompt please execute the following command:

    setenv name_overlays

    The above command removes the overlay loading.

    Then just boot.

    The patch is based on Linux 7.3.

    Best Regards,
    Keerthy

  • You need to add alias & it will boot. Basically in U-Boot you need to convey that sdhci1 will be the mmc1:

    diff --git a/arch/arm/dts/k3-am65.dtsi b/arch/arm/dts/k3-am65.dtsi
    index 4d6d196b2a..49fef7315b 100644
    --- a/arch/arm/dts/k3-am65.dtsi
    +++ b/arch/arm/dts/k3-am65.dtsi
    @@ -32,6 +32,7 @@
                    i2c5 = &main_i2c3;
                    spi0 = &ospi0;
                    spi1 =

    I suddenly found this modification can solve the problem of kernel halt, but we had to disable sdhci0 in u-boot's dts at the same time( otherwise it will stop at the same place in kernel phase).

    I guess these two actions forced system will initialize the mmc1(sdhci1) normally in the phase of uboot, it will not lead to kernel halt.

    Thanks Keerthy and Chris!

    BR

    Kenn