diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-09-23 17:20:35 +0300 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2021-01-28 14:48:10 +0200 |
commit | 1a6aa577365ee0ff4f9517148bbfe3cc7e26b9df (patch) | |
tree | de6a8be37adca5ef50e665bc044c231804aaca02 /arch/arm/boot/dts/imx7-colibri-iris-v2.dtsi | |
parent | 0276a85960aad2d49be2802a1212bc5de95f4075 (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-iris-v2.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx7-colibri-iris-v2.dtsi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx7-colibri-iris-v2.dtsi b/arch/arm/boot/dts/imx7-colibri-iris-v2.dtsi index ef13a3c87883..0abbe70f78b4 100644 --- a/arch/arm/boot/dts/imx7-colibri-iris-v2.dtsi +++ b/arch/arm/boot/dts/imx7-colibri-iris-v2.dtsi @@ -18,7 +18,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; |