From: Christian Marangi Date: Tue, 14 Jul 2026 12:44:13 +0000 (+0200) Subject: airoha: configure PCIe 2-lanes mode for eMMC EAGLE RFB board X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4fa33a07247e519b258d45bae80e5d05f7999f3b;p=thirdparty%2Fopenwrt.git airoha: configure PCIe 2-lanes mode for eMMC EAGLE RFB board The EAGLE PCIe WiFi card require PCIe0 to be in 2-lanes mode to correctly work. Add the missing property to enable this mode and restore correctly functionality of the WiFi card. Signed-off-by: Christian Marangi --- diff --git a/target/linux/airoha/dts/an7581-evb-emmc-eagle.dts b/target/linux/airoha/dts/an7581-evb-emmc-eagle.dts index c2e2bb9a47b..4f33bfe8607 100644 --- a/target/linux/airoha/dts/an7581-evb-emmc-eagle.dts +++ b/target/linux/airoha/dts/an7581-evb-emmc-eagle.dts @@ -23,6 +23,27 @@ }; }; +&pcie0 { + reg = <0x0 0x1fc00000 0x0 0x1670>, + <0x0 0x1fc20000 0x0 0x1670>; + reg-names = "pcie-mac", "sec-pcie-mac"; + + resets = <&scuclk EN7581_PCIE0_RST>, + <&scuclk EN7581_PCIE1_RST>, + <&scuclk EN7581_PCIC_PERSTOUT0_RST>, + <&scuclk EN7581_PCIC_PERSTOUT1_RST>; + reset-names = "phy-lane0", "phy-lane1", + "perstout", "sec-perstout"; + + num-lanes = <2>; + + airoha,scu = <&scuclk>; +}; + +&pcie1 { + status = "disabled"; +}; + &pcie2 { pinctrl-names = "default"; pinctrl-0 = <&pcie2_rst_pins>;