[PATCH net-next v2 1/2] dt-bindings: net: airoha: npu: Add EN7581-7996 support

Benjamin Larsson benjamin.larsson at genexis.eu
Wed Jan 14 14:37:18 PST 2026


On 14/01/2026 21:15, Andrew Lunn wrote:
>> In the current codebase the NPU driver does not need to access the WiFi PCIe
>> slot (or any other external device) since the offloading (wired and wireless)
>> is fully managed by the NPU chip (hw + firmware binaries).
> Are you saying the NPU itself enumerates the PCI busses and finds the
> WiFi device?  If it can do that, why not ask it which PCI device it is
> using?
>
> Or this the PCI slot to use somehow embedded within the firmware?
>
> Or is it simply hard coded in the NPU silicon which slot to use?
>
>     Andrew
>
Hi, the NPU can address most of the SoC (the NPU is a cluster of 
RiscV-cores). The SoC when paired with a specific wifi chip needs to be 
matched with a specific NPU firmware. The NPU firmware seems to contain 
wifi chip specific code and I guess only one electrical configuration is 
supported. The pcie card is connected via 2 pcie busses. One dual lane 
pcie gen3 and one single lane pcie gen2.

The NPU does not only handle wifi. It can do tunnel and IPv6-support 
also. So a device might not have anything connected to the pcie at all 
but still have a need to load a specific NPU firmware.

MvH

Benjamin Larsson




More information about the Linux-mediatek mailing list