diff options
author | Frank Li <Frank.Li@freescale.com> | 2015-05-26 19:26:02 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2015-07-15 05:20:31 +0300 |
commit | 93db055d418386174347ca52ea4728c6ae2e00aa (patch) | |
tree | eddaa4d0aeac0a2de992722baf36b0743577f9fb /arch/arm/boot/dts/imx6sx.dtsi | |
parent | 6f5f9bc9a8a84e447bd0e93c071e34cfa9db815a (diff) | |
download | linux-93db055d418386174347ca52ea4728c6ae2e00aa.tar.xz |
ARM: dts: imx6sx: enable snvs power key
enable snvs ONOFF power key support
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6sx.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6sx.dtsi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index 708175d59b9c..f0602c5c3ac6 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi @@ -8,6 +8,7 @@ #include <dt-bindings/clock/imx6sx-clock.h> #include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/input/input.h> #include <dt-bindings/interrupt-controller/arm-gic.h> #include "imx6sx-pinfunc.h" #include "skeleton.dtsi" @@ -678,6 +679,14 @@ reg = <0x38 0x4>; status = "disabled"; }; + + snvs_pwrkey: snvs-powerkey { + compatible = "fsl,sec-v4.0-pwrkey"; + regmap = <&snvs>; + interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; + linux,keycode = <KEY_POWER>; + wakeup; + }; }; epit1: epit@020d0000 { |