summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx7-colibri-aster.dtsi
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2022-05-16 15:47:16 +0200
committerShawn Guo <shawnguo@kernel.org>2022-06-11 11:13:16 +0200
commitfd5d2974652c96935d94301af6eaf6b3585ab330 (patch)
treef5a8bdcaccead4189de6ce39eae53ee7b1619898 /arch/arm/boot/dts/imx7-colibri-aster.dtsi
parentARM: dts: imx7-colibri: improve licensing and compatible strings (diff)
downloadlinux-fd5d2974652c96935d94301af6eaf6b3585ab330.tar.xz
linux-fd5d2974652c96935d94301af6eaf6b3585ab330.zip
ARM: dts: imx7-colibri: improve wake-up with gpio key
The pin GPIO1_IO01 externally pulls down, it is required to sequentially connect this pin (signal WAKE_MICO#) to +3v3 and then disconnect it to trigger a wakeup interrupt. Adding the flag GPIO_PULL_DOWN allows the system to be woken up just connecting the pin GPIO1_IO01 to +3v3. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx7-colibri-aster.dtsi')
-rw-r--r--arch/arm/boot/dts/imx7-colibri-aster.dtsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx7-colibri-aster.dtsi b/arch/arm/boot/dts/imx7-colibri-aster.dtsi
index bfadb3a3124a..9148c54403f3 100644
--- a/arch/arm/boot/dts/imx7-colibri-aster.dtsi
+++ b/arch/arm/boot/dts/imx7-colibri-aster.dtsi
@@ -15,7 +15,7 @@
power {
label = "Wake-Up";
- gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio1 1 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
linux,code = <KEY_WAKEUP>;
debounce-interval = <10>;
wakeup-source;