summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx7-colibri-aster.dtsi
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-09-23 17:20:35 +0300
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-10-16 09:18:56 +0000
commitea3a4dce2167aeb034dfb2306f1d98e15b9be9ff (patch)
treed49c0e695857da0d85902bb7827cd56342096f0f /arch/arm/boot/dts/imx7-colibri-aster.dtsi
parentf5ae9e9c296a4add5bd04427afd479ef9e05e12e (diff)
ARM: dts: colibri-imx7: fix 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. Related-to: ELB-2901 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
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 4150bb62c817..3b53ed1a97ae 100644
--- a/arch/arm/boot/dts/imx7-colibri-aster.dtsi
+++ b/arch/arm/boot/dts/imx7-colibri-aster.dtsi
@@ -22,7 +22,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>;
gpio-key,wakeup;