From: Frank Li Date: Tue, 26 May 2015 16:26:02 +0000 (+0800) Subject: ARM: dts: imx6sx: enable snvs power key X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=93db055d418386174347ca52ea4728c6ae2e00aa;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git ARM: dts: imx6sx: enable snvs power key enable snvs ONOFF power key support Signed-off-by: Frank Li Signed-off-by: Shawn Guo --- 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 #include +#include #include #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 = ; + linux,keycode = ; + wakeup; + }; }; epit1: epit@020d0000 {