[PATCH v2 3/3] arm: dts: imx6sx: enable snvs power key

Frank.Li at freescale.com Frank.Li at freescale.com
Wed May 13 07:47:42 PDT 2015


From: Frank Li <Frank.Li at freescale.com>

enable snvs ONOFF power key support

Signed-off-by: Frank Li <Frank.Li at freescale.com>
---
 arch/arm/boot/dts/imx6sx.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi
index 708175d..f531d18 100644
--- a/arch/arm/boot/dts/imx6sx.dtsi
+++ b/arch/arm/boot/dts/imx6sx.dtsi
@@ -680,6 +680,14 @@
 				};
 			};
 
+			snvs-pwrkey at 0x020cc000 {
+				compatible = "fsl,imx6sx-snvs-pwrkey";
+				reg = <0x020cc000 0x4000>;
+				interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
+				linux,keycode = <116>; /* KEY_POWER */
+				linux,wakeup;
+			};
+
 			epit1: epit at 020d0000 {
 				reg = <0x020d0000 0x4000>;
 				interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
-- 
1.9.1




More information about the linux-arm-kernel mailing list