From: Myeongjae SONG Date: Sun, 2 Aug 2026 07:23:22 +0000 (+0000) Subject: ramips: fix PCIe reset GPIOs for ipTIME A8004T X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F24534%2Fhead;p=thirdparty%2Fopenwrt.git ramips: fix PCIe reset GPIOs for ipTIME A8004T The ipTIME A8004T requires GPIO19 and GPIO8 for PCIe reset control. GPIO8 is assigned to UART3 by default, so configure the pin state to make it available as a GPIO and add both GPIOs to the PCIe reset-gpios property. This fixes PCIe initialization after warm reboot. Signed-off-by: Myeongjae SONG Link: https://github.com/openwrt/openwrt/pull/24534 Signed-off-by: Jonas Jelonek --- diff --git a/target/linux/ramips/dts/mt7621_iptime_a8004t.dts b/target/linux/ramips/dts/mt7621_iptime_a8004t.dts index 7f28d7af3fb..93eab2acd21 100644 --- a/target/linux/ramips/dts/mt7621_iptime_a8004t.dts +++ b/target/linux/ramips/dts/mt7621_iptime_a8004t.dts @@ -168,6 +168,9 @@ &pcie { status = "okay"; + + reset-gpios = <&gpio 19 GPIO_ACTIVE_LOW>, + <&gpio 8 GPIO_ACTIVE_LOW>; }; &pcie0 { @@ -192,7 +195,7 @@ &state_default { gpio { - groups = "wdt", "jtag", "i2c"; + groups = "wdt", "jtag", "i2c", "uart3"; function = "gpio"; }; };