mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: imx8mp-toradex-smarc: Add PCIe WAKE# GPIO
@ 2026-12-01  8:38 Vitor Soares
  0 siblings, 0 replies; only message in thread
From: Vitor Soares @ 2026-12-01  8:38 UTC (permalink / raw)
  To: Francesco Dolcini, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Frank Li, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam
  Cc: Vitor Soares, linux-bsp, devicetree, imx, linux-arm-kernel, linux-kernel

From: Vitor Soares <vitor.soares@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@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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-01  8:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-01  8:38 [PATCH] arm64: dts: imx8mp-toradex-smarc: Add PCIe WAKE# GPIO Vitor Soares

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®