[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200227131733.4228-5-martin.kepplinger@puri.sm>
Date: Thu, 27 Feb 2020 14:17:29 +0100
From: Martin Kepplinger <martin.kepplinger@...i.sm>
To: robh@...nel.org, mark.rutland@....com, shawnguo@...nel.org,
s.hauer@...gutronix.de, kernel@...gutronix.de, festevam@...il.com
Cc: linux-imx@....com, Anson.Huang@....com, devicetree@...r.kernel.org,
kernel@...i.sm, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
"Angus Ainslie (Purism)" <angus@...ea.ca>,
Martin Kepplinger <martin.kepplinger@...i.sm>
Subject: [PATCH v4 4/8] arm64: dts: librem5-devkit: allow modem to wake the system from suspend
From: "Angus Ainslie (Purism)" <angus@...ea.ca>
Connect the WoWWAN signal to a gpio key to wake up the system from suspend.
Signed-off-by: Angus Ainslie (Purism) <angus@...ea.ca>
Signed-off-by: Martin Kepplinger <martin.kepplinger@...i.sm>
---
.../arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
index 84443e4857d5..823d5c60a8fa 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
@@ -55,6 +55,15 @@
wakeup-source;
linux,code = <KEY_HP>;
};
+
+ wwan-wake {
+ label = "WWAN_WAKE";
+ gpios = <&gpio3 8 GPIO_ACTIVE_LOW>;
+ interrupt-parent = <&gpio3>;
+ interrupts = <8 GPIO_ACTIVE_LOW>;
+ wakeup-source;
+ linux,code = <KEY_PHONE>;
+ };
};
leds {
@@ -576,6 +585,7 @@
MX8MQ_IOMUXC_SAI2_RXFS_GPIO4_IO21 0x16
MX8MQ_IOMUXC_SAI2_RXC_GPIO4_IO22 0x16
MX8MQ_IOMUXC_SAI5_RXC_GPIO3_IO20 0x180 /* HP_DET */
+ MX8MQ_IOMUXC_NAND_DATA02_GPIO3_IO8 0x80 /* nWoWWAN */
>;
};
--
2.20.1
Powered by blists - more mailing lists