1
0
Fork 0
forked from mirror/openwrt

airoha: Add PCIe sub-nodes for NPU wifi offloading

Introduce missing PCIe sub-nodes required to enable NPU wifi offloading
on Airoha AN7581 SoC.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://github.com/openwrt/openwrt/pull/22516
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
Lorenzo Bianconi 2026-03-19 11:42:37 +01:00 committed by Christian Marangi
parent a1f5273d27
commit 1f41e2ce27
No known key found for this signature in database
GPG key ID: AC001D09ADBFEAD7
2 changed files with 40 additions and 0 deletions

View file

@ -184,12 +184,32 @@
pinctrl-names = "default";
pinctrl-0 = <&pcie0_rst_pins>;
status = "okay";
pcie@0,0 {
reg = <0x0000 0 0 0 0>;
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
airoha,npu = <&npu>;
airoha,eth = <&eth>;
};
};
};
&pcie1 {
pinctrl-names = "default";
pinctrl-0 = <&pcie1_rst_pins>;
status = "okay";
pcie@1,0 {
reg = <0x0000 0 0 0 0>;
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
airoha,npu = <&npu>;
airoha,eth = <&eth>;
};
};
};
&pcie2 {

View file

@ -196,12 +196,32 @@
pinctrl-names = "default";
pinctrl-0 = <&pcie0_rst_pins>;
status = "okay";
pcie@0,0 {
reg = <0x0000 0 0 0 0>;
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
airoha,npu = <&npu>;
airoha,eth = <&eth>;
};
};
};
&pcie1 {
pinctrl-names = "default";
pinctrl-0 = <&pcie1_rst_pins>;
status = "okay";
pcie@1,0 {
reg = <0x0000 0 0 0 0>;
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
airoha,npu = <&npu>;
airoha,eth = <&eth>;
};
};
};
&npu {