ramips: Fix WiFi on Sercomm NA502 and NA502s
authorAndreas Böhler <dev@aboehler.at>
Mon, 28 Oct 2024 17:52:02 +0000 (18:52 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 29 Oct 2024 20:25:04 +0000 (21:25 +0100)
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@aboehler.at>
Link: https://github.com/openwrt/openwrt/pull/16807
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/ramips/dts/mt7621_sercomm_na502.dts
target/linux/ramips/dts/mt7621_sercomm_na502s.dts

index 049dd35fa7d238b3e9937c92d96a4b2f68ee6df3..a8a7f5e3893ec695220700b13a3e83b740be0691 100644 (file)
        status = "okay";
 };
 
-&pcie0 {
+&pcie1 {
        wifi@0,0 {
                compatible = "mediatek,mt76";
                reg = <0x0000 0 0 0 0>;
        };
 };
 
-&pcie1 {
+&pcie2 {
        wifi@0,0 {
                compatible = "mediatek,mt76";
                reg = <0x0 0 0 0 0>;
index e794ef8875079058c1372e0baffee8d95d3af557..9d164491488ab1b459bfbe5d04937f803c3f28d6 100644 (file)
        status = "okay";
 };
 
-&pcie0 {
+&pcie1 {
        wifi@0,0 {
                compatible = "mediatek,mt76";
                reg = <0x0000 0 0 0 0>;
        };
 };
 
-&pcie1 {
+&pcie2 {
        wifi@0,0 {
                compatible = "mediatek,mt76";
                reg = <0x0 0 0 0 0>;