[PATCH linux, dev-4.10] ARM: dts: aspeed: zaius: Add gpio-keys with checkstop
Xo Wang
xow at google.com
Fri Jul 14 07:11:26 AEST 2017
Report the checkstop GPIO pin going low as keycode 57, per OpenBMC
monitoring requirements.
Signed-off-by: Xo Wang <xow at google.com>
---
arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
index c6200153a065..353e37ad44ca 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
@@ -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";
--
2.13.2.932.g7449e964c-goog
More information about the openbmc
mailing list