diff options
author | Adrian Alonso <adrian.alonso@nxp.com> | 2016-08-29 17:53:23 -0500 |
---|---|---|
committer | Adrian Alonso <adrian.alonso@nxp.com> | 2016-09-15 15:48:21 -0500 |
commit | dfc86bda946494cc9b7fea45db16d91e032ba00c (patch) | |
tree | 8ccb9948a977a6c9a70dbd5a5a5648e7b3085cb8 /arch/arm/boot/dts/imx6q-pop-arm2.dts | |
parent | 11825c72bd99eff069c0e458487553992ff8a3fe (diff) |
MLK-13184: ARM: dts: imx6q pop arm2 add power key
Add power on gpio key for wake up source from suspend
Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
(Cherry pick from commit faabdff385da908566b22a6b5d0bfd958c9a2884)
Diffstat (limited to 'arch/arm/boot/dts/imx6q-pop-arm2.dts')
-rw-r--r-- | arch/arm/boot/dts/imx6q-pop-arm2.dts | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6q-pop-arm2.dts b/arch/arm/boot/dts/imx6q-pop-arm2.dts index bf18652b7210..6f797cdaf8ae 100644 --- a/arch/arm/boot/dts/imx6q-pop-arm2.dts +++ b/arch/arm/boot/dts/imx6q-pop-arm2.dts @@ -42,6 +42,19 @@ status = "okay"; }; + gpio-keys { + compatible = "gpio-keys"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_keys>; + + power { + label = "Power Button"; + gpios = <&gpio3 30 1>; + linux,code = <116>; + gpio-key,wakeup; + }; + }; + hannstar_cabc { compatible = "hannstar,cabc"; lvds_share { @@ -241,6 +254,12 @@ >; }; + pinctrl_gpio_keys: gpio_keysgrp { + fsl,pins = < + MX6QDL_PAD_EIM_D30__GPIO3_IO30 0x1b0b0 + >; + }; + pinctrl_hdmi_cec: hdmicecgrp { fsl,pins = < MX6QDL_PAD_EIM_A25__HDMI_TX_CEC_LINE 0x108b0 |