OpenWrt support for Linksys MX4200

@robimarko I'm trying to add support to the HomeWRK variant (same hardware as MX4300 but different u-boot, partitions layout). The problem is that ethernet is not working at all (it is working in u-boot).

Bootlog:

Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset),  D - Delta,  S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.3.1-00163
S - IMAGE_VARIANT_STRING=HAACANAZA
S - OEM_IMAGE_VERSION_STRING=CRM
S - Boot Config, 0x000002e5
B -       203 - PBL, Start
B -      2741 - bootable_media_detect_entry, Start
B -      3290 - bootable_media_detect_success, Start
B -      3294 - elf_loader_entry, Start
B -      7475 - auth_hash_seg_entry, Start
B -      7722 - auth_hash_seg_exit, Start
B -     69624 - elf_segs_hash_verify_entry, Start
B -    132479 - PBL, End
B -    220027 - SBL1, Start
B -    299479 - GCC [RstStat:0x10, RstDbg:0x600000] WDog Stat : 0x4
B -    309392 - pm_device_init, Start
B -    493917 - PM_SET_VAL:Skip
D -    182573 - pm_device_init, Delta
B -    496326 - pm_driver_init, Start
D -      5398 - pm_driver_init, Delta
B -    502701 - clock_init, Start
D -      2165 - clock_init, Delta
B -    506696 - boot_flash_init, Start
D -     17995 - boot_flash_init, Delta
B -    528351 - boot_config_data_table_init, Start
D -      4209 - boot_config_data_table_init, Delta - (575 Bytes)
B -    535793 - Boot Setting :  0x00000618
B -    539819 - CDT version:2,Platform ID:8,Major ID:1,Minor ID:0,Subtype:13
B -    546743 - sbl1_ddr_set_params, Start
B -    550555 - CPR configuration: 0x30c
B -    554032 - cpr_init, Start
B -    556838 - Rail:0 Mode: 5 Voltage: 808000
B -    562054 - CL CPR settled at 760000mV
B -    564799 - Rail:1 Mode: 5 Voltage: 880000
B -    569069 - Rail:1 Mode: 7 Voltage: 904000
D -     16470 - cpr_init, Delta
B -    575870 - Pre_DDR_clock_init, Start
B -    579896 - Pre_DDR_clock_init, End
B -    583282 - DDR Type : PCDDR3
B -    589016 - do ddr sanity test, Start
D -      1037 - do ddr sanity test, Delta
B -    593774 - DDR: Start of HAL DDR Boot Training
B -    598410 - DDR: End of HAL DDR Boot Training
B -    604174 - DDR: Checksum to be stored on flash is 241753929
B -    614422 - Image Load, Start
D -    216642 - QSEE Image Loaded, Delta - (1376536 Bytes)
B -    831155 - Image Load, Start
D -        61 - SEC Image Loaded, Delta - (0 Bytes)
B -    838841 - Image Load, Start
D -     12017 - DEVCFG Image Loaded, Delta - (26148 Bytes)
B -    850950 - Image Load, Start
D -     23027 - RPM Image Loaded, Delta - (86660 Bytes)
B -    874069 - Image Load, Start
D -     89914 - APPSBL Image Loaded, Delta - (571732 Bytes)
B -    964135 - QSEE Execution, Start
D -        61 - QSEE Execution, Delta
B -    969930 - USB D+ check, Start
D -         0 - USB D+ check, Delta
B -    976305 - SBL1, End
D -    758596 - SBL1, Delta
S - Flash Throughput, 6896 KB/s  (2062323 Bytes,  299046 us)
S - DDR Frequency, 466 MHz
S - Core 0 Frequency, 800 MHz


U-Boot 2016.01-0.30.256.211028_11.4.1cs (Apr 22 2021 - 04:33:35 +0000)

DRAM:  smem ram ptable found: ver: 1 len: 4
2 GiB
NAND:  Could not find nand_gpio in dts, using defaults
ONFI device found
ID = 1681a301
Vendor = 1
Device = a3
qpic_nand: changing oobsize to 128 from 256 bytes
SF: Unsupported flash IDs: manuf ff, jedec ffff, ext_jedec ffff
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
1024 MiB
MMC:   <NULL>: 0
In:    serial@78B3000
Out:   serial@78B3000
Err:   serial@78B3000
machid: 801000d
Card did not respond to voltage select!
eth3 MAC Address from ART is not valid
eth4 MAC Address from ART is not valid
eth5 MAC Address from ART is not valid
Hit any key to stop autoboot:  0
bootargs=console=ttyMSM0,115200n8 ubi.mtd=rootfs root=mtd:ubi_rootfs rootfstype=squashfs rootwait
Booting from flash
Using nand device 0
ubi0: attaching mtd1
ubi0: scanning is finished
ubi0: attached mtd1 (name "mtd=0", size 475 MiB)
ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192
ubi0: good PEBs: 1900, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 2134174673
ubi0: available PEBs: 0, total reserved PEBs: 1900, PEBs reserved for bad PEB handling: 80
Read 0 bytes from volume kernel to 44000000
No size specified -> Using max size (5332992)
## Loading kernel from FIT Image at 44000000 ...
   Using 'config@oak03' configuration
   Trying 'kernel-1' kernel subimage
     Description:  ARM64 OpenWrt Linux-6.6.47
     Type:         Kernel Image
     Compression:  gzip compressed
     Data Start:   0x440000e8
     Data Size:    5245072 Bytes = 5 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x41000000
     Entry Point:  0x41000000
     Hash algo:    crc32
     Hash value:   bddc6bf6
     Hash algo:    sha1
     Hash value:   0bdefda0a9c6f931d44df756fc1b443e2379a020
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 44000000 ...
   Using 'config@oak03' configuration
   Trying 'fdt-1' fdt subimage
     Description:  ARM64 OpenWrt linksys_homewrk device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x44500ab8
     Data Size:    43115 Bytes = 42.1 KiB
     Architecture: AArch64
     Hash algo:    crc32
     Hash value:   84b4f578
     Hash algo:    sha1
     Hash value:   9595248f31d7663132fd3fd88a0fbb73ad9a2b55
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x44500ab8
   Uncompressing Kernel Image ... OK
   Loading Device Tree to 4a3f2000, end 4a3ff86a ... OK
Using machid 0x801000d from environment

Starting kernel ...

Jumping to AARCH64 kernel via monitor
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.6.48 (runner@fv-az1536-163) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r0-8b1e68f) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Mon Sep  2 19:42:35 2024
[    0.000000] Machine model: Linksys HomeWRK
[    0.000000] OF: reserved mem: 0x0000000040000000..0x0000000040ffffff (16384 KiB) nomap non-reusable nss@40000000
[    0.000000] OF: reserved mem: 0x000000004a400000..0x000000004a5fffff (2048 KiB) nomap non-reusable tzapp@4a400000
[    0.000000] OF: reserved mem: 0x000000004a600000..0x000000004a9fffff (4096 KiB) nomap non-reusable bootloader@4a600000
[    0.000000] OF: reserved mem: 0x000000004aa00000..0x000000004aafffff (1024 KiB) nomap non-reusable sbl@4aa00000
[    0.000000] OF: reserved mem: 0x000000004ab00000..0x000000004abfffff (1024 KiB) nomap non-reusable smem@4ab00000
[    0.000000] OF: reserved mem: 0x000000004ac00000..0x000000004affffff (4096 KiB) nomap non-reusable memory@4ac00000
[    0.000000] OF: reserved mem: 0x000000004b000000..0x0000000050efffff (97280 KiB) nomap non-reusable wcnss@4b000000
[    0.000000] OF: reserved mem: 0x0000000050f00000..0x0000000050ffffff (1024 KiB) nomap non-reusable q6_etr_dump@50f00000
[    0.000000] OF: reserved mem: 0x0000000051000000..0x00000000510fffff (1024 KiB) nomap non-reusable m3_dump@51000000
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000040ffffff]
[    0.000000]   node   0: [mem 0x0000000041000000-0x000000004a3fffff]
[    0.000000]   node   0: [mem 0x000000004a400000-0x00000000510fffff]
[    0.000000]   node   0: [mem 0x0000000051100000-0x00000000bfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 18 pages/cpu s35240 r8192 d30296 u73728
[    0.000000] pcpu-alloc: s35240 r8192 d30296 u73728 alloc=18*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: console=ttyMSM0,115200n8 ubi.mtd=rootfs root=mtd:ubi_rootfs rootfstype=squashfs rootwait root=/dev/ubiblock0_1
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 2MB
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x00000000bd600000-0x00000000bd800000] (2MB)
[    0.000000] Memory: 1913220K/2097152K available (8192K kernel code, 892K rwdata, 2500K rodata, 1536K init, 276K bss, 183932K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv2m: range[mem 0x0b00a000-0x0b00affc], SPI[448:479]
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 and mmio timer(s) running at 19.20MHz (virt/virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000000] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000101] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.000114] pid_max: default: 32768 minimum: 301
[    0.005306] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.005323] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.009702] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.009933] rcu: Hierarchical SRCU implementation.
[    0.009938] rcu:     Max phase no-delay instances is 1000.
[    0.010817] smp: Bringing up secondary CPUs ...
[    0.011500] Detected VIPT I-cache on CPU1
[    0.011602] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.012295] Detected VIPT I-cache on CPU2
[    0.012366] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.013035] Detected VIPT I-cache on CPU3
[    0.013101] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.013171] smp: Brought up 1 node, 4 CPUs
[    0.013179] SMP: Total of 4 processors activated.
[    0.013184] CPU features: detected: 32-bit EL0 Support
[    0.013189] CPU features: detected: CRC32 instructions
[    0.013257] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.013265] CPU: All CPU(s) started at EL1
[    0.013267] alternatives: applying system-wide alternatives
[    0.023638] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.023664] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.025401] pinctrl core: initialized pinctrl subsystem
[    0.027153] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.027769] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.027825] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.027877] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.028271] thermal_sys: Registered thermal governor 'step_wise'
[    0.028331] cpuidle: using governor menu
[    0.028546] ASID allocator initialised with 65536 entries
[    0.054628] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    0.056544] Modules: 29376 pages in range for non-PLT usage
[    0.056551] Modules: 520896 pages in range for PLT usage
[    0.061413] SCSI subsystem initialized
[    0.061609] usbcore: registered new interface driver usbfs
[    0.061663] usbcore: registered new interface driver hub
[    0.061726] usbcore: registered new device driver usb
[    0.062143] qcom_scm: convention: smc arm 64
[    0.063858] clocksource: Switched to clocksource arch_sys_counter
[    0.067622] NET: Registered PF_INET protocol family
[    0.067814] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.071288] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.071320] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.071336] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.071497] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
[    0.072089] TCP: Hash tables configured (established 16384 bind 16384)
[    0.072221] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.072288] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.072782] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.072838] PCI: CLS 0 bytes, default 64
[    0.074514] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    0.075059] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.075066] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.081388] qcom-qmp-usb-phy 78000.phy: supply vdda-phy not found, using dummy regulator
[    0.081558] qcom-qmp-usb-phy 78000.phy: supply vdda-pll not found, using dummy regulator
[    0.082757] qcom-qusb2-phy 79000.phy: supply vdd not found, using dummy regulator
[    0.082898] qcom-qusb2-phy 79000.phy: supply vdda-pll not found, using dummy regulator
[    0.082962] qcom-qusb2-phy 79000.phy: supply vdda-phy-dpdm not found, using dummy regulator
[    0.083130] qcom-qusb2-phy 79000.phy: Registered Qcom-QUSB2 phy
[    0.091648] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.092716] msm_serial 78b3000.serial: msm_serial: detected port #0
[    0.092756] msm_serial 78b3000.serial: uartclk = 3686400
[    0.093100] 78b3000.serial: ttyMSM0 at MMIO 0x78b3000 (irq = 20, base_baud = 230400) is a MSM
[    0.093139] msm_serial: console setup on port #0
[    0.093181] printk: console [ttyMSM0] enabled
[    0.858495] msm_serial: driver initialized
[    0.867934] loop: module loaded
[    0.869344] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xa3
[    0.869892] nand: AMD/Spansion S34MS08G2
[    0.876638] nand: 1024 MiB, SLC, erase size: 256 KiB, page size: 4096, OOB size: 256
[    0.881693] spmi spmi-0: PMIC arbiter version v2 (0x20010000)
[    0.907054] i2c_dev: i2c /dev entries driver
[    0.914584] sdhci: Secure Digital Host Controller Interface driver
[    0.914630] sdhci: Copyright(c) Pierre Ossman
[    0.919664] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.926040] remoteproc remoteproc0: releasing cd00000.q6v5_wcss
[    0.933321] NET: Registered PF_INET6 protocol family
[    0.936818] Segment Routing with IPv6
[    0.940713] In-situ OAM (IOAM) with IPv6
[    0.944339] NET: Registered PF_PACKET protocol family
[    0.948363] 8021q: 802.1Q VLAN Support v1.8
[    0.985390] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    0.985728] cpr4_ipq807x_apss_read_fuse_data: apc_corner: speed bin = 0
[    0.991517] cpr4_ipq807x_apss_read_fuse_data: apc_corner: CPR fusing revision = 1
[    0.998169] cpr4_ipq807x_apss_read_fuse_data: apc_corner: CPR misc fuse value = 0
[    1.005808] cpr4_ipq807x_apss_read_fuse_data: apc_corner: Voltage boost fuse config = 0 boost = disable
[    1.013293] cpr3_mem_acc_init: apc: not using memory accelerator regulator
[    1.022446] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused      SVS: open-loop= 704000 uV
[    1.029398] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused      NOM: open-loop= 808000 uV
[    1.039375] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused    TURBO: open-loop= 872000 uV
[    1.049186] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused   STURBO: open-loop= 960000 uV
[    1.059045] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused      SVS: quot[ 7]= 714, quot_offset[ 7]=   0
[    1.068809] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused      NOM: quot[ 7]= 907, quot_offset[ 7]= 190
[    1.079657] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused    TURBO: quot[ 7]=1014, quot_offset[ 7]= 105
[    1.090593] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused   STURBO: quot[ 7]=1171, quot_offset[ 7]= 155
[    1.101762] cpr3_regulator_init_ctrl: apc: Default CPR mode = closed-loop
[    1.104639] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xa3
[    1.119225] nand: AMD/Spansion S34MS08G2
[    1.125658] nand: 1024 MiB, SLC, erase size: 256 KiB, page size: 4096, OOB size: 256
[    1.129908] 24 qcomsmem partitions found on MTD device qcom_nand.0
[    1.137277] Creating 24 MTD partitions on "qcom_nand.0":
[    1.143252] 0x000000000000-0x000000100000 : "0:sbl1"
[    1.149912] 0x000000100000-0x000000200000 : "0:mibib"
[    1.154779] 0x000000200000-0x000000280000 : "0:bootconfig"
[    1.159345] 0x000000280000-0x000000300000 : "0:bootconfig1"
[    1.164741] 0x000000300000-0x000000600000 : "0:qsee"
[    1.171385] 0x000000600000-0x000000900000 : "0:qsee_1"
[    1.176641] 0x000000900000-0x000000980000 : "0:devcfg"
[    1.180338] 0x000000980000-0x000000a00000 : "0:devcfg_1"
[    1.185534] 0x000000a00000-0x000000a80000 : "0:apdp"
[    1.190953] 0x000000a80000-0x000000b00000 : "0:apdp_1"
[    1.195971] 0x000000b00000-0x000000b80000 : "0:rpm"
[    1.200920] 0x000000b80000-0x000000c00000 : "0:rpm_1"
[    1.205656] 0x000000c00000-0x000000c80000 : "0:cdt"
[    1.210828] 0x000000c80000-0x000000d00000 : "0:cdt_1"
[    1.215647] 0x000000d00000-0x000000d80000 : "0:appsblenv"
[    1.220782] 0x000000d80000-0x000000e80000 : "0:appsbl"
[    1.226430] 0x000000e80000-0x000000f80000 : "0:appsbl_1"
[    1.231414] 0x000000f80000-0x000001000000 : "0:art"
[    1.236662] 0x000001000000-0x000001080000 : "0:ethphyfw"
[    1.241227] 0x000001080000-0x000002980000 : "0:wififw"
[    1.258705] 0x000002980000-0x000002a00000 : "devinfo"
[    1.259547] 0x000002a00000-0x000004a00000 : "tzcfg"
[    1.278812] 0x000004a00000-0x000022500000 : "rootfs"
[    1.508690] mtd: setting mtd22 (rootfs) as root device
[    1.509330] mtdsplit: no squashfs found in "rootfs"
[    1.512766] 0x000022500000-0x000040000000 : "rootfs_1"
[    1.757172] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 800000 KHz, changing to: 1017600 KHz
[    1.759135] remoteproc remoteproc0: cd00000.q6v5_wcss is available
[    1.767249] ubi0: attaching mtd22
[    2.323865] random: crng init done
[    4.102183] ubi0: scanning is finished
[    4.111164] ubi0: attached mtd22 (name "rootfs", size 475 MiB)
[    4.111212] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
[    4.115917] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
[    4.122758] ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192
[    4.129625] ubi0: good PEBs: 1900, bad PEBs: 0, corrupted PEBs: 0
[    4.136390] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[    4.142638] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 2134174673
[    4.149767] ubi0: available PEBs: 0, total reserved PEBs: 1900, PEBs reserved for bad PEB handling: 80
[    4.159067] ubi0: background thread "ubi_bgt0d" started, PID 631
[    4.160125] block ubiblock0_1: created from ubi0:1(rootfs)
[    4.174429] clk: Disabling unused clocks
[    4.183315] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    4.183879] Freeing unused kernel memory: 1536K
[    4.189576] Run /sbin/init as init process
[    4.193768]   with arguments:
[    4.193770]     /sbin/init
[    4.193773]   with environment:
[    4.193775]     HOME=/
[    4.193777]     TERM=linux
[    4.380669] init: Console is alive
[    4.380812] init: - watchdog -
[    4.975898] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.009963] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    5.053405] ssdk_dt_parse_interrupt[941]:INFO:intr-gpio does not exist
[    5.357947] adpt_hppe_uniphy_mode_set[1398]:INFO:ssdk doesn't support mode:0 in uniphy:0 on platform!
[    5.358109] regi_init[2525]:INFO:Initializing HPPE Done!!
[    5.366253] regi_init[2574]:INFO:qca-ssdk module init succeeded!
[    5.374147] EDMA ver 1 hw init
[    5.377835] EDMA HW Reset completed succesfully
[    5.380508] Num rings - TxDesc:1 (23-23) TxCmpl:1 (7-7)
[    5.384919] RxDesc:1 (15-15) RxFill:1 (7-7)
[    5.390500] dp2: ppe offload disabled: 0 for macid 2
[    5.394296] dp2: Switch attached to macid 2 status: 0
[    5.564651] Qualcomm QCA8075 90000.mdio-1:01: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:01, irq=POLL)
[    5.565605] dp3: ppe offload disabled: 0 for macid 3
[    5.573544] dp3: Switch attached to macid 3 status: 0
[    5.664222] Qualcomm QCA8075 90000.mdio-1:02: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:02, irq=POLL)
[    5.665139] dp4: ppe offload disabled: 0 for macid 4
[    5.673113] dp4: Switch attached to macid 4 status: 0
[    5.754222] Qualcomm QCA8075 90000.mdio-1:03: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:03, irq=POLL)
[    5.755138] dp5: ppe offload disabled: 0 for macid 5
[    5.763112] dp5: Switch attached to macid 5 status: 0
[    5.844223] Qualcomm QCA8075 90000.mdio-1:04: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:04, irq=POLL)
[    5.845108] **********************************************************
[    5.853115] * NSS Data Plane driver
[    5.859647] **********************************************************
[    5.876586] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    5.876640] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[    5.881103] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe65 hci version 0x110 quirks 0x0000008002000010
[    5.888597] xhci-hcd xhci-hcd.1.auto: irq 38, io mem 0x08a00000
[    5.898039] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    5.903806] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[    5.909374] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    5.917430] hub 1-0:1.0: USB hub found
[    5.923531] hub 1-0:1.0: 1 port detected
[    5.927663] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.931689] hub 2-0:1.0: USB hub found
[    5.939443] hub 2-0:1.0: 1 port detected
[    5.946270] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.947601] init: - preinit -
[    6.223922] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    8.634391] UBIFS (ubi0:2): Mounting in unauthenticated mode
[    8.634532] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 871
[    8.706737] UBIFS (ubi0:2): recovery needed
[    8.870005] UBIFS (ubi0:2): recovery completed
[    8.870145] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
[    8.873359] UBIFS (ubi0:2): LEB size: 253952 bytes (248 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
[    8.881293] UBIFS (ubi0:2): FS size: 445431808 bytes (424 MiB, 1754 LEBs), max 1766 LEBs, journal size 22347776 bytes (21 MiB, 88 LEBs)
[    8.891170] UBIFS (ubi0:2): reserved for root: 4952683 bytes (4836 KiB)
[    8.903137] UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), UUID 558E5865-E195-4244-BD03-0305711B332C, small LPT model
[    8.917857] mount_root: switching to ubifs overlay
[    8.925917] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[    8.934188] urandom-seed: Seeding with /etc/urandom.seed
[    8.996147] procd: - early -
[    8.996257] procd: - watchdog -
[    9.551438] procd: - watchdog -
[    9.552111] procd: - ubus -
[    9.704939] procd: - init -
[   10.016728] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.137691] Loading modules backported from Linux version v6.9.9-0-g28fdf4518483
[   10.137734] Backport generated by backports.git v6.1.97-1-29-gf1d24a3683b2
[   10.150276] NET: Registered PF_QIPCRTR protocol family
[   10.229912] PPP generic driver version 2.4.2
[   10.230792] NET: Registered PF_PPPOX protocol family
[   10.241164] urngd: v1.0.2 started.
[   10.243454] ath11k c000000.wifi: ipq8074 hw2.0
[   10.243490] ath11k c000000.wifi: FW memory mode: 0
[   10.288838] remoteproc remoteproc0: powering up cd00000.q6v5_wcss
[   10.289246] remoteproc remoteproc0: Booting fw image IPQ8074/q6_fw.mdt, size 668
[   11.522563] remoteproc remoteproc0: remote processor cd00000.q6v5_wcss is now up
[   11.566517] ath11k c000000.wifi: qmi ignore invalid mem req type 3
[   11.573984] ath11k c000000.wifi: chip_id 0x0 chip_family 0x0 board_id 0xff soc_id 0xffffffff
[   11.574020] ath11k c000000.wifi: fw_version 0x290604a5 fw_build_timestamp 2023-10-12 02:06 fw_build_id WLAN.HK.2.9.0.1-01977-QCAHKSWPL_SILICONZ-1
[   11.726267] remoteproc remoteproc0: stopped remote processor cd00000.q6v5_wcss
[   11.726311] remoteproc remoteproc0: powering up cd00000.q6v5_wcss
[   11.732476] remoteproc remoteproc0: Booting fw image IPQ8074/q6_fw.mdt, size 668
[   12.084943] remoteproc remoteproc0: remote processor cd00000.q6v5_wcss is now up
[   12.088178] kmodloader: done loading kernel modules from /etc/modules.d/*
[   12.128871] ath11k c000000.wifi: qmi ignore invalid mem req type 3
[   12.136344] ath11k c000000.wifihip_id 0x0 chip_family 0x0 board_id 0xff soc_id 0xffffffff
[   12.136400] ath11k c000000.wifi: fw_version 0x290604a5 fw_build_timestamp 2023-10-12 02:06 fw_build_id WLAN.HK.2.9.0.1-01977-QCAHKSWPL_SILICONZ-1
[   12.523123] ath11k c000000.wifi: htt event 48 not handled
[   34.403906] l11: disabling

Cable connection is not detected:

root@OpenWrt:~# mdio 9*
 DEV      PHY-ID  LINK
0x00  0x004dd0b1  down
0x01  0x004dd0b1  down
0x02  0x004dd0b1  down
0x03  0x004dd0b1  down
0x04  0x004dd0b1  down
0x05  0x06820805  down

DTS from OEM firmware: https://gist.github.com/testuser7/f754c9a877400a5059cd0456757f1547

Do you have any ideas what might be wrong?