[openwrt/openwrt] ramips: Fix WiFi on Sercomm NA502 and NA502s
LEDE Commits
lede-commits at lists.infradead.org
Tue Oct 29 13:25:50 PDT 2024
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/cbefc64cb33cc693fb551111021e95eb976b51bb
commit cbefc64cb33cc693fb551111021e95eb976b51bb
Author: Andreas Böhler <dev at aboehler.at>
AuthorDate: Mon Oct 28 18:52:02 2024 +0100
ramips: Fix WiFi on Sercomm NA502 and NA502s
The WiFi chips are actually on PCIe1 and PCIe2, PCIe0 is empty. Fix the
assignment so that WiFi works properly again.
Signed-off-by: Andreas Böhler <dev at aboehler.at>
Link: https://github.com/openwrt/openwrt/pull/16807
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
target/linux/ramips/dts/mt7621_sercomm_na502.dts | 4 ++--
target/linux/ramips/dts/mt7621_sercomm_na502s.dts | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/target/linux/ramips/dts/mt7621_sercomm_na502.dts b/target/linux/ramips/dts/mt7621_sercomm_na502.dts
index 049dd35fa7..a8a7f5e389 100644
--- a/target/linux/ramips/dts/mt7621_sercomm_na502.dts
+++ b/target/linux/ramips/dts/mt7621_sercomm_na502.dts
@@ -193,7 +193,7 @@
status = "okay";
};
-&pcie0 {
+&pcie1 {
wifi at 0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
@@ -203,7 +203,7 @@
};
};
-&pcie1 {
+&pcie2 {
wifi at 0,0 {
compatible = "mediatek,mt76";
reg = <0x0 0 0 0 0>;
diff --git a/target/linux/ramips/dts/mt7621_sercomm_na502s.dts b/target/linux/ramips/dts/mt7621_sercomm_na502s.dts
index e794ef8875..9d16449148 100644
--- a/target/linux/ramips/dts/mt7621_sercomm_na502s.dts
+++ b/target/linux/ramips/dts/mt7621_sercomm_na502s.dts
@@ -297,7 +297,7 @@
status = "okay";
};
-&pcie0 {
+&pcie1 {
wifi at 0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
@@ -307,7 +307,7 @@
};
};
-&pcie1 {
+&pcie2 {
wifi at 0,0 {
compatible = "mediatek,mt76";
reg = <0x0 0 0 0 0>;
More information about the lede-commits
mailing list