[PATCH net-next 0/4] net: ethernet: qualcomm: ppe: Add IPQ5332 support

From: Til Kaiser

Date: Mon Oct 05 2026 - 11:37:25 EST


IPQ5332 uses the same PPE architecture as IPQ9574, but has two front
panel ports, a 200 MHz PPE clock, and different interconnect, buffer
and scheduler settings. This series adds support for it.

Patch 1 moves the IPQ9574 settings into per-SoC match data and a
hardware configuration structure, renames the shared regmap configuration,
and makes the reserved scheduler resource lookup independent of the port
count. Patch 2 tightens the port node constraints in the DT schema.
Patch 3 adds IPQ5332 to the schema with per-SoC interconnect, clock, EDMA
reset and interrupt constraints, while retaining the original binding
filename. Patch 4 adds the IPQ5332 configuration to the driver and adds
its port and UNIPHY counts to the documentation.

The IPQ5332 values come from the PPE initialization in Qualcomm's
downstream QSDK 14.0.1595.1665, qca-ssdk revision
48484d531927b070b996685f1570aff3bccb9c32 (src/init/ssdk_hppe.c,
src/init/ssdk_appe.c and src/adpt/hppe/adpt_hppe_qm.c).

IPQ5332 requires the GCC IM sleep clock in addition to the four PPE
clocks, two EDMA resets instead of one, and 49 EDMA interrupts instead
of 65. These differences are constrained without changing the existing
IPQ9574 layouts.

Tested on the Ubiquiti UniFi 7 Pro XGS access point, using the EDMA
driver from OpenWrt, which is not yet upstream. The device has a
single Ethernet port, connected to PPE port 1. The second front
panel port and its configuration are untested from my side.

Thanks,
Til

Til Kaiser (4):
net: ethernet: qualcomm: ppe: Select hardware configuration by SoC
dt-bindings: net: qcom,ipq9574-ppe: Tighten ethernet port node
constraints
dt-bindings: net: qcom,ipq9574-ppe: Add IPQ5332 support
net: ethernet: qualcomm: ppe: Add IPQ5332 support

.../bindings/net/qcom,ipq9574-ppe.yaml | 103 +++++++++-
.../ethernet/qualcomm/ppe/ppe.rst | 9 +-
drivers/net/ethernet/qualcomm/ppe/ppe.c | 81 ++++++--
.../net/ethernet/qualcomm/ppe/ppe_config.c | 185 ++++++++++++++++--
.../net/ethernet/qualcomm/ppe/ppe_config.h | 35 +++-
5 files changed, 369 insertions(+), 44 deletions(-)


base-commit: 8b4e7209c842d8cb9516f1f5ef0a88aa2d8831a6
--
2.55.0