Skip to content

Commit

Permalink
ramips: zbt-wg2626: Add the reset gpio for PCIe port 1
Browse files Browse the repository at this point in the history
The 2.4GHz interface doesn't come up properly with the log showing:

    mt7621-pci 1e140000.pcie: pcie1 no card, disable it (RST & CLK)

As seen on other MT7621 boards this is caused by a missing reset GPIO.
The MT7621 dtsi set GPIO 19 as PCIe reset GPIO, which on this board
reset the 5GHz interface on port 0. Add GPIO 8 to the PCIe reset GPIO
list to also reset the 2.4GHz interface on port 1.

Signed-off-by: Alban Bedel <albeu@free.fr>
  • Loading branch information
AlbanBedel authored and 981213 committed May 1, 2022
1 parent ab4eafb commit f953a1a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts
Expand Up @@ -88,6 +88,9 @@

&pcie {
status = "okay";

reset-gpios = <&gpio 19 GPIO_ACTIVE_LOW>,
<&gpio 8 GPIO_ACTIVE_LOW>;
};

&pcie0 {
Expand Down

0 comments on commit f953a1a

Please sign in to comment.