From: Frank Li <[email protected]>

enable snvs ONOFF power key support

Signed-off-by: Frank Li <[email protected]>
---
 arch/arm/boot/dts/imx6sx.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi
index 3cb3b5b..ad38aea 100644
--- a/arch/arm/boot/dts/imx6sx.dtsi
+++ b/arch/arm/boot/dts/imx6sx.dtsi
@@ -677,6 +677,13 @@
                                        mask = <0x60>;
                                        status = "disabled";
                                };
+
+                               snvs_pwrkey: snvs-powerkey {
+                                       compatible = "fsl,sec-v4.0-pwrkey";
+                                       interrupts = <GIC_SPI 4 
IRQ_TYPE_LEVEL_HIGH>;
+                                       linux,keycode = <116>; /* KEY_POWER */
+                                       wakeup;
+                               };
                        };
 
                        epit1: epit@020d0000 {
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to