]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
airoha: an7581: add specific NPU dtsi and update eMMC and W1700K
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 9 Apr 2026 09:38:40 +0000 (11:38 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Thu, 9 Apr 2026 09:38:40 +0000 (11:38 +0200)
Add specific DTSI for NPU firmware based on the supported WiFi chip and
update the supported device by including the relevant new DTSI.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/airoha/dts/an7581-evb-emmc.dts
target/linux/airoha/dts/an7581-npu-mt7992.dtsi [new file with mode: 0644]
target/linux/airoha/dts/an7581-npu-mt7996.dtsi [new file with mode: 0644]
target/linux/airoha/dts/an7581-w1700k-ubi.dts

index 25aca81e2242e6015bbc19d167453fbb9a1b380a..df433906aa0d8caf6dd9b03a6952c93f98ba552c 100644 (file)
@@ -7,6 +7,7 @@
 #include <dt-bindings/leds/common.h>
 #include <dt-bindings/gpio/gpio.h>
 #include "an7581.dtsi"
+#include "an7581-npu-mt7996.dtsi"
 
 / {
        model = "Airoha AN7581 Evaluation Board";
 };
 
 &npu {
-       firmware-name = "airoha/en7581_MT7996_npu_rv32.bin",
-                       "airoha/en7581_MT7996_npu_data.bin";
        status = "okay";
 };
 
diff --git a/target/linux/airoha/dts/an7581-npu-mt7992.dtsi b/target/linux/airoha/dts/an7581-npu-mt7992.dtsi
new file mode 100644 (file)
index 0000000..0985b73
--- /dev/null
@@ -0,0 +1,6 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+
+&npu {
+       firmware-name = "airoha/en7581_npu_rv32.bin",
+                        "airoha/en7581_npu_data.bin";
+};
diff --git a/target/linux/airoha/dts/an7581-npu-mt7996.dtsi b/target/linux/airoha/dts/an7581-npu-mt7996.dtsi
new file mode 100644 (file)
index 0000000..404e159
--- /dev/null
@@ -0,0 +1,6 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+
+&npu {
+       firmware-name = "airoha/en7581_MT7996_npu_rv32.bin",
+                        "airoha/en7581_MT7996_npu_data.bin";
+};
index bbcc1d11358c41846a7e9b564df45880c8f7b4cd..6f4158599f937d9a7028fc8cf4bcfced1afb4d7a 100644 (file)
@@ -6,6 +6,7 @@
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 #include "an7581.dtsi"
+#include "an7581-npu-mt7996.dtsi"
 
 / {
        model = "Gemtek W1700K (OpenWrt U-Boot layout)";
 };
 
 &npu {
-       firmware-name = "airoha/en7581_MT7996_npu_rv32.bin",
-               "airoha/en7581_MT7996_npu_data.bin";
        status = "okay";
 };