From 8eb204ad81163a8088a079ae96babad2795fa3b5 Mon Sep 17 00:00:00 2001 From: Myeongjae SONG Date: Sun, 2 Aug 2026 07:23:22 +0000 Subject: [PATCH] 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 --- target/linux/ramips/dts/mt7621_iptime_a8004t.dts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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"; }; }; -- 2.47.3