aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
diff options
context:
space:
mode:
authorAngus Ainslie (Purism) <angus@akkea.ca>2020-02-27 14:17:29 +0100
committerShawn Guo <shawnguo@kernel.org>2020-03-11 15:59:09 +0800
commit3ef506b3e62a3128ac0288e13906514d9e68ff6a (patch)
treec00c6e95e0a8b386d8885e65513085494449fb3f /arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
parentarm64: dts: librem5-devkit: add the simcom 7100 modem and audio (diff)
downloadwireguard-linux-3ef506b3e62a3128ac0288e13906514d9e68ff6a.tar.xz
wireguard-linux-3ef506b3e62a3128ac0288e13906514d9e68ff6a.zip
arm64: dts: librem5-devkit: allow modem to wake the system from suspend
Connect the WoWWAN signal to a gpio key to wake up the system from suspend. Signed-off-by: Angus Ainslie (Purism) <angus@akkea.ca> Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts')
-rw-r--r--arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts10
1 files changed, 10 insertions, 0 deletions
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 */
>;
};