OpenWrt Support for Linksys SPNMX57 variants

I am aware, but not much I could do. Is there a way to increase the log verbosity? How do I debug the -22 error? Thanks

At this stage you might have insert extra logging lines. I don't personally know openwrt debug processes

1 Like

I've managed to get UART access on my SPNMX57 and capture the full boot +
hardware layout. Here’s everything confirmed directly from the device:

1. SPNMX57 is NOT the same as the SPNMX56

  • Switch chip shows ID 17 (QCA8327/QCA8337 family)
  • 2.5G PHY is QCA8081/QCA8084 at mdio-1:0x1c
  • Wi-Fi is QCN9074 (ath11k PCIe), not QCN9024
  • NAND partition layout differs
  • MAC modes and port mapping differ

Because of these differences, the SPNMX56 DTS will never bring up Ethernet on the SPNMX57.


2. The WIP SPNMX57 DTS does boot

The following all work:

  • Kernel boots
  • PCIe initializes
  • QCN9074 Wi-Fi works
  • UBI + rootfs_data + overlay mount correctly

But Ethernet fails due to PHY probe errors:

Qualcomm QCA8084 90000.mdio-1:00: probe failed with error -22
qca-ssdk module init, no device found!
ssdk_dt_parse_mac_mode: mac mode doesn't exist!

3. Outputs from my device (for developers)

/proc/cpuinfo

processor       : 0
BogoMIPS        : 48.00
CPU architecture: 8
CPU part        : 0x801

processor       : 1
BogoMIPS        : 48.00
CPU architecture: 8
CPU part        : 0x801

/proc/device-tree/model

Linksys SPNMX56

ubus call system board

{
        "kernel": "6.12.57",
        "model": "Linksys SPNMX56",
        "board_name": "linksys,spnmx56",
        "target": "qualcommax/ipq50xx"
}

/proc/mtd

mtd0: 00080000 "0:SBL1"
mtd1: 00080000 "0:MIBIB"
mtd2: 00100000 "0:QSEE"
mtd3: 00040000 "0:DEVCFG"
mtd4: 00040000 "0:CDT"
mtd5: 00080000 "0:APPSBLENV"
mtd6: 00140000 "0:APPSBL"
mtd7: 00100000 "0:ART"
mtd8: 00080000 "0:TRAINING"
mtd9: 00080000 "u_env"
mtd10: 00040000 "s_env"
mtd11: 00040000 "devinfo"
mtd12: 05200000 "kernel"
mtd13: 04a00000 "rootfs"
mtd14: 05200000 "alt_kernel"
mtd15: 04a00000 "alt_rootfs"
mtd16: 00200000 "sysdiag"
mtd17: 04400000 "syscfg"

MDIO scans

Bus 9*

DEV      PHY-ID      LINK
0x11     0x3f003f00  down   (QCA8327/QCA8337 signature)

Bus 8*

DEV      PHY-ID      LINK
0x07     0x004dd0c0  down   (internal IPQ5018 PHY)

Wi-Fi (QCN9074)

ath11k_pci 0000:01:00.0: qcn9074 hw1.0
fw_version 0x270206d0

Boot log Ethernet errors

Qualcomm QCA8084 90000.mdio-1:00: probe failed with error -22
Qualcomm QCA8084 90000.mdio-1:01: probe failed with error -22
regi_init[2578]:INFO:qca-ssdk module init, no device found!

4. What needs fixing in the DTS

  • Correct qca8k switch definition for QCA8327/QCA8337
  • Correct PHY node for QCA8081/QCA8084 @ mdio-1:0x1c
  • Correct MDIO bus structure (90000.mdio-1)
  • Correct GMAC modes (likely RGMII/SGMII)
  • Define LAN/WAN port → PHY mapping properly
  • LED + button GPIOs (lower priority)

Once the switch + PHY nodes are correct, Ethernet should come up.


5. I can test any DTS patches

I have full UART + serial access and can:

  • Boot initramfs over U-Boot
  • Flash sysupgrade
  • Provide full logs
  • Test PHY/switch behavior
  • Iterate quickly on changes

Happy to help get SPNMX57 support working.

2 Likes