[PATCH] arm64: dts: imx8mp-toradex-smarc: Add PCIe WAKE# GPIO
From: Vitor Soares
Date: Tue Dec 01 2026 - 03:38:57 EST
From: Vitor Soares <vitor.soares@xxxxxxxxxxx>
Add the wake-gpios property to the pcie0_port0 Root Port node,
describing the SMARC PCIE_WAKE# signal (S146) routed to GPIO4_IO00.
The pin is already muxed in pinctrl_pcie.
This allows the PCI core to use WAKE# as a wake-up source, so a PCIe
device can wake the system from suspend.
Signed-off-by: Vitor Soares <vitor.soares@xxxxxxxxxxx>
---
arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi
index f3d21d788b85..46e2c164b56f 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi
@@ -664,6 +664,10 @@ &pcie {
reset-gpios = <&gpio4 19 GPIO_ACTIVE_LOW>;
};
+&pcie0_port0 {
+ wake-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>;
+};
+
&pcie_phy {
clocks = <&hsio_blk_ctrl>;
clock-names = "ref";
--
2.53.0