ARM: dts: imx6ul: add snvs power key support
authorAnson Huang <b20788@freescale.com>
Thu, 6 Aug 2015 08:16:01 +0000 (16:16 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 11 Aug 2015 15:15:27 +0000 (23:15 +0800)
Add i.MX6UL SNVS power key support.

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6ul.dtsi

index 19fdaebfde5d747ba8a4bbc76f4aff78e9ec9ef9..09edbedfd908ec46db4b39e599f28ad00e8d21ab 100644 (file)
                                        interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
                                                     <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
                                };
+
+                               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-source;
+                               };
                        };
 
                        epit1: epit@020d0000 {