diff options
author | Angus Ainslie (Purism) <angus@akkea.ca> | 2019-05-28 09:11:01 -0700 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2019-06-05 17:05:18 +0800 |
commit | a01194d7565a8b77a4c546ef6038b4dc3d938079 (patch) | |
tree | 9c4c6dc160c931fc3171273bf561d764f3908644 /arch/arm64/boot/dts/freescale/imx8mq.dtsi | |
parent | 57aa1bc7d17e6f50d430306ef30a898caa4f388a (diff) | |
download | linux-a01194d7565a8b77a4c546ef6038b4dc3d938079.tar.bz2 |
arm64: dts: fsl: imx8mq: add the snvs power key node
Add a node for the snvs power key, "disabled" by default.
Signed-off-by: Angus Ainslie (Purism) <angus@akkea.ca>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mq.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mq.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index 45d10d8efd14..85008dc6e663 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -8,6 +8,7 @@ #include <dt-bindings/power/imx8mq-power.h> #include <dt-bindings/reset/imx8mq-reset.h> #include <dt-bindings/gpio/gpio.h> +#include "dt-bindings/input/input.h" #include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/thermal/thermal.h> #include "imx8mq-pinfunc.h" @@ -463,6 +464,15 @@ 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; + status = "disabled"; + }; }; clk: clock-controller@30380000 { |