Commit 8900d0d5 authored by Russell King's avatar Russell King Committed by Shawn Guo

arm64: dts: lx2160a-clearfog-itx: add power button support

Add support for the power button.
Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent ad1abc8a
......@@ -8,6 +8,7 @@
/dts-v1/;
#include "fsl-lx2160a-cex7.dtsi"
#include <dt-bindings/input/linux-event-codes.h>
/ {
aliases {
......@@ -18,6 +19,17 @@ aliases {
chosen {
stdout-path = "serial0:115200n8";
};
gpio-keys {
compatible = "gpio-keys";
key {
label = "power";
linux,can-disable;
linux,code = <KEY_POWER>;
gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
};
};
};
&emdio2 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment