MLK-16765-7 ARM64: dts: freescale: fsl-imx8qm: enable PWRON key in dts
authorRobin Gong <yibin.gong@nxp.com>
Mon, 13 Nov 2017 07:48:16 +0000 (15:48 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:46:59 +0000 (15:46 -0500)
Enable PWRON key in dts.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
arch/arm64/boot/dts/freescale/fsl-imx8qm.dtsi

index 496a41f..b83c871 100644 (file)
@@ -17,6 +17,7 @@
 #include "fsl-imx8-ca53.dtsi"
 #include "fsl-imx8-ca72.dtsi"
 #include <dt-bindings/clock/imx8qm-clock.h>
+#include <dt-bindings/input/input.h>
 #include <dt-bindings/soc/imx_rsrc.h>
 #include <dt-bindings/soc/imx8_hsio.h>
 #include <dt-bindings/soc/imx8_pd.h>
                reg = <0 0x31800000 0 0x1ffff>;
        };
 
+       sc_pwrkey: sc-powerkey {
+               compatible = "fsl,imx8-pwrkey";
+               linux,keycode = <KEY_POWER>;
+               wakeup-source;
+       };
+
        wdog: wdog {
                compatible = "fsl,imx8-wdt";
        };