[PATCH] arm64: dts: imx8mp-toradex-smarc: Add PCIe WAKE# GPIO

Vitor Soares ivitro at gmail.com
Tue Dec 1 00:38:38 PST 2026


From: Vitor Soares <vitor.soares at toradex.com>

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 at toradex.com>
---
 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




More information about the linux-arm-kernel mailing list