소스 검색

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/16807
Signed-off-by: Hauke Mehrtens <[email protected]>
Andreas Böhler 1 년 전
부모
커밋
cbefc64cb3
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 2
      target/linux/ramips/dts/mt7621_sercomm_na502.dts
  2. 2 2
      target/linux/ramips/dts/mt7621_sercomm_na502s.dts

+ 2 - 2
target/linux/ramips/dts/mt7621_sercomm_na502.dts

@@ -193,7 +193,7 @@
 	status = "okay";
 };
 
-&pcie0 {
+&pcie1 {
 	wifi@0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
@@ -203,7 +203,7 @@
 	};
 };
 
-&pcie1 {
+&pcie2 {
 	wifi@0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0 0 0 0 0>;

+ 2 - 2
target/linux/ramips/dts/mt7621_sercomm_na502s.dts

@@ -297,7 +297,7 @@
 	status = "okay";
 };
 
-&pcie0 {
+&pcie1 {
 	wifi@0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
@@ -307,7 +307,7 @@
 	};
 };
 
-&pcie1 {
+&pcie2 {
 	wifi@0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0 0 0 0 0>;