ramips: fix wrong pcie port number for Arcadyan devices
authorMikhail Zhilkin <csharper2005@gmail.com>
Sat, 19 Nov 2022 11:11:26 +0000 (11:11 +0000)
committerStijn Tintel <stijn@linux-ipv6.be>
Fri, 17 Feb 2023 14:30:32 +0000 (16:30 +0200)
Wrong pcie port number for WLAN causes missing 5g WLAN interface with 5.15
kernel. This changes port from pcie0 to pcie1 in dtsi.

[1.166330] mt7621-pci 1e140000.pcie: pcie0 no card, disable it (RST & CLK)
[1.180073] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[1.193889] mt7621-pci 1e140000.pcie: PCIE1 enabled

Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
target/linux/ramips/dts/mt7621_arcadyan_wg4xx223.dtsi

index 8c4be8440d590bbae5c1c365b7321f738eb564e9..b924d71190fbda648003a4a9e73773d316ceeee8 100644 (file)
        status = "okay";
 };
 
-&pcie0 {
+&pcie1 {
        wifi@0,0 {
                compatible = "mediatek,mt76";
                reg = <0x0000 0 0 0 0>;