Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: net: airoha: npu: Add firmware-name property

Add firmware-name property in order to introduce the capability to
specify the firmware names used for 'RiscV core' and 'Data section'
binaries. This patch is needed because NPU firmware binaries are board
specific since they depend on the MediaTek WiFi chip used on the board
(e.g. MT7996 or MT7992) and the WiFi chip version info is not available
in the NPU driver. This is a preliminary patch to enable MT76 NPU
offloading if the Airoha SoC is equipped with MT7996 (Eagle) WiFi chipset.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20260120-airoha-npu-firmware-name-v4-1-88999628b4c1@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Lorenzo Bianconi and committed by
Jakub Kicinski
03135a5a c7cffa49

+7
+7
Documentation/devicetree/bindings/net/airoha,en7581-npu.yaml
··· 59 59 - const: ba 60 60 minItems: 1 61 61 62 + firmware-name: 63 + items: 64 + - description: Firmware name of RiscV core 65 + - description: Firmware name of Data section 66 + 62 67 required: 63 68 - compatible 64 69 - reg ··· 101 96 memory-region = <&npu_firmware>, <&npu_pkt>, <&npu_txpkt>, 102 97 <&npu_txbufid>, <&npu_ba>; 103 98 memory-region-names = "firmware", "pkt", "tx-pkt", "tx-bufid", "ba"; 99 + firmware-name = "airoha/en7581_npu_rv32.bin", 100 + "airoha/en7581_npu_data.bin"; 104 101 }; 105 102 };