[openwrt/openwrt] ramips: zbt-wg2626: Add the reset gpio for PCIe port 1
LEDE Commits
lede-commits at lists.infradead.org
Sat Apr 30 20:24:01 PDT 2022
981213 pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/4c5d2cde130777cbc48765879c3a943eee9fe88e
commit 4c5d2cde130777cbc48765879c3a943eee9fe88e
Author: Alban Bedel <albeu at free.fr>
AuthorDate: Sat Apr 30 10:42:33 2022 +0200
ramips: zbt-wg2626: Add the reset gpio for PCIe port 1
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 at free.fr>
(cherry picked from commit f953a1a4bfba2fa70c12bb80938aa66481a673b6)
---
target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts b/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts
index a1d6af9466..da22dc3797 100644
--- a/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts
+++ b/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts
@@ -88,6 +88,9 @@
&pcie {
status = "okay";
+
+ reset-gpios = <&gpio 19 GPIO_ACTIVE_LOW>,
+ <&gpio 8 GPIO_ACTIVE_LOW>;
};
&pcie0 {
More information about the lede-commits
mailing list