[openwrt/openwrt] airoha: an7581: enable NPU by default

LEDE Commits lede-commits at lists.infradead.org
Thu Nov 20 14:05:42 PST 2025


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/a19ccd9d153b5972db550b1cc5a7a3b2dae081f0

commit a19ccd9d153b5972db550b1cc5a7a3b2dae081f0
Author: Ziyang Huang <hzyitc at outlook.com>
AuthorDate: Sun Oct 19 20:26:32 2025 +0800

    airoha: an7581: enable NPU by default
    
    There is no reason not to do this.
    
    Use the following commands to enable hardware offloading:
        uci set firewall. at defaults[0].flow_offloading='1'
        uci set firewall. at defaults[0].flow_offloading_hw='1'
        uci commit
    
    Signed-off-by: Ziyang Huang <hzyitc at outlook.com>
    Link: https://github.com/openwrt/openwrt/pull/20484
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 target/linux/airoha/an7581/target.mk | 3 +++
 target/linux/airoha/dts/an7581.dtsi  | 1 -
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/target/linux/airoha/an7581/target.mk b/target/linux/airoha/an7581/target.mk
index 6d0c4e2cb5..5eacac3f3b 100644
--- a/target/linux/airoha/an7581/target.mk
+++ b/target/linux/airoha/an7581/target.mk
@@ -5,6 +5,9 @@ CPU_TYPE:=cortex-a53
 KERNELNAME:=Image dtbs
 FEATURES+=pwm source-only
 
+DEFAULT_PACKAGES += \
+	airoha-en7581-npu-firmware
+
 define Target/Description
 	Build firmware images for Airoha an7581 ARM based boards.
 endef
diff --git a/target/linux/airoha/dts/an7581.dtsi b/target/linux/airoha/dts/an7581.dtsi
index 32bc6b5df7..e50048ac94 100644
--- a/target/linux/airoha/dts/an7581.dtsi
+++ b/target/linux/airoha/dts/an7581.dtsi
@@ -832,7 +832,6 @@
 					<&npu_txbufid>;
 			memory-region-names = "binary", "pkt", "tx-pkt",
 					      "tx-bufid";
-			status = "disabled";
 		};
 
 		eth: ethernet at 1fb50000 {




More information about the lede-commits mailing list