Skip to contentSkip to conversation

arm64: dts: Add poweroff button device node for APM X-Gene platform

PATCH New Y Vo 2 participants 3 messages Jun 26, 2015 – Jul 8, 2015

Subsystems (3)
lore
Share & tools
lore

Y Vo

author
#0 lore raw

PATCH 1/1 arm64: dts: Add poweroff button device node for APM X-Gene platform

This patch adds poweroff button device node to support poweroff feature on APM X-Gene Mustang platform.

V1 change:
- Remove unused property.

Y Vo (1):
arm64: dts: Add poweroff button device node for APM X-Gene platform

 arch/arm64/boot/dts/apm/apm-mustang.dts |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
author
#1 lore raw

PATCH 1/1 arm64: dts: Add poweroff button device node for APM X-Gene platform

This patch adds poweroff button device node to support poweroff feature on APM X-Gene Mustang platform.

---
 arch/arm64/boot/dts/apm/apm-mustang.dts |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
arch/arm64/boot/dts/apm/apm-mustang.dts +10 -0
index 83578e7..4c55833 100644
@@ -23,6 +23,16 @@
 		device_type = "memory";
 		reg = < 0x1 0x00000000 0x0 0x80000000 >; /* Updated by bootloader */
 	};
+
+	gpio-keys {
+		compatible = "gpio-keys";
+		button at 1 {
+			label = "POWER";
+			linux,code = <116>;
+			linux,input-type = <0x1>;
+			interrupts = <0x0 0x2d 0x1>;
+		};
+	};
 };
 
 &pcie0clk {
Signature · 1 line
1.7.1
Applied
#2 lore raw
Quoted 4 lines · Y Vo

This patch adds poweroff button device node to support poweroff feature on APM X-Gene Mustang platform.

Picking this up for v4.2-rc.

Applied to fixes branch,

Kevin