ramips: mt7621: enable unused PCIe port to fix potential boot failure
authorShiji Yang <yangshiji66@qq.com>
Tue, 21 Mar 2023 08:50:56 +0000 (16:50 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 26 Mar 2023 21:33:24 +0000 (23:33 +0200)
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>
target/linux/ramips/dts/mt7621_h3c_tx180x.dtsi
target/linux/ramips/dts/mt7621_haier-sim_wr1800k.dtsi
target/linux/ramips/dts/mt7621_netgear_wax202.dts
target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts

index 54d7908e406a2ad58cc35a5851d6cb939a76c990..fe374bfa6b01f0a388fe7d6363856dd56cd31885 100644 (file)
        };
 };
 
-&pcie2 {
-       status = "disabled";
-};
-
 &state_default {
        gpio {
                groups = "jtag";
index a272d1ad755bed9dd9ce3ffd0daa48b2b282a61e..4dd6f3b0ae5533ce3a98a12140fe6bf9dbc3535c 100644 (file)
        };
 };
 
-&pcie2 {
-       status = "disabled";
-};
-
 &state_default {
        gpio {
                groups = "i2c", "uart3", "wdt";
index 02f540d7431ce0d0a1128704349da2e560809726..fbe17ef0d38cbbb05029e3838f1ee2cc48a965a0 100644 (file)
        };
 };
 
-&pcie2 {
-       status = "disabled";
-};
-
 &state_default {
        gpio {
                groups = "uart3", "uart2", "jtag", "wdt";
index 36809d48ff20fd95327a2572834cc081b3fdefd0..58e4bbf75741f0ff99bde6951e104fb62556144d 100644 (file)
        };
 };
 
-&pcie2 {
-       status = "disabled";
-};
-
 &gmac0 {
        nvmem-cells = <&macaddr_info_8>;
        nvmem-cell-names = "mac-address";