Skip to content

Commit

Permalink
ARM: dts: imx6sx: enable snvs power key
Browse files Browse the repository at this point in the history
enable snvs ONOFF power key support

Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
  • Loading branch information
Frank Li authored and Shawn Guo committed Jul 15, 2015
1 parent 6f5f9bc commit 93db055
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions arch/arm/boot/dts/imx6sx.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 93db055

Please sign in to comment.