Mt7621-pci 1e140000.pcie: Parsing DT failed

i'm using hlk7621 evb board, my device got stuck while boot.
logs:


OpenWrt kernel loader for MIPS based SoC
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Decompressing kernel... done!
Starting kernel at 80001000...

[    0.000000] Linux version 5.10.176 (root@wrt) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r20134-5f15225c1e) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 SMP Thu Apr 27 20:28:15 2023
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is HiLink HLK-7621A evaluation board
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2} total 2
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] percpu: Embedded 19 pages/cpu s46864 r8192 d22768 u77824
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Writing ErrCtl register=00000080
[    0.000000] Readback ErrCtl register=00000080
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 248296K/262144K available (7302K kernel code, 781K rwdata, 1508K rodata, 1276K init, 246K bss, 13848K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 256
[    0.000000] CPU Clock: 1000MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[    0.000010] sched_clock: 64 bits at 1000MHz, resolution 1ns, wraps every 4398046511103ns
[    0.016027] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 3822520893 ns
[    0.033964] Calibrating delay loop... 666.41 BogoMIPS (lpj=3332096)
[    0.106264] pid_max: default: 32768 minimum: 301
[    0.115580] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.129973] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.147803] rcu: Hierarchical SRCU implementation.
[    0.157558] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.172929] smp: Bringing up secondary CPUs ...
[    0.182483] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.182492] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.182502] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.182569] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.232816] Synchronize counters for CPU 1: done.
[    0.292467] smp: Brought up 1 node, 2 CPUs
[    0.303915] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.323402] futex hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.337025] pinctrl core: initialized pinctrl subsystem
[    0.349278] NET: Registered protocol family 16
[    0.361343] cpuidle: using governor teo
[    0.416248] clocksource: Switched to clocksource GIC
[    0.461464] NET: Registered protocol family 2
[    0.470444] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.486483] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.503072] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.518302] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.532385] TCP: Hash tables configured (established 2048 bind 2048)
[    0.545138] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.558023] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.572134] NET: Registered protocol family 1
[    0.580691] PCI: CLS 0 bytes, default 32
[    0.590418] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.607122] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.618612] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.641353] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.652802] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.664109] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.675872] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.689787] printk: console [ttyS0] disabled
[    0.698291] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 15, base_baud = 3125000) is a 16550A
[    0.716235] printk: console [ttyS0] enabled
[    0.716235] printk: console [ttyS0] enabled
[    0.732757] printk: bootconsole [early0] disabled
[    0.732757] printk: bootconsole [early0] disabled
[    0.755444] spi-mt7621 1e000b00.spi: sys_freq: 250000000
[    0.767583] ------------[ cut here ]------------
[    0.776881] WARNING: CPU: 1 PID: 1 at drivers/mtd/spi-nor/core.c:3008 spi_nor_init+0x1b8/0x1c0
[    0.794031] enabling reset hack; may not recover from unexpected reboots
[    0.807377] Modules linked in:
[    0.813456] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.10.176 #0
[    0.825566] Stack : 80ac0000 81752600 80d245c0 8008ab40 80810000 80812938 00000000 00000000
[    0.842208]         814919b4 80aa0000 807dd8dc 814883d0 808b331f 00000001 81491958 01d05310
[    0.858850]         00000000 00000000 807dd8dc 814917f0 ffffefff 00000000 ffffffea 00000000
[    0.875491]         814917fc 0000005a 808bb4b8 ffffffff 00000000 00000001 00000000 807e0000
[    0.892132]         81491a78 00000000 80d245c0 81752600 00000018 8044948c 00000004 80aa0004
[    0.908773]         ...
[    0.913631] Call Trace:
[    0.918509] [<80008d60>] show_stack+0x30/0x100
[    0.927352] [<803c1e38>] dump_stack+0x9c/0xcc
[    0.936028] [<8003172c>] __warn+0x9c/0x148
[    0.944171] [<80031864>] warn_slowpath_fmt+0x8c/0xac
[    0.954046] [<804a38a0>] spi_nor_init+0x1b8/0x1c0
[    0.963399] [<804a3fcc>] spi_nor_scan+0x6e0/0xb18
[    0.972753] [<804a4498>] spi_nor_probe+0x94/0x314
[    0.982124] [<80459c80>] really_probe+0x108/0x4d8
[    0.991480] [<80457750>] bus_for_each_drv+0x70/0xb0
[    1.001179] [<8045a284>] __device_attach+0x114/0x1cc
[    1.011054] [<80458bec>] bus_probe_device+0xa0/0xbc
[    1.020753] [<80454644>] device_add+0x390/0x7ac
[    1.029781] [<804c269c>] spi_add_device+0xc0/0x1c8
[    1.039307] [<804c311c>] spi_register_controller+0x83c/0xb7c
[    1.050568] [<804c5a0c>] mt7621_spi_probe+0x168/0x230
[    1.060622] [<8045c07c>] platform_drv_probe+0x40/0x94
[    1.070669] [<80459c80>] really_probe+0x108/0x4d8
[    1.080024] [<8045a7b8>] device_driver_attach+0x124/0x134
[    1.090763] [<8045a844>] __driver_attach+0x7c/0x158
[    1.100462] [<804576a4>] bus_for_each_dev+0x68/0xa4
[    1.110162] [<80458ec4>] bus_add_driver+0x154/0x23c
[    1.119862] [<8045b04c>] driver_register+0x98/0x154
[    1.129562] [<80001c68>] do_one_initcall+0x54/0x234
[    1.139269] [<809620d4>] kernel_init_freeable+0x290/0x328
[    1.150023] [<8071bc40>] kernel_init+0x10/0x100
[    1.159031] [<800036b8>] ret_from_kernel_thread+0x14/0x1c
[    1.169766] 
[    1.172907] ---[ end trace 664dc9051bfc67e4 ]---
[    1.182199] spi-nor spi0.0: w25q256 (32768 Kbytes)
[    1.191982] 4 fixed-partitions partitions found on MTD device spi0.0
[    1.204691] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.219276] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.234131] Creating 4 MTD partitions on "spi0.0":
[    1.243722] 0x000000000000-0x000000030000 : "u-boot"
[    1.254884] 0x000000030000-0x000000040000 : "u-boot-env"
[    1.266432] 0x000000040000-0x000000050000 : "factory"
[    1.277999] 0x000000050000-0x000002000000 : "firmware"
[    1.289295] 2 uimage-fw partitions found on MTD device firmware
[    1.301149] Creating 2 MTD partitions on "firmware":
[    1.311100] 0x000000000000-0x0000002cf5d2 : "kernel"
[    1.320999] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[    1.338312] 0x0000002cf5d2-0x000001fb0000 : "rootfs"
[    1.348263] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[    1.367418] mtd: setting mtd5 (rootfs) as root device
[    1.377854] 1 squashfs-split partitions found on MTD device rootfs
[    1.390227] 0x000001290000-0x000001fb0000 : "rootfs_data"
[    1.447684] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.462600] mtk_soc_eth 1e100000.ethernet: generated random MAC address e2:62:3d:6d:b5:b0
[    1.479671] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 18
[    1.497040] i2c /dev entries driver
[    1.505915] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    1.519397] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    1.536951] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0000000000
[    1.553288] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    1.569722] mt7621-pci 1e140000.pcie: Parsing DT failed
[    1.582483] NET: Registered protocol family 10
[    1.594175] Segment Routing with IPv6
[    1.601643] NET: Registered protocol family 17
[    1.610838] 8021q: 802.1Q VLAN Support v1.8
[    1.622365] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.660046] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7530 PHY] (irq=23)
[    1.681969] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7530 PHY] (irq=24)
[    1.703889] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7530 PHY] (irq=25)
[    1.725802] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7530 PHY] (irq=26)
[    1.747777] mt7530 mdio-bus:1f wan (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7530 PHY] (irq=27)
[    1.769800] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    1.786615] DSA: tree 0 setup
[    1.792878] rt2880-pinmux pinctrl: pcie is already enabled
[    1.803926] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    1.817292] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    1.834805] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0000000000
[    1.851111] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    1.867486] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    1.882616] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    1.897643] mt7621-pci 1e140000.pcie: failed to parse bus ranges property: -22
[    2.012319] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    2.023432] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz

Please me in find why this is happening? any driver is missing or some other issue?

Try using the official image.
I suggest updating the bootloader if you haven't already done so.

using https://github.com/gnubee-git/GnuBee-MT7621-uboot/commit/3ae8f516938165837dd631c189d7b56e8b4017d2#diff-147fa8b8cb0c5671901588004e58fa1ff6c9c233667955ae77e6f89a59ef77fc
bin file to upgrade bootloader?

I've provided the link in the last message in the thread I mentioned.