Skip to content

Commit

Permalink
ramips: mt7621: enable unused PCIe port to fix potential boot failure
Browse files Browse the repository at this point in the history
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@qq.com>
  • Loading branch information
DragonBluep authored and hauke committed Mar 26, 2023
1 parent 2126325 commit 88d76bb
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 16 deletions.
4 changes: 0 additions & 4 deletions target/linux/ramips/dts/mt7621_h3c_tx180x.dtsi
Expand Up @@ -138,10 +138,6 @@
};
};

&pcie2 {
status = "disabled";
};

&state_default {
gpio {
groups = "jtag";
Expand Down
4 changes: 0 additions & 4 deletions target/linux/ramips/dts/mt7621_haier-sim_wr1800k.dtsi
Expand Up @@ -152,10 +152,6 @@
};
};

&pcie2 {
status = "disabled";
};

&state_default {
gpio {
groups = "i2c", "uart3", "wdt";
Expand Down
4 changes: 0 additions & 4 deletions target/linux/ramips/dts/mt7621_netgear_wax202.dts
Expand Up @@ -217,10 +217,6 @@
};
};

&pcie2 {
status = "disabled";
};

&state_default {
gpio {
groups = "uart3", "uart2", "jtag", "wdt";
Expand Down
4 changes: 0 additions & 4 deletions target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts
Expand Up @@ -148,10 +148,6 @@
};
};

&pcie2 {
status = "disabled";
};

&gmac0 {
nvmem-cells = <&macaddr_info_8>;
nvmem-cell-names = "mac-address";
Expand Down

0 comments on commit 88d76bb

Please sign in to comment.