[openwrt/openwrt] ramips: mt7621: enable unused PCIe port to fix potential boot failure

LEDE Commits lede-commits at lists.infradead.org
Sun Mar 26 14:36:40 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/88d76bb455c8fdb525ac2495feda71c14a558296

commit 88d76bb455c8fdb525ac2495feda71c14a558296
Author: Shiji Yang <yangshiji66 at qq.com>
AuthorDate: Tue Mar 21 16:50:56 2023 +0800

    ramips: mt7621: enable unused PCIe port to fix potential boot failure
    
    One user reported that his SIMAX1800T couldn't boot like the others. After
    debugging, I found that this was caused by the disabled PCIe port. I cannot
    reproduce this issue on my SIMAX1800T. But when I disabled pcie2 on the
    ASUS RT-AC57U, I got the same result.
    
    It seems that disabling these unused PCIe ports on some mt7621 revisions
    will cause PCIe to fail to initialize. So we'd better to re-enable them on
    all related mt7621 devices.
    
    Signed-off-by: Shiji Yang <yangshiji66 at qq.com>
---
 target/linux/ramips/dts/mt7621_h3c_tx180x.dtsi           | 4 ----
 target/linux/ramips/dts/mt7621_haier-sim_wr1800k.dtsi    | 4 ----
 target/linux/ramips/dts/mt7621_netgear_wax202.dts        | 4 ----
 target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts | 4 ----
 4 files changed, 16 deletions(-)

diff --git a/target/linux/ramips/dts/mt7621_h3c_tx180x.dtsi b/target/linux/ramips/dts/mt7621_h3c_tx180x.dtsi
index 54d7908e40..fe374bfa6b 100644
--- a/target/linux/ramips/dts/mt7621_h3c_tx180x.dtsi
+++ b/target/linux/ramips/dts/mt7621_h3c_tx180x.dtsi
@@ -138,10 +138,6 @@
 	};
 };
 
-&pcie2 {
-	status = "disabled";
-};
-
 &state_default {
 	gpio {
 		groups = "jtag";
diff --git a/target/linux/ramips/dts/mt7621_haier-sim_wr1800k.dtsi b/target/linux/ramips/dts/mt7621_haier-sim_wr1800k.dtsi
index a272d1ad75..4dd6f3b0ae 100644
--- a/target/linux/ramips/dts/mt7621_haier-sim_wr1800k.dtsi
+++ b/target/linux/ramips/dts/mt7621_haier-sim_wr1800k.dtsi
@@ -152,10 +152,6 @@
 	};
 };
 
-&pcie2 {
-	status = "disabled";
-};
-
 &state_default {
 	gpio {
 		groups = "i2c", "uart3", "wdt";
diff --git a/target/linux/ramips/dts/mt7621_netgear_wax202.dts b/target/linux/ramips/dts/mt7621_netgear_wax202.dts
index 02f540d743..fbe17ef0d3 100644
--- a/target/linux/ramips/dts/mt7621_netgear_wax202.dts
+++ b/target/linux/ramips/dts/mt7621_netgear_wax202.dts
@@ -217,10 +217,6 @@
 	};
 };
 
-&pcie2 {
-	status = "disabled";
-};
-
 &state_default {
 	gpio {
 		groups = "uart3", "uart2", "jtag", "wdt";
diff --git a/target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts b/target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts
index 36809d48ff..58e4bbf757 100644
--- a/target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts
+++ b/target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts
@@ -148,10 +148,6 @@
 	};
 };
 
-&pcie2 {
-	status = "disabled";
-};
-
 &gmac0 {
 	nvmem-cells = <&macaddr_info_8>;
 	nvmem-cell-names = "mac-address";




More information about the lede-commits mailing list