diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-04-21 05:19:23 +0200 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2018-05-25 06:27:22 +0200 |
commit | 2013b14f908230783427a592b3bde0f33dd3534c (patch) | |
tree | 7ac5c82bb5d53dc616c4b5782ed204b4f818fec5 /arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | |
parent | ARM: dts: aspeed: zaius: Add pcie-e2b-present gpio key (diff) | |
download | linux-2013b14f908230783427a592b3bde0f33dd3534c.tar.xz linux-2013b14f908230783427a592b3bde0f33dd3534c.zip |
ARM: dts: aspeed: witherspoon: Enable checkstop and cooling gpio keys
Enable gpio-keys events for the checkstop and water/air cooled
gpios for use by applications on the Witherspoon system.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Acked-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts')
-rw-r--r-- | arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts index 7056231cbee6..8faa5382f2b1 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts @@ -28,6 +28,22 @@ }; }; + gpio-keys { + compatible = "gpio-keys"; + + air-water { + label = "air-water"; + gpios = <&gpio ASPEED_GPIO(B, 5) GPIO_ACTIVE_LOW>; + linux,code = <ASPEED_GPIO(B, 5)>; + }; + + checkstop { + label = "checkstop"; + gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; + linux,code = <ASPEED_GPIO(J, 2)>; + }; + }; + gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; |