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

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
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -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 {