diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2018-08-29 04:45:38 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-09-03 07:25:24 +0300 |
commit | 9873fde84ae8ce385865134f8610d8ef6e635c59 (patch) | |
tree | 9de85ce4532cb4b566e7ed2fc6afdd5b9722a149 /arch/arm/boot/dts/imx7d-sdb.dts | |
parent | 85b839c8733986c04ccfd1213694d17935917d26 (diff) | |
download | linux-9873fde84ae8ce385865134f8610d8ef6e635c59.tar.xz |
ARM: dts: imx7d-sdb: enable gpio buttons as wakeup source
This patch enables i.MX7D SDB board's below GPIO buttons
as wakeup sources:
S1(FUNC1): KEY_VOLUMEUP
S3(FUNC2): KEY_VOLUMEDOWN
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx7d-sdb.dts')
-rw-r--r-- | arch/arm/boot/dts/imx7d-sdb.dts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts index c9b3c60b0eb2..f1bafdaa7e1a 100644 --- a/arch/arm/boot/dts/imx7d-sdb.dts +++ b/arch/arm/boot/dts/imx7d-sdb.dts @@ -27,12 +27,14 @@ label = "Volume Up"; gpios = <&gpio5 11 GPIO_ACTIVE_LOW>; linux,code = <KEY_VOLUMEUP>; + wakeup-source; }; volume-down { label = "Volume Down"; gpios = <&gpio5 10 GPIO_ACTIVE_LOW>; linux,code = <KEY_VOLUMEDOWN>; + wakeup-source; }; }; |