Skip to contentSkip to conversation

ARM: dts: aspeed: zaius: Add gpio-keys with checkstop

PATCH New Xo Wang 1 participant 1 message Jul 13, 2017

Subsystems (2)
lore
Share & tools
lore

Xo Wang

author
#0 lore raw

PATCH 1/1 ARM: dts: aspeed: zaius: Add gpio-keys with checkstop

Report the checkstop GPIO pin going low as keycode 57, per OpenBMC monitoring requirements.

---
 arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts +10 -0
index c6200153a065..353e37ad44ca 100644
@@ -47,6 +47,16 @@
 		gpios = <&gpio ASPEED_GPIO(H, 3) GPIO_ACTIVE_HIGH>;
 	};
 
+	gpio-keys {
+		compatible = "gpio-keys";
+
+		checkstop {
+			label = "checkstop";
+			gpios = <&gpio ASPEED_GPIO(F, 7) GPIO_ACTIVE_LOW>;
+			linux,code = <ASPEED_GPIO(F, 7)>;
+		};
+	};
+
 	leds {
 		compatible = "gpio-leds";
 
Signature · 1 line
2.13.2.932.g7449e964c-goog