[PATCH linux dev-4.10 1/2] ARM: dts: aspeed: romulus: Add checkstop gpio-keys
Joel Stanley
joel at jms.id.au
Thu May 25 17:48:17 AEST 2017
From: Nickolaus Gruendler <ngruend at us.ibm.com>
Signed-off-by: Nickolaus Gruendler <ngruend at us.ibm.com>
Signed-off-by: Joel Stanley <joel at jms.id.au>
---
arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
index ac728695e447..5ca0f6e6a6a4 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
@@ -42,6 +42,16 @@
enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
};
+
+ gpio-keys {
+ compatible = "gpio-keys";
+
+ checkstop {
+ label = "checkstop";
+ gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
+ linux,code = <ASPEED_GPIO(J, 2)>;
+ };
+ };
};
&fmc {
--
2.11.0
More information about the openbmc
mailing list